public class

SpringSecurityAuthenticationSource

extends Object
java.lang.Object
   ↳ org.springframework.security.ldap.authentication.SpringSecurityAuthenticationSource

Class Overview

An AuthenticationSource to retrieve authentication information stored in Spring Security's SecurityContextHolder.

This is a copy of Spring LDAP's AcegiAuthenticationSource, updated for use with Spring Security 2.0.

Summary

Public Constructors
SpringSecurityAuthenticationSource()
Public Methods
String getCredentials()
String getPrincipal()
Get the principals of the logged in user, in this case the distinguished name.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public SpringSecurityAuthenticationSource ()

Public Methods

public String getCredentials ()

See Also
  • org.springframework.ldap.core.AuthenticationSource#getCredentials()

public String getPrincipal ()

Get the principals of the logged in user, in this case the distinguished name.

Returns
  • the distinguished name of the logged in user.