public class WSMappingPropertiesCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
The WSMappingPropertiesCallback allows a HashMap object to be gathered by
CallbackHandler and pass it to the LoginModule stack.
CallbackHandler,
com.ibm.wsspi.security.auth.callback.WSiMappingCallbackHandler| Constructor and Description |
|---|
WSMappingPropertiesCallback(java.lang.String prompt)
Construct a
WSMappingPropertiesCallback object with a prompt hint. |
WSMappingPropertiesCallback(java.lang.String prompt,
java.util.Map properties)
Construct a
WSMappingPropertiesCallback object with a prompt hint and
a Map object instance. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPrompt()
Return the prompt.
|
java.util.Map |
getProperties()
Return the properties Map.
|
void |
setProperties(java.util.Map properties)
Set the properties.
|
java.lang.String |
toString()
Returns the name of the Callback.
|
public WSMappingPropertiesCallback(java.lang.String prompt)
Construct a WSMappingPropertiesCallback object with a prompt hint.
prompt - The prompt hint.public WSMappingPropertiesCallback(java.lang.String prompt,
java.util.Map properties)
Construct a WSMappingPropertiesCallback object with a prompt hint and
a Map object instance.
prompt - The prompt hint.Map - propertiespublic void setProperties(java.util.Map properties)
Set the properties.
properties - The properties Map.public java.util.Map getProperties()
Return the properties Map. If the properties object 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