public class UNTGUIPromptCallbackHandler
extends java.lang.Object
implements javax.security.auth.callback.CallbackHandler, java.io.Serializable
com.ibm.websphere.wssecurity.wssapi.token.UsenameToken
,
UNTGenerateCallbackHandler
,
Serialized FormConstructor and Description |
---|
UNTGUIPromptCallbackHandler()
Class constructor
|
UNTGUIPromptCallbackHandler(java.util.Map properties)
Class constructor
|
public UNTGUIPromptCallbackHandler()
public UNTGUIPromptCallbackHandler(java.util.Map properties)
properties
- map including key-value pairspublic void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackException
NameCallback
,
PasswordCallback
, WSRealmNameCallbackImpl
,
and WSCredTokenCallbackImpl
objects.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 static boolean isTrue(java.lang.String flag)