| java.lang.Object org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase org.apache.derby.impl.jdbc.authentication.BasicAuthenticationServiceImpl
BasicAuthenticationServiceImpl | final public class BasicAuthenticationServiceImpl extends AuthenticationServiceBase implements UserAuthenticator(Code) | | This authentication service is the basic Cloudscape User authentication
level support.
It is activated upon setting derby.authentication.provider database
or system property to 'BUILTIN'.
It instantiates & calls the basic User authentication scheme at runtime.
In 2.0, users can now be defined as database properties.
If derby.database.propertiesOnly is set to true, then in this
case, only users defined as database properties for the current database
will be considered.
author: Francois |
authenticateUser | public boolean authenticateUser(String userName, String userPassword, String databaseName, Properties info)(Code) | | Authenticate the passed-in user's credentials.
Parameters: userName - The user's name used to connect to JBMS system Parameters: userPassword - The user's password used to connect to JBMS system Parameters: databaseName - The database which the user wants to connect to. Parameters: info - Additional jdbc connection info. |
canSupport | public boolean canSupport(Properties properties)(Code) | | Check if we should activate this authentication service.
|
Methods inherited from org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase | public Serviceable apply(String key, Serializable value, Dictionary p)(Code)(Java Doc) public boolean authenticate(String databaseName, Properties userInfo) throws java.sql.SQLException(Code)(Java Doc) public void boot(boolean create, Properties properties) throws StandardException(Code)(Java Doc) protected String encryptPassword(String plainTxtUserPassword)(Code)(Java Doc) public String getDatabaseProperty(String key)(Code)(Java Doc) public String getProperty(String key)(Code)(Java Doc) public String getSystemProperty(String key)(Code)(Java Doc) public void init(boolean dbOnly, Dictionary p)(Code)(Java Doc) public Serializable map(String key, Serializable value, Dictionary p) throws StandardException(Code)(Java Doc) final protected boolean requireAuthentication(Properties properties)(Code)(Java Doc) protected void setAuthenticationService(UserAuthenticator aScheme)(Code)(Java Doc) public void stop()(Code)(Java Doc) protected String substitutePassword(String userName, String password, Properties info, boolean databaseUser)(Code)(Java Doc) public boolean validate(String key, Serializable value, Dictionary p)(Code)(Java Doc)
|
|
|