org.pentaho.platform.plugin.services.security.userrole.ldap
Class UnionizingLdapAuthoritiesPopulator

java.lang.Object
  extended by 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

Constructor Summary
UnionizingLdapAuthoritiesPopulator()
           
 
Method Summary
 void afterPropertiesSet()
           
 org.springframework.security.GrantedAuthority[] getGrantedAuthorities(org.springframework.ldap.core.DirContextOperations userData, String username)
           
 void setPopulators(Set<org.springframework.security.ldap.LdapAuthoritiesPopulator> populators)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnionizingLdapAuthoritiesPopulator

public UnionizingLdapAuthoritiesPopulator()
Method Detail

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