Class JNDIAuthenticationSchemeBase
java.lang.Object
org.apache.derby.impl.jdbc.authentication.JNDIAuthenticationSchemeBase
- All Implemented Interfaces:
UserAuthenticator
- Direct Known Subclasses:
LDAPAuthenticationSchemeImpl
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:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final JNDIAuthenticationService
protected Properties
protected String
private AccessFactory
-
Constructor Summary
ConstructorsConstructorDescriptionJNDIAuthenticationSchemeBase
(JNDIAuthenticationService as, Properties dbProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected static final SQLException
private void
setInitDirContextEnv
(Properties dbProps) Construct the initial JNDI directory context environment Properties object.protected abstract void
To be OVERRIDEN by subclasses.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.derby.authentication.UserAuthenticator
authenticateUser
-
Field Details
-
authenticationService
-
providerURL
-
store
-
initDirContextEnv
-
-
Constructor Details
-
JNDIAuthenticationSchemeBase
-
-
Method Details
-
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
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
-