public class TextMatchAuthenticator extends org.apache.avalon.framework.logger.AbstractLogEnabled implements Authenticator
ROLE
Constructor and Description |
---|
TextMatchAuthenticator() |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticate(User user,
String password)
Authenticate an username with the specified password.
|
public boolean authenticate(User user, String password) throws DataBackendException
authenticate
in interface Authenticator
user
- objectpassword
- the user supplied password.DataBackendException
- if there is a problem accessing the storage.Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.