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
See Also:
Constructor Summary
| Constructor and Description |
|---|
UNTGUIPromptCallbackHandler()
Class constructor
|
UNTGUIPromptCallbackHandler(java.util.Map properties)
Class constructor
|
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
handle(javax.security.auth.callback.Callback[] callbacks)
Sets necessary information to
NameCallback,
PasswordCallback, WSRealmNameCallbackImpl,
and WSCredTokenCallbackImpl objects.
|
|
isTrue(java.lang.String flag)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 to
NameCallback,
PasswordCallback, WSRealmNameCallbackImpl,
and WSCredTokenCallbackImpl objects.
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[])isTrue
- public static boolean isTrue(java.lang.String flag)