UserAuthenticator, AuthenticationService, ModuleControl, ModuleSupportable, PropertySetCallbackpublic final class NoneAuthenticationServiceImpl extends AuthenticationServiceBase implements UserAuthenticator
It is a quiescient authentication service that will basically satisfy any authentication request, as JBMS system was not instructed to have any particular authentication scheme to be loaded at boot-up time.
MODULEauthenticationScheme, AuthenticationTrace, SECMEC_USRSSBPWD| Constructor | Description |
|---|---|
NoneAuthenticationServiceImpl() |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
authenticateUser(java.lang.String userName,
java.lang.String userPassword,
java.lang.String databaseName,
java.util.Properties info) |
Authenticate the passed-in user's credentials.
|
void |
boot(boolean create,
java.util.Properties properties) |
Start this module.
|
boolean |
canSupport(java.util.Properties properties) |
Check if we should activate this authentication service.
|
apply, authenticate, getDatabaseProperties, getDatabaseProperty, getProperty, getServiceModule, getServiceName, getSystemCredentialsDatabaseName, getSystemProperty, getTransaction, hashPasswordSHA1Scheme, hashUsingDefaultAlgorithm, init, map, parsePasswordLifetime, parsePasswordThreshold, requireAuthentication, setAuthenticationService, stop, substitutePassword, validatepublic boolean canSupport(java.util.Properties properties)
canSupport in interface ModuleSupportablepublic void boot(boolean create,
java.util.Properties properties)
throws StandardException
AuthenticationServiceBaseboot in interface ModuleControlboot in class AuthenticationServiceBaseStandardException - upon failure to load/boot the expected
authentication service.ModuleControl.boot(boolean, java.util.Properties)public boolean authenticateUser(java.lang.String userName,
java.lang.String userPassword,
java.lang.String databaseName,
java.util.Properties info)
authenticateUser in interface UserAuthenticatoruserName - The user's name used to connect to JBMS systemuserPassword - The user's password used to connect to JBMS systemdatabaseName - The database which the user wants to connect to.info - Additional jdbc connection info.Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.