org.apache.derby.impl.jdbc.authentication
Class JNDIAuthenticationSchemeBase
java.lang.Object
org.apache.derby.impl.jdbc.authentication.JNDIAuthenticationSchemeBase
- All Implemented Interfaces:
- UserAuthenticator
- Direct Known Subclasses:
- LDAPAuthenticationSchemeImpl
- public abstract class JNDIAuthenticationSchemeBase
- extends java.lang.Object
- implements UserAuthenticator
This is the base JNDI authentication scheme class.
The generic environment JNDI properties for the selected JNDI
scheme are retrieved here so that the user can set JNDI properties
at the database or system level.
- See Also:
UserAuthenticator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
authenticationService
protected final JNDIAuthenticationService authenticationService
providerURL
protected java.lang.String providerURL
store
private AccessFactory store
initDirContextEnv
protected java.util.Properties initDirContextEnv
JNDIAuthenticationSchemeBase
public JNDIAuthenticationSchemeBase(JNDIAuthenticationService as,
java.util.Properties dbProperties)
setJNDIProviderProperties
protected abstract void setJNDIProviderProperties()
- To be OVERRIDEN by subclasses. This basically tests and sets
default/expected JNDI properties for the JNDI provider scheme.
setInitDirContextEnv
private void setInitDirContextEnv(java.util.Properties dbProps)
- Construct the initial JNDI directory context environment Properties
object. We retrieve JNDI environment properties that the user may
have set at the database level.
getLoginSQLException
protected static final java.sql.SQLException getLoginSQLException(java.lang.Exception e)
Apache Derby V10.0 Engine Documentation - Copyright © 1997,2004 The Apache Software Foundation or its licensors, as applicable.