|
|||||||||
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.ExternalTlsDirContextAuthenticationStrategy
public class ExternalTlsDirContextAuthenticationStrategy
DirContextAuthenticationStrategy
for using TLS and external (SASL)
authentication. This implementation requires a client certificate to be
pointed out using system variables, as described here. Refer to AbstractTlsDirContextAuthenticationStrategy
for
other configuration options.
AbstractTlsDirContextAuthenticationStrategy
,
AbstractContextSource
Constructor Summary | |
---|---|
ExternalTlsDirContextAuthenticationStrategy()
|
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 ExternalTlsDirContextAuthenticationStrategy()
Method Detail |
---|
protected void applyAuthentication(javax.naming.ldap.LdapContext ctx, java.lang.String userDn, java.lang.String password) throws javax.naming.NamingException
AbstractTlsDirContextAuthenticationStrategy
LdapContext
. Typically, this will involve adding stuff to the environment.
applyAuthentication
in class AbstractTlsDirContextAuthenticationStrategy
ctx
- 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 |