com.ibm.wsspi.wssecurity.auth.callback

Class WSSContextCallback

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.wssecurity.auth.callback.WSSContextCallback
All implemented interfaces:
javax.security.auth.callback.Callback

  1. public class WSSContextCallback
  2. extends java.lang.Object
  3. 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

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

Method Summary

Modifier and Type Method and Description
  1. java.util.Map
getContext()
Return the Web services security context.
  1. void
setContext(java.util.Map context)
Set the Web services security context.
  1. 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

  1. public WSSContextCallback(java.util.Map context)

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

Method Detail

setContext

  1. public void setContext(java.util.Map context)

Set the Web services security context.


getContext

  1. 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

  1. 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.