massim.framework.connection
Interface Account

All Known Implementing Classes:
UsernamePasswordAccount

public interface Account

This interface is supposed to be implemented by any class that will be used as account by AbstractLoginManager.


Method Summary
 boolean authenticate(Authentication auth)
          The contract of this method is that it is supposed to check if the Authentication object auth is sufficient to log into the account represented by the implementing class.
 

Method Detail

authenticate

boolean authenticate(Authentication auth)
The contract of this method is that it is supposed to check if the Authentication object auth is sufficient to log into the account represented by the implementing class.

Parameters:
auth - authentification object to be checked.
Returns:
true if and only if auth is ok to log into this account


Copyright © 2011. All Rights Reserved.