Class WSMappingPropertiesCallback
java.lang.Object
com.ibm.wsspi.security.auth.callback.WSMappingPropertiesCallback
- All Implemented Interfaces:
Callback
The WSMappingPropertiesCallback allows a HashMap object to be gathered by
CallbackHandler and pass it to the LoginModule stack.
- Since:
- WAS V6.0
- See Also:
-
CallbackHandlercom.ibm.wsspi.security.auth.callback.WSiMappingCallbackHandler
-
Constructor Summary
ConstructorsConstructorDescriptionWSMappingPropertiesCallback(String prompt) Construct aWSMappingPropertiesCallbackobject with a prompt hint.WSMappingPropertiesCallback(String prompt, Map properties) Construct aWSMappingPropertiesCallbackobject with a prompt hint and a Map object instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the prompt.Return the properties Map.voidsetProperties(Map properties) Set the properties.toString()Returns the name of the Callback.
-
Constructor Details
-
WSMappingPropertiesCallback
Construct a
WSMappingPropertiesCallbackobject with a prompt hint.- Parameters:
prompt- The prompt hint.
-
WSMappingPropertiesCallback
Construct a
WSMappingPropertiesCallbackobject with a prompt hint and a Map object instance.- Parameters:
prompt- The prompt hint.Map- properties
-
-
Method Details
-
setProperties
Set the properties.
- Parameters:
properties- The properties Map.
-
getProperties
Return the properties Map. If the properties object set in Constructor is
null, thennullis returned.- Returns:
- The properties Map, could be
null.
-
getPrompt
Return the prompt. If the prompt set in Constructor is
null, thennullis returned.- Returns:
- The prompt, could be
null.
-
toString
Returns the name of the Callback. Typically, it is the name of the class.
-