org.springframework.security.ui
Class AuthenticationDetails

java.lang.Object
  extended by org.springframework.security.ui.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
Author:
Ruud Senden
See Also:
Serialized Form

Constructor Summary
protected AuthenticationDetails()
           
  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

AuthenticationDetails

protected AuthenticationDetails()
Method Detail

doPopulateAdditionalInformation

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

Parameters:
request - that the authentication request was received from

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 address

toString

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