Class 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
    • Field Detail

      • providerURL

        protected java.lang.String providerURL
      • initDirContextEnv

        protected java.util.Properties initDirContextEnv
    • Constructor Detail

      • JNDIAuthenticationSchemeBase

        public JNDIAuthenticationSchemeBase​(JNDIAuthenticationService as,
                                            java.util.Properties dbProperties)
    • Method Detail

      • 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)