Class AppLoginModule.AppCallbackHandler

  • All Implemented Interfaces:
    javax.security.auth.callback.CallbackHandler
    Enclosing class:
    AppLoginModule

    @NotThreadSafe
    public static final class AppLoginModule.AppCallbackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler
    A callback handler for AppLoginModule.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void handle​(javax.security.auth.callback.Callback[] callbacks)  
      • Methods inherited from class java.lang.Object

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

      • AppCallbackHandler

        public AppCallbackHandler​(java.lang.String username)
        Creates a new instance of AppLoginModule.AppCallbackHandler.
        Parameters:
        username - the username
    • 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