Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.acegisecurity.providers
Class AbstractAuthenticationToken  view AbstractAuthenticationToken download AbstractAuthenticationToken.java

java.lang.Object
  extended byorg.acegisecurity.providers.AbstractAuthenticationToken
All Implemented Interfaces:
org.acegisecurity.Authentication, java.security.Principal, java.io.Serializable
Direct Known Subclasses:
TestingAuthenticationToken, UsernamePasswordAuthenticationToken

public abstract class AbstractAuthenticationToken
extends java.lang.Object
implements org.acegisecurity.Authentication

Provides a String representation of the Authentication token.

Version:
$Id: AbstractAuthenticationToken.java,v 1.10 2005/11/29 13:10:09 benalex Exp $

Constructor Summary
AbstractAuthenticationToken()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          This method tests another Principal object for equality with this one.
 java.lang.Object getDetails()
          Subclasses should override if they wish to provide additional details about the authentication event.
 java.lang.String getName()
          This method returns a String that names this Principal.
 java.lang.String toString()
          This method returns a String representation of this Principal.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.acegisecurity.Authentication
getAuthorities, getCredentials, getPrincipal, isAuthenticated, setAuthenticated
 
Methods inherited from interface java.security.Principal
hashCode
 

Constructor Detail

AbstractAuthenticationToken

public AbstractAuthenticationToken()
Method Detail

getDetails

public java.lang.Object getDetails()
Subclasses should override if they wish to provide additional details about the authentication event.

Specified by:
getDetails in interface org.acegisecurity.Authentication

getName

public java.lang.String getName()
Description copied from interface: java.security.Principal
This method returns a String that names this Principal.

Specified by:
getName in interface java.security.Principal

equals

public boolean equals(java.lang.Object obj)
Description copied from interface: java.security.Principal
This method tests another Principal object for equality with this one.

Specified by:
equals in interface java.security.Principal

toString

public java.lang.String toString()
Description copied from interface: java.security.Principal
This method returns a String representation of this Principal.

Specified by:
toString in interface java.security.Principal