public class SpringSecurityAuthenticationSource
extends java.lang.Object
implements org.springframework.ldap.core.AuthenticationSource
SecurityContextHolder
.
This is a copy of Spring LDAP's AcegiAuthenticationSource, updated for use with Spring Security 2.0.
Constructor and Description |
---|
SpringSecurityAuthenticationSource() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCredentials() |
java.lang.String |
getPrincipal()
Get the principals of the logged in user, in this case the distinguished name.
|
public java.lang.String getPrincipal()
getPrincipal
in interface org.springframework.ldap.core.AuthenticationSource
public java.lang.String getCredentials()
getCredentials
in interface org.springframework.ldap.core.AuthenticationSource
AuthenticationSource.getCredentials()