Class PreAuthContext

  • All Implemented Interfaces:
    LoginContext

    public final class PreAuthContext
    extends java.lang.Object
    implements LoginContext
    LoginContext for pre-authenticated subjects that don't require further validation nor additional login/logout steps.
    • Constructor Summary

      Constructors 
      Constructor Description
      PreAuthContext​(javax.security.auth.Subject subject)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.security.auth.Subject getSubject()  
      void login()  
      void logout()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PreAuthContext

        public PreAuthContext​(javax.security.auth.Subject subject)
    • Method Detail

      • getSubject

        public javax.security.auth.Subject getSubject()
        Specified by:
        getSubject in interface LoginContext
        See Also:
        LoginContext.getSubject()
      • login

        public void login()
        Specified by:
        login in interface LoginContext
        See Also:
        LoginContext.login()
      • logout

        public void logout()
        Specified by:
        logout in interface LoginContext
        See Also:
        LoginContext.logout()