org.wso2.registry.users.def
Class DefaultAuthenticator
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataSource
protected javax.sql.DataSource dataSource
realm
protected DefaultRealm realm
data
protected DefaultStrategy data
DefaultAuthenticator
public DefaultAuthenticator(javax.sql.DataSource dataSource)
DefaultAuthenticator
public DefaultAuthenticator(javax.sql.DataSource dataSource,
DefaultStrategy store)
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)
getData
public DefaultStrategy getData()
setData
public void setData(DefaultStrategy data)
Copyright © 2007 Apache Web Services Project. All Rights Reserved.