| java.lang.Object | |
| ↳ | org.springframework.security.ldap.authentication.AbstractLdapAuthenticator |
Known Direct Subclasses
|
Base class for the authenticator implementations.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| messages | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create an initialized instance with the ContextSource provided.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Sets the user attributes which will be retrieved from the directory.
| |||||||||||
Sets the pattern which will be used to supply a DN for the user.
| |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Builds list of possible DNs for the user, worked out from the userDnPatterns property.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.beans.factory.InitializingBean
| |||||||||||
From interface
org.springframework.context.MessageSourceAware
| |||||||||||
From interface
org.springframework.security.ldap.authentication.LdapAuthenticator
| |||||||||||
Create an initialized instance with the ContextSource provided.
Sets the user attributes which will be retrieved from the directory.
Sets the pattern which will be used to supply a DN for the user. The pattern should be the name relative to the root DN. The pattern argument {0} will contain the username. An example would be "cn={0},ou=people".
| dnPattern | the array of patterns which will be tried when converting a username to a DN. |
|---|
Builds list of possible DNs for the user, worked out from the userDnPatterns property.
| username | the user's login name |
|---|