public interface SpringSecurityContextSource
extends org.springframework.ldap.core.support.BaseLdapPathContextSource
ContextSource
which allows binding explicitly as a particular user.Modifier and Type | Method and Description |
---|---|
javax.naming.directory.DirContext |
getReadWriteContext(java.lang.String userDn,
java.lang.Object credentials)
Obtains a context using the supplied distinguished name and credentials.
|
javax.naming.directory.DirContext getReadWriteContext(java.lang.String userDn, java.lang.Object credentials)
userDn
- the distinguished name of the user to authenticate ascredentials
- the user's password