Class JDBC

    • Constructor Detail

      • JDBC

        public JDBC()
        Constructor.
    • Method Detail

      • init

        public void init​(Subject subject,
                         Map sharedState,
                         Map options)
        Initializes parameters.
        Specified by:
        init in class AMLoginModule
        Parameters:
        subject -
        sharedState -
        options -
      • process

        public int process​(Callback[] callbacks,
                           int state)
                    throws AuthLoginException
        Processes the authentication request.
        Specified by:
        process in class AMLoginModule
        Parameters:
        callbacks - Callback[] for this Login state
        state - Order of state. State order starts with 1.
        Returns:
        ISAuthConstants.LOGIN_SUCCEED as succeeded; ISAuthConstants.LOGIN_IGNORE as failed.
        Throws:
        AuthLoginException - upon any failure. login state should be kept on exceptions for status check in auth chaining.
      • getPrincipal

        public Principal getPrincipal()
        Returns principal of the authenticated user.
        Specified by:
        getPrincipal in class AMLoginModule
        Returns:
        Principal of the authenticated user.
      • nullifyUserdVars

        public void nullifyUserdVars()