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

Quick Search    Search Deep

org.acegisecurity.adapters
Interface AuthByAdapter  view AuthByAdapter download AuthByAdapter.java

All Superinterfaces:
org.acegisecurity.Authentication, java.security.Principal, java.io.Serializable
All Known Implementing Classes:
AbstractAdapterAuthenticationToken

public interface AuthByAdapter
extends org.acegisecurity.Authentication

Indicates a specialized, immutable, server-side only org.acegisecurity.Authentication class.

Automatically considered valid by the AuthByAdapterProvider, provided the hash code presented by the implementation objects matches that expected by the AuthByAdapterProvider.

Version:
$Id: AuthByAdapter.java,v 1.4 2005/11/17 00:55:49 benalex Exp $

Method Summary
 int getKeyHash()
          Returns the hash code of the key that was passed to the constructor of the AuthByAdapter implementation.
 
Methods inherited from interface org.acegisecurity.Authentication
getAuthorities, getCredentials, getDetails, getPrincipal, isAuthenticated, setAuthenticated
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 

Method Detail

getKeyHash

public int getKeyHash()
Returns the hash code of the key that was passed to the constructor of the AuthByAdapter implementation. The implementation should convert the value to a hash code at construction time, rather than storing the key itself.