org.wso2.registry.users.def
Class DefaultAuthenticator

java.lang.Object
  extended by org.wso2.registry.users.def.DefaultAuthenticator
All Implemented Interfaces:
org.wso2.authenticator.Authenticator

public class DefaultAuthenticator
extends java.lang.Object
implements org.wso2.authenticator.Authenticator

See Also:
org.wso2.usermanager.Authenticator

Field Summary
protected  javax.sql.DataSource dataSource
           
protected  DefaultRealm realm
           
 
Constructor Summary
DefaultAuthenticator(javax.sql.DataSource dataSource)
           
 
Method Summary
 boolean authenticate(java.lang.String userName, java.lang.Object credentials)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected javax.sql.DataSource dataSource

realm

protected DefaultRealm realm
Constructor Detail

DefaultAuthenticator

public DefaultAuthenticator(javax.sql.DataSource dataSource)
Method Detail

authenticate

public boolean authenticate(java.lang.String userName,
                            java.lang.Object credentials)
                     throws org.wso2.authenticator.AuthenticatorException
Specified by:
authenticate in interface org.wso2.authenticator.Authenticator
Throws:
org.wso2.authenticator.AuthenticatorException
See Also:
org.wso2.usermanager.Authenticator#authenticate(String, Object)


Copyright © 2007 Apache Web Services Project. All Rights Reserved.