org.apache.derby.impl.jdbc.authentication
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
public class JNDIAuthenticationService extends AuthenticationServiceBase
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
-
Fields inherited from class org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
AuthenticationTrace
-
Fields inherited from interface org.apache.derby.iapi.jdbc.AuthenticationService
MODULE
-
-
Constructor Summary
Constructors Constructor and Description JNDIAuthenticationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidboot(boolean create, java.util.Properties properties)Start this module.booleancanSupport(java.util.Properties properties)Check if we should activate the JNDI authentication service.-
Methods inherited from class org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
apply, authenticate, getDatabaseProperty, getProperty, getSystemCredentialsDatabaseName, getSystemProperty, init, map, stop, validate
-
-
-
-
Method Detail
-
canSupport
public boolean canSupport(java.util.Properties properties)
Check if we should activate the JNDI authentication service.- Returns:
- true if this instance can be used, false otherwise.
-
boot
public void boot(boolean create, java.util.Properties properties) throws StandardExceptionDescription copied from class:AuthenticationServiceBaseStart this module. In this case, nothing needs to be done.- Specified by:
bootin interfaceModuleControl- Overrides:
bootin classAuthenticationServiceBase- Throws:
StandardException- upon failure to load/boot the expected authentication service.- See Also:
ModuleControl.boot(boolean, java.util.Properties)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG