Interface LoginContext

  • All Known Implementing Classes:
    JaasLoginContext, PreAuthContext

    public interface LoginContext
    Interface version of the JAAS LoginContext class. It is used to make integration of non-JAAS authentication components easier while still retaining full JAAS support. The JaasLoginContext class acts as a bridge that connects the JAAS LoginContext class with this interface.
    • Method Detail

      • getSubject

        javax.security.auth.Subject getSubject()
        See Also:
        LoginContext.getSubject()
      • login

        void login()
            throws javax.security.auth.login.LoginException
        Throws:
        javax.security.auth.login.LoginException
        See Also:
        LoginContext.login()
      • logout

        void logout()
             throws javax.security.auth.login.LoginException
        Throws:
        javax.security.auth.login.LoginException
        See Also:
        LoginContext.logout()