org.acegisecurity.adapters
Interface AuthByAdapter
- All Superinterfaces:
- Authentication, Principal, Serializable
- All Known Implementing Classes:
- AbstractAdapterAuthenticationToken, PrincipalAcegiUserToken
public interface AuthByAdapter
- extends Authentication
Indicates a specialized, immutable, server-side only 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 $
- Author:
- Ben Alex
|
Method Summary |
int |
getKeyHash()
Returns the hash code of the key that was passed to the constructor of
the AuthByAdapter implementation. |
getKeyHash
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.
- Returns:
- the hash code of the key used when the object was created.
Copyright © 2004-2005 Acegi Technology Pty Limited. All Rights Reserved.