Class JaasLoginContext

  • All Implemented Interfaces:
    LoginContext

    public class JaasLoginContext
    extends javax.security.auth.login.LoginContext
    implements LoginContext
    Bridge class that connects the JAAS LoginContext class with the LoginContext interface used by Oak.
    • Constructor Summary

      Constructors 
      Constructor Description
      JaasLoginContext​(java.lang.String name)  
      JaasLoginContext​(java.lang.String name, javax.security.auth.callback.CallbackHandler handler)  
      JaasLoginContext​(java.lang.String name, javax.security.auth.Subject subject)  
      JaasLoginContext​(java.lang.String name, javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler)  
      JaasLoginContext​(java.lang.String name, javax.security.auth.Subject subject, javax.security.auth.callback.CallbackHandler handler, javax.security.auth.login.Configuration configuration)  
    • Method Summary

      • Methods inherited from class javax.security.auth.login.LoginContext

        getSubject, login, logout
      • Methods inherited from class java.lang.Object

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

      • JaasLoginContext

        public JaasLoginContext​(java.lang.String name)
                         throws javax.security.auth.login.LoginException
        Throws:
        javax.security.auth.login.LoginException
      • JaasLoginContext

        public JaasLoginContext​(java.lang.String name,
                                javax.security.auth.Subject subject)
                         throws javax.security.auth.login.LoginException
        Throws:
        javax.security.auth.login.LoginException
      • JaasLoginContext

        public JaasLoginContext​(java.lang.String name,
                                javax.security.auth.callback.CallbackHandler handler)
                         throws javax.security.auth.login.LoginException
        Throws:
        javax.security.auth.login.LoginException
      • JaasLoginContext

        public JaasLoginContext​(java.lang.String name,
                                javax.security.auth.Subject subject,
                                javax.security.auth.callback.CallbackHandler handler)
                         throws javax.security.auth.login.LoginException
        Throws:
        javax.security.auth.login.LoginException
      • JaasLoginContext

        public JaasLoginContext​(java.lang.String name,
                                javax.security.auth.Subject subject,
                                javax.security.auth.callback.CallbackHandler handler,
                                javax.security.auth.login.Configuration configuration)
                         throws javax.security.auth.login.LoginException
        Throws:
        javax.security.auth.login.LoginException