Class JNDIAuthenticationService
java.lang.Object
org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
org.apache.derby.impl.jdbc.authentication.JNDIAuthenticationService
- All Implemented Interfaces:
AuthenticationService
,ModuleControl
,ModuleSupportable
,PropertySetCallback
This is the JNDI Authentication Service base class.
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 .
-
Field Summary
FieldsFields inherited from class org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
authenticationScheme, AuthenticationTrace, SECMEC_USRSSBPWD
Fields inherited from interface org.apache.derby.iapi.jdbc.AuthenticationService
MODULE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boot
(boolean create, Properties properties) Start this module.boolean
canSupport
(Properties properties) Check if we should activate the JNDI authentication service.Methods inherited from class org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
apply, authenticate, getDatabaseProperties, getDatabaseProperty, getProperty, getServiceModule, getServiceName, getSystemCredentialsDatabaseName, getSystemProperty, getTransaction, hashPasswordSHA1Scheme, hashUsingDefaultAlgorithm, init, map, parsePasswordLifetime, parsePasswordThreshold, requireAuthentication, setAuthenticationService, stop, substitutePassword, validate
-
Field Details
-
authenticationProvider
-
-
Constructor Details
-
JNDIAuthenticationService
public JNDIAuthenticationService()
-
-
Method Details
-
canSupport
Check if we should activate the JNDI authentication service.- Returns:
- true if this instance can be used, false otherwise.
-
boot
Description copied from class:AuthenticationServiceBase
Start this module. In this case, nothing needs to be done.- Specified by:
boot
in interfaceModuleControl
- Overrides:
boot
in classAuthenticationServiceBase
- Throws:
StandardException
- upon failure to load/boot the expected authentication service.- See Also:
-