com.ibm.websphere.wssecurity.callbackhandler

Class UNTConsumeCallbackHandler

  • java.lang.Object
    • com.ibm.websphere.wssecurity.callbackhandler.UNTConsumeCallbackHandler
  • All Implemented Interfaces:
    java.io.Serializable, javax.security.auth.callback.CallbackHandler


    public class UNTConsumeCallbackHandler
    extends java.lang.Object
    implements javax.security.auth.callback.CallbackHandler, java.io.Serializable
    This class is a callback handler for user name token in consumer side. This instance is used to set into WSSConsumingContext object to validate a user name token.
    See Also:
    UsernameToken, UNTConsumeCallback, Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String NLS_MSG_FILE 
      static java.lang.String TR_GROUP 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void handle(javax.security.auth.callback.Callback[] callbacks)
      Sets necessary information to a UNTConsumeCallback object.
      • Methods inherited from class java.lang.Object

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

      • UNTConsumeCallbackHandler

        public UNTConsumeCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
        Class constructor.
        Parameters:
        properties - a map including key-value pairs
      • UNTConsumeCallbackHandler

        public UNTConsumeCallbackHandler()
        Class constructor.
      • UNTConsumeCallbackHandler

        public UNTConsumeCallbackHandler(boolean setNonce,
                                 boolean setCreatedTimestamp)
        Class constructor.
        Parameters:
        setNonce - whether the nonce is required or not
        setCreatedTimestamp - whether the created time stamp is required ot not
    • Method Detail

      • handle

        public void handle(javax.security.auth.callback.Callback[] callbacks)
                    throws java.io.IOException,
                           javax.security.auth.callback.UnsupportedCallbackException
        Sets necessary information to a UNTConsumeCallback object.
        Specified by:
        handle in interface javax.security.auth.callback.CallbackHandler
        Parameters:
        callbacks - 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