com.ibm.websphere.wssecurity.callbackhandler
Class PropertyCallback
- java.lang.Object
-
- com.ibm.websphere.wssecurity.callbackhandler.PropertyCallback
-
- All Implemented Interfaces:
- javax.security.auth.callback.Callback
public class PropertyCallback extends java.lang.Object implements javax.security.auth.callback.Callback
This class is a callback for handling the name-value pairs in<Property>
elements in WS-Security configuration XMI files.
-
-
Constructor Summary
Constructors Constructor and Description PropertyCallback(java.util.Map<java.lang.Object,java.lang.Object> properties)
Class constructor.
-
Method Summary
Methods Modifier and Type Method and Description java.util.Map<java.lang.Object,java.lang.Object>
getProperties()
Returns the properties.java.lang.Object
getProperty(java.lang.Object name)
Returns the value in the properties which corresponds to the specified name.void
setProperties(java.util.Map<java.lang.Object,java.lang.Object> properties)
Sets properties.
-
-
-
Constructor Detail
-
PropertyCallback
public PropertyCallback(java.util.Map<java.lang.Object,java.lang.Object> properties)
Class constructor.- Parameters:
properties
- aMap
object which contains name-value pairs.
-
-
Method Detail
-
setProperties
public void setProperties(java.util.Map<java.lang.Object,java.lang.Object> properties)
Sets properties.- Parameters:
properties
- aMap
object which contains name-value pairs.
-
getProperties
public java.util.Map<java.lang.Object,java.lang.Object> getProperties()
Returns the properties.- Returns:
- properties (a set of name-value pairs).
-
getProperty
public java.lang.Object getProperty(java.lang.Object name)
Returns the value in the properties which corresponds to the specified name.- Parameters:
name
- key for the name-value pairs.- Returns:
- corresponding value in the name-value pairs.
-
-