|
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.WSIdentityCallback
public class WSIdentityCallback
The WSIdentityCallback
allows a caller identity String object to be gathered by
CallbackHandler
and pass it to the LoginModule
stack. This
is used by PreAuthenLoginModule
and AuthenLoginModule
.
CallbackHandler
,
WSCallbackHandlerImpl
Constructor Summary | |
---|---|
WSIdentityCallback(java.lang.String prompt)
Construct a WSIdentityCallback object with a prompt hint. |
|
WSIdentityCallback(java.lang.String prompt,
java.lang.String identity)
Construct a WSIdentityCallback object with a prompt hint and
a String identity instance. |
Method Summary | |
---|---|
java.lang.String |
getClientIdentity()
Return the client identity. |
java.lang.String |
getPrompt()
Return the prompt. |
void |
setClientIdentity(java.lang.String identity)
Set the client identity token. |
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 WSIdentityCallback(java.lang.String prompt)
Construct a WSIdentityCallback
object with a prompt hint.
prompt
- The prompt hint.public WSIdentityCallback(java.lang.String prompt, java.lang.String identity)
Construct a WSIdentityCallback
object with a prompt hint and
a String identity instance.
prompt
- The prompt hint.HttpServletResponse
- respMethod Detail |
---|
public void setClientIdentity(java.lang.String identity)
Set the client identity token.
identity:
- The client identity.public java.lang.String getClientIdentity()
Return the client identity. If the client identity 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 |