Class WSMappingPropertiesCallback

java.lang.Object
com.ibm.wsspi.security.auth.callback.WSMappingPropertiesCallback
All Implemented Interfaces:
Callback

public class WSMappingPropertiesCallback extends Object implements 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 Details

    • WSMappingPropertiesCallback

      public WSMappingPropertiesCallback(String prompt)

      Construct a WSMappingPropertiesCallback object with a prompt hint.

      Parameters:
      prompt - The prompt hint.
    • WSMappingPropertiesCallback

      public WSMappingPropertiesCallback(String prompt, Map properties)

      Construct a WSMappingPropertiesCallback object with a prompt hint and a Map object instance.

      Parameters:
      prompt - The prompt hint.
      Map - properties
  • Method Details

    • setProperties

      public void setProperties(Map properties)

      Set the properties.

      Parameters:
      properties - The properties Map.
    • getProperties

      public Map getProperties()

      Return the properties Map. If the properties object set in Constructor is null, then null is returned.

      Returns:
      The properties Map, could be null.
    • getPrompt

      public String getPrompt()

      Return the prompt. If the prompt set in Constructor is null, then null is returned.

      Returns:
      The prompt, could be null.
    • toString

      public String toString()

      Returns the name of the Callback. Typically, it is the name of the class.

      Overrides:
      toString in class Object
      Returns:
      The name of the Callback.