com.ibm.wsspi.wssecurity.auth.callback
Class PropertyCallback

java.lang.Object
  |
  +--com.ibm.wsspi.wssecurity.auth.callback.PropertyCallback
All Implemented Interfaces:
javax.security.auth.callback.Callback

public class PropertyCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback

A callback for handling the name-value pairs in <Property> elements in WS-Security configuration XMI files.


Constructor Summary
PropertyCallback(java.util.Map properties)
          Creates a callback.
 
Method Summary
 java.util.Map getProperties()
          Returns properties.
 java.lang.Object getProperty(java.lang.Object name)
          Returns the value in the properties which corresponds the the specified name.
 void setProperties(java.util.Map properties)
          Sets properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyCallback

public PropertyCallback(java.util.Map properties)
Creates a callback.
Parameters:
properties - A Map object which contains name-value pairs.
Method Detail

setProperties

public void setProperties(java.util.Map properties)
Sets properties.
Parameters:
properties - A Map object which contains name-value pairs.

getProperties

public java.util.Map getProperties()
Returns properties.
Returns:
Properties.

getProperty

public java.lang.Object getProperty(java.lang.Object name)
Returns the value in the properties which corresponds the the specified name.
Parameters:
name - A key for the name-value pairs.
Returns:
A corresponding value in the name-value pairs.