java.lang.Object
org.apache.derby.impl.jdbc.authentication.JNDIAuthenticationSchemeBase
- All Implemented Interfaces:
- org.apache.derby.authentication.UserAuthenticator
- Direct Known Subclasses:
- LDAPAuthenticationSchemeImpl
- public abstract class JNDIAuthenticationSchemeBase
- extends java.lang.Object
- implements org.apache.derby.authentication.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.
| 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 org.apache.derby.iapi.store.access.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)