|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pentaho.platform.plugin.services.security.userrole.ldap.DefaultLdapUserRoleListService
public class DefaultLdapUserRoleListService
| Constructor Summary | |
|---|---|
DefaultLdapUserRoleListService(InitialDirContextFactory initialDirContextFactory)
|
|
DefaultLdapUserRoleListService(InitialDirContextFactory initialDirContextFactory,
Comparator<String> usernameComparator,
Comparator<GrantedAuthority> grantedAuthorityComparator)
|
|
| Method Summary | |
|---|---|
void |
afterPropertiesSet()
|
GrantedAuthority[] |
getAllAuthorities()
Returns all authorities known to the provider. |
String[] |
getAllUsernames()
Returns all user names known to the provider. |
GrantedAuthority[] |
getAuthoritiesForUser(String username)
Returns all authorities granted for a specified user. |
String[] |
getUsernamesInRole(GrantedAuthority authority)
Returns all known users in the specified role. |
void |
setAllAuthoritiesSearch(LdapSearch allAuthoritiesSearch)
|
void |
setAllUsernamesSearch(LdapSearch allUsernamesSearch)
|
void |
setGrantedAuthorityComparator(Comparator<GrantedAuthority> grantedAuthorityComparator)
|
void |
setUserDetailsService(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(InitialDirContextFactory initialDirContextFactory)
public DefaultLdapUserRoleListService(InitialDirContextFactory initialDirContextFactory,
Comparator<String> usernameComparator,
Comparator<GrantedAuthority> grantedAuthorityComparator)
| Method Detail |
|---|
public void afterPropertiesSet()
throws Exception
Exceptionpublic GrantedAuthority[] getAllAuthorities()
IUserRoleListServicenull
getAllAuthorities in interface IUserRoleListServicenull)public String[] getAllUsernames()
IUserRoleListServicenull
getAllUsernames in interface IUserRoleListServicenull)public String[] getUsernamesInRole(GrantedAuthority authority)
IUserRoleListServicenull
getUsernamesInRole in interface IUserRoleListServiceauthority - The authority to look users up by. Cannot be null
null)public GrantedAuthority[] getAuthoritiesForUser(String username)
IUserRoleListService
getAuthoritiesForUser in interface IUserRoleListServiceusername - 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(LdapUserDetailsService userDetailsService)
public void setGrantedAuthorityComparator(Comparator<GrantedAuthority> grantedAuthorityComparator)
public void setUsernameComparator(Comparator<String> usernameComparator)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||