public class PropertyCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
<Property>
elements in WS-Security configuration XMI files.Constructor and Description |
---|
PropertyCallback(java.util.Map properties)
Creates a
Properties callback. |
Modifier and Type | Method and Description |
---|---|
java.util.Map |
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 properties)
Sets properties.
|
public PropertyCallback(java.util.Map properties)
Properties
callback.properties
- A Map
object which contains name-value
pairs.public void setProperties(java.util.Map properties)
properties
- A Map
object which contains name-value
pairs.public java.util.Map getProperties()
public java.lang.Object getProperty(java.lang.Object name)
name
- A key for the name-value pairs.