|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.ldap.core.support.AbstractTlsDirContextAuthenticationStrategy
org.springframework.ldap.core.support.DefaultTlsDirContextAuthenticationStrategy
public class DefaultTlsDirContextAuthenticationStrategy
Default implementation of TLS authentication. Applies SIMPLE
authentication on top of the negotiated TLS session. Refer to
AbstractTlsDirContextAuthenticationStrategy for configuration
options.
AbstractTlsDirContextAuthenticationStrategy,
AbstractContextSource| Constructor Summary | |
|---|---|
DefaultTlsDirContextAuthenticationStrategy()
|
|
| Method Summary | |
|---|---|
protected void |
applyAuthentication(javax.naming.ldap.LdapContext ctx,
java.lang.String userDn,
java.lang.String password)
Apply the actual authentication to the specified LdapContext
. |
| Methods inherited from class org.springframework.ldap.core.support.AbstractTlsDirContextAuthenticationStrategy |
|---|
processContextAfterCreation, setHostnameVerifier, setShutdownTlsGracefully, setupEnvironment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTlsDirContextAuthenticationStrategy()
| Method Detail |
|---|
protected void applyAuthentication(javax.naming.ldap.LdapContext ctx,
java.lang.String userDn,
java.lang.String password)
throws javax.naming.NamingException
AbstractTlsDirContextAuthenticationStrategyLdapContext
. Typically, this will involve adding stuff to the environment.
applyAuthentication in class AbstractTlsDirContextAuthenticationStrategyctx - the LdapContext instance.userDn - the user dn of the user to authenticate.password - the password of the user to authenticate.
javax.naming.NamingException - if any error occurs.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||