org.jasig.cas.authentication
Class MutableAuthentication

java.lang.Object
  extended by org.jasig.cas.authentication.AbstractAuthentication
      extended by org.jasig.cas.authentication.MutableAuthentication
All Implemented Interfaces:
java.io.Serializable, Authentication

public final class MutableAuthentication
extends AbstractAuthentication

Mutable implementation of Authentication interface.

Instanciators of the MutableAuthentication class must take care that the map they provide is serializable (i.e. HashMap).

Since:
3.0.3
Version:
$Revision: 43397 $ $Date: 2008-03-19 11:12:43 -0400 (Wed, 19 Mar 2008) $
Author:
Scott Battaglia
See Also:
Serialized Form

Constructor Summary
MutableAuthentication(Principal principal)
           
MutableAuthentication(Principal principal, java.util.Date date)
           
 
Method Summary
 java.util.Date getAuthenticatedDate()
          Method to retrieve the timestamp of when this Authentication object was created.
 
Methods inherited from class org.jasig.cas.authentication.AbstractAuthentication
equals, getAttributes, getPrincipal, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MutableAuthentication

public MutableAuthentication(Principal principal)

MutableAuthentication

public MutableAuthentication(Principal principal,
                             java.util.Date date)
Method Detail

getAuthenticatedDate

public java.util.Date getAuthenticatedDate()
Description copied from interface: Authentication
Method to retrieve the timestamp of when this Authentication object was created.

Returns:
the date/time the authentication occurred.


Copyright © 2004-2010 Java Architectures Special Interest Group. All Rights Reserved.