|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.plugin.services.security.userrole.ldap.DefaultLdapUserRoleListService
public class DefaultLdapUserRoleListService
Constructor Summary | |
---|---|
DefaultLdapUserRoleListService()
|
|
DefaultLdapUserRoleListService(Comparator<String> usernameComparator,
Comparator<org.springframework.security.GrantedAuthority> grantedAuthorityComparator)
|
Method Summary | |
---|---|
void |
afterPropertiesSet()
|
org.springframework.security.GrantedAuthority[] |
getAllAuthorities()
Returns all authorities known to the provider. |
String[] |
getAllUsernames()
Returns all user names known to the provider. |
org.springframework.security.GrantedAuthority[] |
getAuthoritiesForUser(String username)
Returns all authorities granted for a specified user. |
String[] |
getUsernamesInRole(org.springframework.security.GrantedAuthority authority)
Returns all known users in the specified role. |
void |
setAllAuthoritiesSearch(LdapSearch allAuthoritiesSearch)
|
void |
setAllUsernamesSearch(LdapSearch allUsernamesSearch)
|
void |
setGrantedAuthorityComparator(Comparator<org.springframework.security.GrantedAuthority> grantedAuthorityComparator)
|
void |
setUserDetailsService(org.springframework.security.userdetails.ldap.LdapUserDetailsService userDetailsService)
|
void |
setUsernameComparator(Comparator<String> usernameComparator)
|
void |
setUsernamesInRoleSearch(LdapSearch usernamesInRoleSearch)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultLdapUserRoleListService()
public DefaultLdapUserRoleListService(Comparator<String> usernameComparator, Comparator<org.springframework.security.GrantedAuthority> grantedAuthorityComparator)
Method Detail |
---|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public org.springframework.security.GrantedAuthority[] getAllAuthorities()
IUserRoleListService
null
getAllAuthorities
in interface IUserRoleListService
null
)public String[] getAllUsernames()
IUserRoleListService
null
getAllUsernames
in interface IUserRoleListService
null
)public String[] getUsernamesInRole(org.springframework.security.GrantedAuthority authority)
IUserRoleListService
null
getUsernamesInRole
in interface IUserRoleListService
authority
- The authority to look users up by. Cannot be null
null
)public org.springframework.security.GrantedAuthority[] getAuthoritiesForUser(String username)
IUserRoleListService
getAuthoritiesForUser
in interface IUserRoleListService
username
- The name of the user to look up authorities for
null
)public void setAllUsernamesSearch(LdapSearch allUsernamesSearch)
public void setAllAuthoritiesSearch(LdapSearch allAuthoritiesSearch)
public void setUsernamesInRoleSearch(LdapSearch usernamesInRoleSearch)
public void setUserDetailsService(org.springframework.security.userdetails.ldap.LdapUserDetailsService userDetailsService)
public void setGrantedAuthorityComparator(Comparator<org.springframework.security.GrantedAuthority> grantedAuthorityComparator)
public void setUsernameComparator(Comparator<String> usernameComparator)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |