Class WSAppContextCallback
java.lang.Object
com.ibm.wsspi.security.auth.callback.WSAppContextCallback
- All Implemented Interfaces:
 Callback
 The WSAppContextCallback allows an Context object to be gathered by
 CallbackHandler and pass it to the LoginModule stack.
 
- Since:
 - 1.0
 
- 
Constructor Summary
ConstructorsConstructorDescriptionWSAppContextCallback(String prompt) Construct aWSAppContextCallbackobject with a prompt hint.WSAppContextCallback(String prompt, Map context) Construct aWSAppContextCallbackobject with a prompt hint and an Context instance. - 
Method Summary
Modifier and TypeMethodDescriptionReturn the Context.Return the prompt.voidsetContext(Map context) Set the application context.toString()Returns the name of the Callback. 
- 
Constructor Details
- 
WSAppContextCallback
Construct a
WSAppContextCallbackobject with a prompt hint.- Parameters:
 prompt- The prompt hint.
 - 
WSAppContextCallback
Construct a
WSAppContextCallbackobject with a prompt hint and an Context instance.- Parameters:
 prompt- The prompt hint.Context- context
 
 - 
 - 
Method Details
- 
setContext
Set the application context.
- Parameters:
 context- : The application context.
 - 
getContext
Return the Context. If the Context instance set in Constructor is
null, thennullis returned.- Returns:
 - The Context, could be 
null. 
 - 
getPrompt
Return the prompt. If the prompt set in Constructor is
null, thennullis returned.- Returns:
 - The prompt, could be 
null. 
 - 
toString
Returns the name of the Callback. Typically, it is the name of the class.
 
 -