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 db.authentication.provider .
authenticationScheme, AuthenticationTrace, SECMEC_USRSSBPWD
MODULE
Constructor and Description |
---|
JNDIAuthenticationService() |
Modifier and Type | Method and 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.
|
void |
clearCreate() |
boolean |
isCreate() |
apply, authenticate, createDBOSchemaIfDoesNotExist, createDBOUserIfDoesNotExist, getDatabaseProperty, getProperty, getServiceName, getSystemCredentialsDatabaseName, getSystemProperty, getTransaction, hashPasswordSHA1Scheme, 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)
public boolean isCreate()
public void clearCreate()