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:
-
CallbackHandler
com.ibm.wsspi.security.auth.callback.WSiMappingCallbackHandler
-
Constructor Summary
ConstructorDescriptionWSMappingPropertiesCallback
(String prompt) Construct aWSMappingPropertiesCallback
object with a prompt hint.WSMappingPropertiesCallback
(String prompt, Map properties) Construct aWSMappingPropertiesCallback
object with a prompt hint and a Map object instance. -
Method Summary
Modifier and TypeMethodDescriptionReturn the prompt.Return the properties Map.void
setProperties
(Map properties) Set the properties.toString()
Returns the name of the Callback.
-
Constructor Details
-
WSMappingPropertiesCallback
Construct a
WSMappingPropertiesCallback
object with a prompt hint.- Parameters:
prompt
- The prompt hint.
-
WSMappingPropertiesCallback
Construct a
WSMappingPropertiesCallback
object 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
, thennull
is returned.- Returns:
- The properties Map, could be
null
.
-
getPrompt
Return the prompt. If the prompt set in Constructor is
null
, thennull
is returned.- Returns:
- The prompt, could be
null
.
-
toString
Returns the name of the Callback. Typically, it is the name of the class.
-