Class ServletCallbackHandler

  • All Implemented Interfaces:
    javax.security.auth.callback.CallbackHandler

    public class ServletCallbackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler
    Idiot class required by jaspi stupidity
    • Constructor Detail

      • ServletCallbackHandler

        public ServletCallbackHandler​(LoginService loginService)
    • Method Detail

      • handle

        public void handle​(javax.security.auth.callback.Callback[] callbacks)
                    throws java.io.IOException,
                           javax.security.auth.callback.UnsupportedCallbackException
        Specified by:
        handle in interface javax.security.auth.callback.CallbackHandler
        Throws:
        java.io.IOException
        javax.security.auth.callback.UnsupportedCallbackException
      • getThreadCallerPrincipalCallback

        public javax.security.auth.message.callback.CallerPrincipalCallback getThreadCallerPrincipalCallback()
      • getThreadGroupPrincipalCallback

        public javax.security.auth.message.callback.GroupPrincipalCallback getThreadGroupPrincipalCallback()