org.pentaho.platform.plugin.services.security.userrole.ldap
Class LdapUserDetailsService
java.lang.Object
org.pentaho.platform.plugin.services.security.userrole.ldap.LdapUserDetailsService
public class LdapUserDetailsService
- extends Object
A UserDetailsService
implementation that can communicate with
an LDAP repository.
See this
Spring forum thread for some background.
- Author:
- mlowery
LdapUserDetailsService
public LdapUserDetailsService()
setUserDetailsMapper
public void setUserDetailsMapper(LdapUserDetailsMapper userDetailsMapper)
loadUserByUsername
public UserDetails loadUserByUsername(String username)
- Unfortunately, this method copies code from
AbstractLdapAuthenticator
,
LdapAuthenticationProvider
, and LdapTemplate
.
setPopulator
public void setPopulator(LdapAuthoritiesPopulator populator)
setUserSearch
public void setUserSearch(LdapUserSearch userSearch)
afterPropertiesSet
public void afterPropertiesSet()
throws Exception
- Throws:
Exception