public class DefaultLdapUserRoleListService extends Object implements IUserRoleListService, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
DefaultLdapUserRoleListService() |
DefaultLdapUserRoleListService(Comparator<String> usernameComparator,
Comparator<String> roleComparator) |
DefaultLdapUserRoleListService(Comparator<String> usernameComparator,
Comparator<String> roleComparator,
IAuthenticationRoleMapper roleMapper) |
public DefaultLdapUserRoleListService()
public DefaultLdapUserRoleListService(Comparator<String> usernameComparator, Comparator<String> roleComparator)
public DefaultLdapUserRoleListService(Comparator<String> usernameComparator, Comparator<String> roleComparator, IAuthenticationRoleMapper roleMapper)
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public List<String> getAllRoles()
getAllRoles
in interface IUserRoleListService
public List<String> getAllUsers()
getAllUsers
in interface IUserRoleListService
public List<String> getUsersInRole(ITenant tenant, String role)
getUsersInRole
in interface IUserRoleListService
public List<String> getRolesForUser(ITenant tenant, String username)
getRolesForUser
in interface IUserRoleListService
public void setAllUsernamesSearch(LdapSearch allUsernamesSearch)
public void setAllAuthoritiesSearch(LdapSearch allAuthoritiesSearch)
public void setUsernamesInRoleSearch(LdapSearch usernamesInRoleSearch)
public void setUserDetailsService(org.springframework.security.core.userdetails.UserDetailsService userDetailsService)
public void setRoleComparator(Comparator<String> roleComparator)
public void setUsernameComparator(Comparator<String> usernameComparator)
public ITenantedPrincipleNameResolver getUserNameUtils()
public void setUserNameUtils(ITenantedPrincipleNameResolver userNameUtils)
public ITenantedPrincipleNameResolver getRoleNameUtils()
public void setRoleNameUtils(ITenantedPrincipleNameResolver roleNameUtils)
public List<String> getAllRoles(ITenant tenant)
getAllRoles
in interface IUserRoleListService
public List<String> getAllUsers(ITenant tenant)
getAllUsers
in interface IUserRoleListService
public List<String> getSystemRoles()
getSystemRoles
in interface IUserRoleListService
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.