com.ibm.websphere.wssecurity.callbackhandler

Class SAMLGenerateCallbackHandler

  1. java.lang.Object
  2. extended bycom.ibm.websphere.wssecurity.callbackhandler.SAMLGenerateCallbackHandler
All implemented interfaces:
java.io.Serializable, javax.security.auth.callback.CallbackHandler

  1. public class SAMLGenerateCallbackHandler
  2. extends java.lang.Object
  3. implements javax.security.auth.callback.CallbackHandler, java.io.Serializable
This class is a callback handler for SAMLToken in client side.
See Also:
SAMLToken, SAMLGenerateCallback, Serialized Form

Constructor Summary

Constructor and Description
SAMLGenerateCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
Class constructor.

Method Summary

Modifier and Type Method and Description
  1. void
handle(javax.security.auth.callback.Callback[] callbacks)
Sets the necessary information to a SAMLGenerateCallback object.
  1. void
setWSSConsumingContextForTrustClient(WSSConsumingContext concont)
Sets WSSConsumingContext object.
  1. void
setWSSGenerationContextForTrustClient(WSSGenerationContext gencont)
Sets WSSGenerationContext object.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

SAMLGenerateCallbackHandler

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

Method Detail

handle

  1. public void handle(javax.security.auth.callback.Callback[] callbacks)
  2. throws java.io.IOException
  3. javax.security.auth.callback.UnsupportedCallbackException
Sets the necessary information to a SAMLGenerateCallback 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[])

setWSSConsumingContextForTrustClient

  1. public void setWSSConsumingContextForTrustClient( WSSConsumingContext concont)
Sets WSSConsumingContext object.
Parameters:
concont - WSSConsumingContext object

setWSSGenerationContextForTrustClient

  1. public void setWSSGenerationContextForTrustClient( WSSGenerationContext gencont)
Sets WSSGenerationContext object.
Parameters:
gencont - WSSGenerationContext object