java.lang.Object
org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase
org.apache.derby.impl.jdbc.authentication.JNDIAuthenticationService
- All Implemented Interfaces:
- org.apache.derby.iapi.jdbc.AuthenticationService, org.apache.derby.iapi.services.monitor.ModuleControl, org.apache.derby.iapi.services.monitor.ModuleSupportable, org.apache.derby.iapi.services.property.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. Cloudscape supports LDAP JNDI providers.
The user can configure its own JNDI provider by setting the
system or database property derby.authentication.provider .
| Methods inherited from class org.apache.derby.impl.jdbc.authentication.AuthenticationServiceBase |
apply, authenticate, encryptPassword, getDatabaseProperty, getProperty, getSystemProperty, init, map, requireAuthentication, setAuthenticationService, stop, toHexByte, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authenticationProvider
private java.lang.String authenticationProvider
JNDIAuthenticationService
public JNDIAuthenticationService()
canSupport
public boolean canSupport(java.util.Properties properties)
- Check if we should activate the JNDI authentication service.
boot
public void boot(boolean create,
java.util.Properties properties)
throws org.apache.derby.iapi.error.StandardException
- Description copied from class:
AuthenticationServiceBase
- Start this module. In this case, nothing needs to be done.
- Specified by:
boot in interface org.apache.derby.iapi.services.monitor.ModuleControl- Overrides:
boot in class AuthenticationServiceBase