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 JNDIAuthenticationServiceprotected Propertiesprotected Stringprivate AccessFactory -
Constructor Summary
ConstructorsConstructorDescriptionJNDIAuthenticationSchemeBase(JNDIAuthenticationService as, Properties dbProperties) -
Method Summary
Modifier and TypeMethodDescriptionprotected static final SQLExceptionprivate voidsetInitDirContextEnv(Properties dbProps) Construct the initial JNDI directory context environment Properties object.protected abstract voidTo be OVERRIDEN by subclasses.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-