org.jboss.reliance.identity
Class DefaultAuthenticator

java.lang.Object
  extended by org.jboss.reliance.identity.DefaultAuthenticator
All Implemented Interfaces:
Authenticator

public class DefaultAuthenticator
extends Object
implements Authenticator

Default / dummy authenticator.

Author:
Ales Justin

Constructor Summary
DefaultAuthenticator()
           
 
Method Summary
 boolean authenticate(String username, String password)
          Check if username/password is ok.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAuthenticator

public DefaultAuthenticator()
Method Detail

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 username
password - the password
Returns:
true if ok, false otherwise


Copyright © 2008 JBoss Inc.. All Rights Reserved.