com.ibm.websphere.wssecurity.callbackhandler

Class UNTGUIPromptCallbackHandler

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

  1. public class UNTGUIPromptCallbackHandler
  2. extends java.lang.Object
  3. 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

Constructor and Description
UNTGUIPromptCallbackHandler()
Class constructor
UNTGUIPromptCallbackHandler(java.util.Map properties)
Class constructor

Method Summary

Modifier and Type Method and Description
  1. void
handle(javax.security.auth.callback.Callback[] callbacks)
Sets necessary information to NameCallback, PasswordCallback, WSRealmNameCallbackImpl, and WSCredTokenCallbackImpl objects.
  1. static
  2. boolean
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

  1. public UNTGUIPromptCallbackHandler( )
Class constructor

UNTGUIPromptCallbackHandler

  1. public UNTGUIPromptCallbackHandler( java.util.Map 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 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

  1. public static boolean isTrue(java.lang.String flag)