AuthenticationService
, ModuleControl
, ModuleSupportable
, PropertySetCallback
public class JNDIAuthenticationService extends AuthenticationServiceBase
It instantiates the JNDI authentication scheme defined by the user/ administrator. Derby supports LDAP JNDI providers.
The user can configure its own JNDI provider by setting the system or database property derby.authentication.provider .
Modifier and Type | Field | Description |
---|---|---|
private java.lang.String |
authenticationProvider |
MODULE
authenticationScheme, AuthenticationTrace, SECMEC_USRSSBPWD
Constructor | Description |
---|---|
JNDIAuthenticationService() |
Modifier and Type | Method | Description |
---|---|---|
void |
boot(boolean create,
java.util.Properties properties) |
Start this module.
|
boolean |
canSupport(java.util.Properties properties) |
Check if we should activate the JNDI authentication service.
|
apply, authenticate, getDatabaseProperties, getDatabaseProperty, getProperty, getServiceModule, getServiceName, getSystemCredentialsDatabaseName, getSystemProperty, getTransaction, hashPasswordSHA1Scheme, hashUsingDefaultAlgorithm, init, map, parsePasswordLifetime, parsePasswordThreshold, requireAuthentication, setAuthenticationService, stop, substitutePassword, validate
public boolean canSupport(java.util.Properties properties)
public void boot(boolean create, java.util.Properties properties) throws StandardException
AuthenticationServiceBase
boot
in interface ModuleControl
boot
in class AuthenticationServiceBase
StandardException
- upon failure to load/boot the expected
authentication service.ModuleControl.boot(boolean, java.util.Properties)
Apache Derby V10.14 Internals - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.