Spring Security Framework

org.springframework.security.ui
Class AuthenticationDetails

java.lang.Object
  extended by org.springframework.security.ui.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
protected AuthenticationDetails()
           
  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

AuthenticationDetails

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

toString

public String toString()
Overrides:
toString in class Object

Spring Security Framework

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