Class WSServletResponseCallback
java.lang.Object
com.ibm.wsspi.security.auth.callback.WSServletResponseCallback
- All Implemented Interfaces:
- Callback
 The WSServletResponseCallback allows an HttpServletResponse object to be gathered by
 CallbackHandler and pass it to the LoginModule stack.
 
- Since:
- 1.0
- 
Constructor SummaryConstructorsConstructorDescriptionWSServletResponseCallback(String prompt) Construct aWSServletResponseCallbackobject with a prompt hint.WSServletResponseCallback(String prompt, javax.servlet.http.HttpServletResponse resp) Construct aWSServletResponseCallbackobject with a prompt hint and an HttpServletResponse instance.
- 
Method SummaryModifier and TypeMethodDescriptionjavax.servlet.http.HttpServletResponseReturn the HttpServletResponse.Return the prompt.voidsetHttpServletResponse(javax.servlet.http.HttpServletResponse resp) Set the HttpServletResponse instance.toString()Returns the name of the Callback.
- 
Constructor Details- 
WSServletResponseCallbackConstruct a WSServletResponseCallbackobject with a prompt hint.- Parameters:
- prompt- The prompt hint.
 
- 
WSServletResponseCallbackConstruct a WSServletResponseCallbackobject with a prompt hint and an HttpServletResponse instance.- Parameters:
- prompt- The prompt hint.
- HttpServletResponse- resp
 
 
- 
- 
Method Details- 
setHttpServletResponsepublic void setHttpServletResponse(javax.servlet.http.HttpServletResponse resp) Set the HttpServletResponse instance. - Parameters:
- resp- The HttpServletResponse object.
 
- 
getHttpServletResponsepublic javax.servlet.http.HttpServletResponse getHttpServletResponse()Return the HttpServletResponse. If the HttpServletResponse instance set in Constructor is null, thennullis returned.- Returns:
- The HttpServletResponse, could be null.
 
- 
getPromptReturn the prompt. If the prompt set in Constructor is null, thennullis returned.- Returns:
- The prompt, could be null.
 
- 
toStringReturns the name of the Callback. Typically, it is the name of the class. 
 
-