com.ibm.wsspi.wssecurity.auth.callback

Class BSTokenCallbackHandler

  • java.lang.Object
    • com.ibm.wsspi.wssecurity.auth.callback.BSTokenCallbackHandler
  • All Implemented Interfaces:
    javax.security.auth.callback.CallbackHandler
    Direct Known Subclasses:
    PKCS7CallbackHandler, PkiPathCallbackHandler, X509CallbackHandler


    public abstract class BSTokenCallbackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler
    This is an abstract class of a CallbackHandler for the binary security tokens.
    See Also:
    CallbackHandler
    • Constructor Summary

      Constructors 
      Modifier Constructor and Description
      protected BSTokenCallbackHandler(java.util.Map properties)
      Constructs a BSTokenCallbackHandler using a properties parameter.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      BSTokenCallbackHandler.TokenInformation _handle(javax.security.auth.callback.Callback[] callbacks)
      Gathers configuration data to be used by CallbackHandlers that extend this abstract class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.security.auth.callback.CallbackHandler

        handle
    • Constructor Detail

      • BSTokenCallbackHandler

        protected BSTokenCallbackHandler(java.util.Map properties)
        Constructs a BSTokenCallbackHandler using a properties parameter. The properties parameter should include only stateless information.
        Parameters:
        properties - A set of name-value pairs.
    • Method Detail

      • _handle

        public BSTokenCallbackHandler.TokenInformation _handle(javax.security.auth.callback.Callback[] callbacks)
                                                        throws java.io.IOException,
                                                               javax.security.auth.callback.UnsupportedCallbackException
        Gathers configuration data to be used by CallbackHandlers that extend this abstract class.
        Parameters:
        callbacks - An array of Callback objects provided by the underlying security service which contains the information requested to be retrieved or displayed.
        Throws:
        java.io.IOException - If an input or output error occurs.
        javax.security.auth.callback.UnsupportedCallbackException - If the implementation of this method does not support one or more of the Callbacks specified in the callbacks parameter.
        See Also:
        CallbackHandler.handle(javax.security.auth.callback.Callback[])
IBM WebSphere Application ServerTM
Release 9.0