|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.security.auth.callback.WSServletRequestCallback
public class WSServletRequestCallback
The WSServletRequestCallback
allows an HttpServletRequest object to be gathered by
CallbackHandler
and pass it to the LoginModule
stack. This
is used by PreAuthenLoginModule
and AuthenLoginModule
.
CallbackHandler
,
WSCallbackHandlerImpl
Constructor Summary | |
---|---|
WSServletRequestCallback(java.lang.String prompt)
Construct a WSServletRequestCallback object with a prompt hint. |
|
WSServletRequestCallback(java.lang.String prompt,
javax.servlet.http.HttpServletRequest req)
Construct a WSServletRequestCallback object with a prompt hint and
an HttpServletRequest instance. |
Method Summary | |
---|---|
javax.servlet.http.HttpServletRequest |
getHttpServletRequest()
Return the HttpServletRequest. |
java.lang.String |
getPrompt()
Return the prompt. |
void |
setHttpServletRequest(javax.servlet.http.HttpServletRequest req)
Set the HttpServletRequest instance. |
java.lang.String |
toString()
Returns the name of the Callback. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public WSServletRequestCallback(java.lang.String prompt)
Construct a WSServletRequestCallback
object with a prompt hint.
prompt
- The prompt hint.public WSServletRequestCallback(java.lang.String prompt, javax.servlet.http.HttpServletRequest req)
Construct a WSServletRequestCallback
object with a prompt hint and
an HttpServletRequest instance.
prompt
- The prompt hint.HttpServletRequest
- reqMethod Detail |
---|
public void setHttpServletRequest(javax.servlet.http.HttpServletRequest req)
Set the HttpServletRequest instance.
req
- The HttpServletRequest object.public javax.servlet.http.HttpServletRequest getHttpServletRequest()
Return the HttpServletRequest. If the HttpServletRequest instance set in
Constructor is null
, then null
is returned.
null
.public java.lang.String getPrompt()
Return the prompt. If the prompt set in Constructor
is null
, then null
is returned.
null
.public java.lang.String toString()
Returns the name of the Callback. Typically, it is the name of the class.
toString
in class java.lang.Object
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |