com.ibm.wsspi.wssecurity.auth.callback

Class WSSContextCallback

  • java.lang.Object
    • com.ibm.wsspi.wssecurity.auth.callback.WSSContextCallback
  • All Implemented Interfaces:
    javax.security.auth.callback.Callback


    public class WSSContextCallback
    extends java.lang.Object
    implements javax.security.auth.callback.Callback

    The WSSContextCallback allows a Web services security Context object to be gathered by CallbackHandler and pass it to the LoginModule stack.

    Since:
    1.0
    Version:
    1.0
    See Also:
    CallbackHandler, TokenPropagationCallbackHandler
    • Constructor Summary

      Constructors 
      Constructor and Description
      WSSContextCallback(java.util.Map context)
      Construct a WSSContextCallback object with a Web services security context instance.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      java.util.Map getContext()
      Return the Web services security context.
      void setContext(java.util.Map context)
      Set the Web services security context.
      java.lang.String toString()
      Returns the name of the Callback.
      • Methods inherited from class java.lang.Object

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

      • WSSContextCallback

        public WSSContextCallback(java.util.Map context)

        Construct a WSSContextCallback object with a Web services security context instance.

        Parameters:
        Context - context
    • Method Detail

      • setContext

        public void setContext(java.util.Map context)

        Set the Web services security context.

        Parameters:
        context: - The Web services security context.
      • getContext

        public java.util.Map getContext()

        Return the Web services security context. If the context instance set in constructor is null, then null is returned.

        Returns:
        The Web services security ontext, could be null.
      • toString

        public java.lang.String toString()

        Returns the name of the Callback. Typically, it is the name of the class.

        Overrides:
        toString in class java.lang.Object
        Returns:
        The name of the Callback.
IBM WebSphere Application ServerTM
Release 9.0