org.springframework.security.authentication
Class AuthenticationDetails

java.lang.Object
  extended by org.springframework.security.authentication.AuthenticationDetails
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
PreAuthenticatedGrantedAuthoritiesAuthenticationDetails

public class AuthenticationDetails
extends java.lang.Object
implements java.io.Serializable

A holder of the context as a string.

Since:
2.0
See Also:
Serialized Form

Constructor Summary
AuthenticationDetails(java.lang.Object context)
          Constructor.
 
Method Summary
protected  void doPopulateAdditionalInformation(java.lang.Object context)
          Provided so that subclasses can populate additional information.
 boolean equals(java.lang.Object obj)
           
 java.lang.String getContext()
          Indicates the context.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AuthenticationDetails

public AuthenticationDetails(java.lang.Object context)
Constructor.

Parameters:
context - that the authentication request is initiated from
Method Detail

doPopulateAdditionalInformation

protected void doPopulateAdditionalInformation(java.lang.Object context)
Provided so that subclasses can populate additional information.

Parameters:
context - the existing contextual information

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

getContext

public java.lang.String getContext()
Indicates the context.

Returns:
the context

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object