| org.apache.lenya.ac.impl.UserAuthenticator
UserAuthenticator | public class UserAuthenticator extends AbstractLogEnabled implements Authenticator(Code) | | User authenticator.
version: $Id: UserAuthenticator.java 593543 2007-11-09 14:39:04Z andreas $ |
authenticate | protected boolean authenticate(AccreditableManager accreditableManager, String username, String password, Identity identity) throws AccessControlException(Code) | | Authenticates a user with a given username and password. When the authentication is
successful, the user is added to the identity.
Parameters: accreditableManager - The accreditable manager. Parameters: username - The username. Parameters: password - The password. Parameters: identity - The identity to add the user to. throws: AccessControlException - when something went wrong. true if the user was authenticated, false otherwise. |
|
|