Class DefaultCallbackHandler

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

    public class DefaultCallbackHandler
    extends AbstractCallbackHandler
    DefaultCallbackHandler An implementation of the JAAS CallbackHandler. Users can provide their own implementation instead and set the name of its class on the JAASLoginService.
    • Constructor Detail

      • DefaultCallbackHandler

        public DefaultCallbackHandler()
    • Method Detail

      • setRequest

        public void setRequest​(Request request)
      • 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
        Overrides:
        handle in class AbstractCallbackHandler
        Throws:
        java.io.IOException
        javax.security.auth.callback.UnsupportedCallbackException