Class LoginCallbackHandler

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

    public class LoginCallbackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler
    Default call back handler used to return the login and password to the Login Modules
    Since:
    4.0.4
    Version:
    $Revision: 25903 $ $Date: 2023-09-22 16:26:11 -0300 (Fri, 22 Sep 2023) $
    • Constructor Summary

      Constructors 
      Constructor Description
      LoginCallbackHandler​(java.lang.String login, java.lang.String password)  
      LoginCallbackHandler​(java.lang.String login, java.lang.String password, java.lang.String mfaToken)  
    • 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

      • LoginCallbackHandler

        public LoginCallbackHandler​(java.lang.String login,
                                    java.lang.String password)
      • LoginCallbackHandler

        public LoginCallbackHandler​(java.lang.String login,
                                    java.lang.String password,
                                    java.lang.String mfaToken)
    • 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