com.ibm.wsspi.wssecurity.auth.callback

Class PropertyCallback

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

  1. public class PropertyCallback
  2. extends java.lang.Object
  3. 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

Constructor and Description
PropertyCallback(java.util.Map properties)
Creates a Properties callback.

Method Summary

Modifier and Type Method and Description
  1. java.util.Map
getProperties()
Returns the properties.
  1. java.lang.Object
getProperty(java.lang.Object name)
Returns the value in the properties which corresponds to the specified name.
  1. 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

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

Method Detail

setProperties

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

getProperties

  1. public java.util.Map getProperties( )
Returns the properties.
Returns:
The properties (a set of name-value pairs).

getProperty

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