Class WSMappingPropertiesCallback
- java.lang.Object
- 
- com.ibm.wsspi.security.auth.callback.WSMappingPropertiesCallback
 
- 
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
 
 public class WSMappingPropertiesCallback extends java.lang.Object implements javax.security.auth.callback.CallbackThe WSMappingPropertiesCallbackallows a HashMap object to be gathered byCallbackHandlerand pass it to theLoginModulestack.- Since:
- WAS V6.0
- See Also:
- CallbackHandler,- com.ibm.wsspi.security.auth.callback.WSiMappingCallbackHandler
 
- 
- 
Constructor SummaryConstructors Constructor Description WSMappingPropertiesCallback(java.lang.String prompt)Construct aWSMappingPropertiesCallbackobject with a prompt hint.WSMappingPropertiesCallback(java.lang.String prompt, java.util.Map properties)Construct aWSMappingPropertiesCallbackobject with a prompt hint and a Map object instance.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetPrompt()Return the prompt.java.util.MapgetProperties()Return the properties Map.voidsetProperties(java.util.Map properties)Set the properties.java.lang.StringtoString()Returns the name of the Callback.
 
- 
- 
- 
Constructor Detail- 
WSMappingPropertiesCallbackpublic WSMappingPropertiesCallback(java.lang.String prompt) Construct a WSMappingPropertiesCallbackobject with a prompt hint.- Parameters:
- prompt- The prompt hint.
 
 - 
WSMappingPropertiesCallbackpublic WSMappingPropertiesCallback(java.lang.String prompt, java.util.Map properties)Construct a WSMappingPropertiesCallbackobject with a prompt hint and a Map object instance.- Parameters:
- prompt- The prompt hint.
- Map- properties
 
 
- 
 - 
Method Detail- 
setPropertiespublic void setProperties(java.util.Map properties) Set the properties. - Parameters:
- properties- The properties Map.
 
 - 
getPropertiespublic java.util.Map getProperties() Return the properties Map. If the properties object set in Constructor is null, thennullis returned.- Returns:
- The properties Map, could be null.
 
 - 
getPromptpublic java.lang.String getPrompt() Return the prompt. If the prompt set in Constructor is null, thennullis returned.- Returns:
- The prompt, could be null.
 
 - 
toStringpublic java.lang.String toString() Returns the name of the Callback. Typically, it is the name of the class. - Overrides:
- toStringin class- java.lang.Object
- Returns:
- The name of the Callback.
 
 
- 
 
-