|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.security.auth.callback.WSAppContextCallback
public class WSAppContextCallback
The WSAppContextCallback
allows an Context object to be gathered by
CallbackHandler
and pass it to the LoginModule
stack. This
is used by PreAuthenLoginModule
and AuthenLoginModule
.
CallbackHandler
,
WSCallbackHandlerImpl
Constructor Summary | |
---|---|
WSAppContextCallback(java.lang.String prompt)
Construct a WSAppContextCallback object with a prompt hint. |
|
WSAppContextCallback(java.lang.String prompt,
java.util.Map context)
Construct a WSAppContextCallback object with a prompt hint and
an Context instance. |
Method Summary | |
---|---|
java.util.Map |
getContext()
Return the Context. |
java.lang.String |
getPrompt()
Return the prompt. |
void |
setContext(java.util.Map context)
Set the application context. |
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 WSAppContextCallback(java.lang.String prompt)
Construct a WSAppContextCallback
object with a prompt hint.
prompt
- The prompt hint.public WSAppContextCallback(java.lang.String prompt, java.util.Map context)
Construct a WSAppContextCallback
object with a prompt hint and
an Context instance.
prompt
- The prompt hint.Context
- contextMethod Detail |
---|
public void setContext(java.util.Map context)
Set the application context.
context:
- The application context.public java.util.Map getContext()
Return the Context. If the Context 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 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |