public class SAMLGenerateCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler, java.io.Serializable
SAMLToken
,
SAMLGenerateCallback
,
Serialized FormConstructor and Description |
---|
SAMLGenerateCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
handle(javax.security.auth.callback.Callback[] callbacks)
Sets the necessary information to a
SAMLGenerateCallback object. |
void |
setWSSConsumingContextForTrustClient(WSSConsumingContext concont)
Sets WSSConsumingContext object.
|
void |
setWSSGenerationContextForTrustClient(WSSGenerationContext gencont)
Sets WSSGenerationContext object.
|
public SAMLGenerateCallbackHandler(java.util.Map<java.lang.Object,java.lang.Object> properties)
properties
- map including key-value pairspublic void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
SAMLGenerateCallback
object.handle
in interface javax.security.auth.callback.CallbackHandler
callbacks
- array of Callback
objects provided by the
underlying security service which contains the information requested
to be retrieved or displayed.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 Callback
s specified in the callbacks parameter.CallbackHandler.handle(javax.security.auth.callback.Callback[])
public void setWSSConsumingContextForTrustClient(WSSConsumingContext concont)
concont
- WSSConsumingContext objectpublic void setWSSGenerationContextForTrustClient(WSSGenerationContext gencont)
gencont
- WSSGenerationContext object