com.ibm.wsspi.security.auth.callback

Class WSMappingPropertiesCallback

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.security.auth.callback.WSMappingPropertiesCallback
All implemented interfaces:
javax.security.auth.callback.Callback

  1. public class WSMappingPropertiesCallback
  2. extends java.lang.Object
  3. implements javax.security.auth.callback.Callback

The WSMappingPropertiesCallback allows a HashMap object to be gathered by CallbackHandler and pass it to the LoginModule stack.

Since:
WAS V6.0
Version:
1.0
See Also:
CallbackHandler, com.ibm.wsspi.security.auth.callback.WSiMappingCallbackHandler

Constructor Summary

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.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getPrompt()
Return the prompt.
  1. java.util.Map
getProperties()
Return the properties Map.
  1. void
setProperties(java.util.Map properties)
Set the perperties.
  1. java.lang.String
toString()
Returns the name of the Callback.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

WSMappingPropertiesCallback

  1. public WSMappingPropertiesCallback( java.lang.String prompt)

Construct a WSMappingPropertiesCallback object with a prompt hint.

Parameters:
prompt - The prompt hint.

WSMappingPropertiesCallback

  1. public WSMappingPropertiesCallback( java.lang.String prompt,
  2. java.util.Map properties)

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

Parameters:
prompt - The prompt hint.

Method Detail

setProperties

  1. public void setProperties(java.util.Map properties)

Set the perperties.


getProperties

  1. public java.util.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

  1. public java.lang.String getPrompt( )

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

Returns:
The prompt, could be null.

toString

  1. public java.lang.String toString( )

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

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