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 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:
  • Field Details

  • Constructor Details

  • 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

      private void setInitDirContextEnv(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 SQLException getLoginSQLException(Exception e)