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

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

Constructor Summary
LdapUserDetailsService()
           
 
Method Summary
 void afterPropertiesSet()
           
 UserDetails loadUserByUsername(String username)
          Unfortunately, this method copies code from AbstractLdapAuthenticator, LdapAuthenticationProvider, and LdapTemplate.
 void setPopulator(LdapAuthoritiesPopulator populator)
           
 void setUserDetailsMapper(LdapUserDetailsMapper userDetailsMapper)
           
 void setUserSearch(LdapUserSearch userSearch)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapUserDetailsService

public LdapUserDetailsService()
Method Detail

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