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

java.lang.Object
  extended by org.pentaho.platform.plugin.services.security.userrole.ldap.NoOpLdapAuthoritiesPopulator

public class NoOpLdapAuthoritiesPopulator
extends Object

For use when authorities are stored in the user object (e.g. objectClass=Person) and therefore retrieved by an LdapEntryMapper instance. This class helps since LdapAuthenticationProvider requires a LdapAuthoritiesPopulator instance.

Author:
mlowery

Constructor Summary
NoOpLdapAuthoritiesPopulator()
           
 
Method Summary
 GrantedAuthority[] getGrantedAuthorities(LdapUserDetails userDetails)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpLdapAuthoritiesPopulator

public NoOpLdapAuthoritiesPopulator()
Method Detail

getGrantedAuthorities

public GrantedAuthority[] getGrantedAuthorities(LdapUserDetails userDetails)
                                         throws LdapDataAccessException
Throws:
LdapDataAccessException