org.jboss.reliance.identity
Class DefaultAuthenticator
java.lang.Object
org.jboss.reliance.identity.DefaultAuthenticator
- All Implemented Interfaces:
- Authenticator
public class DefaultAuthenticator
- extends Object
- implements Authenticator
Default / dummy authenticator.
- Author:
- Ales Justin
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAuthenticator
public DefaultAuthenticator()
authenticate
public boolean authenticate(String username,
String password)
- Description copied from interface:
Authenticator
- Check if username/password is ok.
- Specified by:
authenticate in interface Authenticator
- Parameters:
username - the usernamepassword - the password
- Returns:
- true if ok, false otherwise
Copyright © 2008 JBoss Inc.. All Rights Reserved.