org.pentaho.platform.plugin.services.security.userrole.ldap
Class UnionizingLdapAuthoritiesPopulator
java.lang.Object
org.pentaho.platform.plugin.services.security.userrole.ldap.UnionizingLdapAuthoritiesPopulator
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.security.ldap.LdapAuthoritiesPopulator
public class UnionizingLdapAuthoritiesPopulator
- extends Object
- implements org.springframework.security.ldap.LdapAuthoritiesPopulator, org.springframework.beans.factory.InitializingBean
Delegates to populators and unions the results.
- Author:
- mlowery
UnionizingLdapAuthoritiesPopulator
public UnionizingLdapAuthoritiesPopulator()
getGrantedAuthorities
public org.springframework.security.GrantedAuthority[] getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData,
String username)
- Specified by:
getGrantedAuthorities
in interface org.springframework.security.ldap.LdapAuthoritiesPopulator
setPopulators
public void setPopulators(Set<org.springframework.security.ldap.LdapAuthoritiesPopulator> populators)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Specified by:
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
- Throws:
Exception