JavaScript is disabled on your browser.
gnu.inet.util

Class SaslCallbackHandler

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


    public final class SaslCallbackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler
    A callback handler that can manage username and password callbacks.
    • Constructor Summary

      Constructors
      Constructor and Description
      SaslCallbackHandler (java.lang.String username, java.lang.String password)
      Constructor.
    • Method Summary

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

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

      • SaslCallbackHandler

        public SaslCallbackHandler(java.lang.String username,
         java.lang.String password)
        Constructor.
        Parameters:
        username - the value to respond to Name callbacks with
        password - the value to respond to Password callbacks with
    • Method Detail

      • handle

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

AltStyle によって変換されたページ (->オリジナル) /