|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.security.providers.ldap.authenticator.AbstractLdapAuthenticator
org.springframework.security.providers.ldap.authenticator.BindAuthenticator
public class BindAuthenticator
An authenticator which binds as a user.
AbstractLdapAuthenticator| Field Summary |
|---|
| Fields inherited from class org.springframework.security.providers.ldap.authenticator.AbstractLdapAuthenticator |
|---|
messages |
| Constructor Summary | |
|---|---|
BindAuthenticator(SpringSecurityContextSource contextSource)
Create an initialized instance using the SpringSecurityContextSource provided. |
|
| Method Summary | |
|---|---|
org.springframework.ldap.core.DirContextOperations |
authenticate(Authentication authentication)
Authenticates as a user and obtains additional user information from the directory. |
protected void |
handleBindException(java.lang.String userDn,
java.lang.String username,
java.lang.Throwable cause)
Allows subclasses to inspect the exception thrown by an attempt to bind with a particular DN. |
| Methods inherited from class org.springframework.security.providers.ldap.authenticator.AbstractLdapAuthenticator |
|---|
afterPropertiesSet, getContextSource, getUserAttributes, getUserDns, getUserSearch, setMessageSource, setUserAttributes, setUserDnPatterns, setUserSearch |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BindAuthenticator(SpringSecurityContextSource contextSource)
SpringSecurityContextSource provided.
contextSource - the SpringSecurityContextSource instance against which bind operations will be
performed.| Method Detail |
|---|
public org.springframework.ldap.core.DirContextOperations authenticate(Authentication authentication)
LdapAuthenticator
protected void handleBindException(java.lang.String userDn,
java.lang.String username,
java.lang.Throwable cause)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||