com.ibm.websphere.wssecurity.callbackhandler
Class UNTGUIPromptCallbackHandler
- java.lang.Object
-
- com.ibm.websphere.wssecurity.callbackhandler.UNTGUIPromptCallbackHandler
-
- All Implemented Interfaces:
- java.io.Serializable, javax.security.auth.callback.CallbackHandler
public class UNTGUIPromptCallbackHandler extends java.lang.Object implements javax.security.auth.callback.CallbackHandler, java.io.Serializable
This is a callback for user name token with GUI prompt in generator side. This instance is used to set into WSSGenerationContext object to generate a user name token.- See Also:
com.ibm.websphere.wssecurity.wssapi.token.UsenameToken
,UNTGenerateCallbackHandler
, Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description UNTGUIPromptCallbackHandler()
Class constructorUNTGUIPromptCallbackHandler(java.util.Map properties)
Class constructor
-
-
-
Constructor Detail
-
UNTGUIPromptCallbackHandler
public UNTGUIPromptCallbackHandler()
Class constructor
-
UNTGUIPromptCallbackHandler
public UNTGUIPromptCallbackHandler(java.util.Map properties)
Class constructor- Parameters:
properties
- map including key-value pairs
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
Sets necessary information toNameCallback
,PasswordCallback
,WSRealmNameCallbackImpl
, andWSCredTokenCallbackImpl
objects.- Specified by:
handle
in interfacejavax.security.auth.callback.CallbackHandler
- Parameters:
callbacks
- array ofCallback
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 theCallback
s specified in the callbacks parameter.- See Also:
CallbackHandler.handle(javax.security.auth.callback.Callback[])
-
isTrue
public static boolean isTrue(java.lang.String flag)
-
-