|
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.WSTokenHolderCallback
public class WSTokenHolderCallback
The WSTokenHolderCallback
allows a List of TokenHolder objects to
be gathered by CallbackHandler
and pass it to the LoginModule
stack. This is used by AuthenLoginModule
and ltpaLoginModule
.
CallbackHandler
,
WSCallbackHandlerImpl
Constructor Summary | |
---|---|
WSTokenHolderCallback(java.lang.String prompt)
Construct a WSTokenHolderCallback object with a prompt hint. |
|
WSTokenHolderCallback(java.lang.String prompt,
java.util.List list,
boolean requiresLogin)
Construct a WSTokenHolderCallback object with a prompt hint and
a List instance. |
Method Summary | |
---|---|
java.lang.String |
getPrompt()
Return the prompt. |
boolean |
getRequiresLogin()
Returns the requiresLogin boolean. |
java.util.List |
getTokenHolderList()
Return the TokenHolder List. |
void |
setRequiresLogin(boolean requiresLogin)
Sets the requiresLogin field. |
void |
setTokenHolderList(java.util.List list)
Set the TokenHolder array list. |
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 WSTokenHolderCallback(java.lang.String prompt)
Construct a WSTokenHolderCallback
object with a prompt hint.
prompt
- The prompt hint.public WSTokenHolderCallback(java.lang.String prompt, java.util.List list, boolean requiresLogin)
Construct a WSTokenHolderCallback
object with a prompt hint and
a List instance.
prompt
- The prompt hint.List
- listMethod Detail |
---|
public void setTokenHolderList(java.util.List list)
Set the TokenHolder array list.
list:
- The TokenHolder List.public java.util.List getTokenHolderList()
Return the TokenHolder List. If the List instance set in
Constructor is null
, then null
is returned.
null
.public void setRequiresLogin(boolean requiresLogin)
Sets the requiresLogin field. See getRequiresLogin() method for information about this value.
requiresLogin:
- public boolean getRequiresLogin()
Returns the requiresLogin boolean. When true, this provides a hint to the service provider login module that there is insufficient information propagated and a new login will be required. This hint can be used to provide a hashtable of login attributes, if preferred. When false, it's best not to specify a hashtable of login attributes and instead use the propagated information to recreate the Subject. If one wants to override (map) the identity, then this can be ignored and a hashtable may be specified anyway.
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 |