Class ElixirCallBackHandler

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

    public class ElixirCallBackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler
    • Method Summary

      Modifier and Type Method Description
      void handle​(javax.security.auth.callback.Callback[] callbacks)
      Handles the callbacks, and sets the user/password detail.
      • Methods inherited from class java.lang.Object

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

      • ElixirCallBackHandler

        public ElixirCallBackHandler()
      • ElixirCallBackHandler

        public ElixirCallBackHandler​(java.lang.String httpProxyHost,
                                     int httpProxyPort)
    • Method Detail

      • handle

        public void handle​(javax.security.auth.callback.Callback[] callbacks)
                    throws java.io.IOException,
                           javax.security.auth.callback.UnsupportedCallbackException
        Handles the callbacks, and sets the user/password detail.
        Specified by:
        handle in interface javax.security.auth.callback.CallbackHandler
        Parameters:
        callbacks - the callbacks to handle
        Throws:
        java.io.IOException - if an input or output error occurs.
        javax.security.auth.callback.UnsupportedCallbackException