com.anwrt.anycontent.extensions.users
Interface AuthenticableBaseUsers

All Superinterfaces:
Users
All Known Implementing Classes:
AuthenticatingJdbcUsers, AuthenticatingLdapUsers

public interface AuthenticableBaseUsers
extends Users

Abstraction for getting users list and verify the presence of a particular user and authenticating users.


Method Summary
 boolean authenticate(java.lang.String login, java.lang.String password)
          Authenticate a user with a pair of login / password.
 
Methods inherited from interface com.anwrt.anycontent.extensions.users.Users
configure, defaultValuesToSAX, getPrincipal, getUsers, initialize, toSAX
 

Method Detail

authenticate

public boolean authenticate(java.lang.String login,
                            java.lang.String password)
Authenticate a user with a pair of login / password.

Parameters:
login - Login of the user.
password - Password to test in plain text.
Returns:
true if the user is authenticated, false otherwise.


Copyright © 2006 Anyware Technologies. All Rights Reserved.