public class LdapAuthenticationProvider
extends java.lang.Object
implements org.springframework.security.authentication.AuthenticationProvider
LdapAuthenticatorImpl, does require an LDAP username
and password for initial binding.| Constructor and Description |
|---|
LdapAuthenticationProvider(org.springframework.security.ldap.authentication.BindAuthenticator authenticator,
SecurityService securityService,
UserService userService)
Constructor - Takes a UserService
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
authenticate(org.springframework.security.core.Authentication auth) |
org.springframework.security.ldap.authentication.LdapAuthenticator |
getAuthenticator()
Get the authenticator
|
void |
setAuthenticator(org.springframework.security.ldap.authentication.LdapAuthenticator authenticator)
Set the authenticator to be used
|
boolean |
supports(java.lang.Class<?> clazz) |
public LdapAuthenticationProvider(org.springframework.security.ldap.authentication.BindAuthenticator authenticator,
SecurityService securityService,
UserService userService)
userService - public org.springframework.security.ldap.authentication.LdapAuthenticator getAuthenticator()
public void setAuthenticator(org.springframework.security.ldap.authentication.LdapAuthenticator authenticator)
authenticator - public boolean supports(java.lang.Class<?> clazz)
supports in interface org.springframework.security.authentication.AuthenticationProviderpublic org.springframework.security.core.Authentication authenticate(org.springframework.security.core.Authentication auth)
authenticate in interface org.springframework.security.authentication.AuthenticationProviderCopyright © 2007-2019 Ikasan. All Rights Reserved.