org.pentaho.platform.plugin.services.security.userrole.ldap
Class NoOpLdapAuthoritiesPopulator
java.lang.Object
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
NoOpLdapAuthoritiesPopulator
public NoOpLdapAuthoritiesPopulator()
getGrantedAuthorities
public GrantedAuthority[] getGrantedAuthorities(LdapUserDetails userDetails)
throws LdapDataAccessException
- Throws:
LdapDataAccessException