org.springframework.security.authentication
Class AuthenticationDetails

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

public class AuthenticationDetails
extends Object
implements Serializable

A holder of the context as a string.

Since:
2.0
Author:
Ruud Senden
See Also:
Serialized Form

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

Constructor Detail

AuthenticationDetails

public AuthenticationDetails(Object context)
Constructor.

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

doPopulateAdditionalInformation

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

Parameters:
request - that the authentication request was received from

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getContext

public String getContext()
Indicates the context.

Returns:
the context

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2009 SpringSource, Inc. All Rights Reserved.