public final class XMLSecurityPropertyManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
XMLSecurityPropertyManager.Property
Limits managed by the security manager
|
static class |
XMLSecurityPropertyManager.State
States of the settings of a property, in the order: default value, value
set by FEATURE_SECURE_PROCESSING, jaxp.properties file, jaxp system
properties, and jaxp api properties
|
| Constructor and Description |
|---|
XMLSecurityPropertyManager()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getIndex(String propertyName)
Get the index by property name
|
String |
getValue(String propertyName)
Return the value of the specified property
|
String |
getValue(XMLSecurityPropertyManager.Property property)
Return the value of the specified property
|
String |
getValueByIndex(int index)
Return the value of a property by its ordinal
|
void |
setValue(int index,
XMLSecurityPropertyManager.State state,
String value)
Set the value of a property by its index
|
boolean |
setValue(String propertyName,
XMLSecurityPropertyManager.State state,
Object value)
Set limit by property name and state
|
void |
setValue(XMLSecurityPropertyManager.Property property,
XMLSecurityPropertyManager.State state,
String value)
Set the value for a specific property.
|
public XMLSecurityPropertyManager()
public boolean setValue(String propertyName, XMLSecurityPropertyManager.State state, Object value)
propertyName - property namestate - the state of the propertyvalue - the value of the propertypublic void setValue(XMLSecurityPropertyManager.Property property, XMLSecurityPropertyManager.State state, String value)
property - the propertystate - the state of the propertyvalue - the value of the propertypublic void setValue(int index,
XMLSecurityPropertyManager.State state,
String value)
index - the index of the propertystate - the state of the propertyvalue - the value of the propertypublic String getValue(String propertyName)
propertyName - the property namepublic String getValue(XMLSecurityPropertyManager.Property property)
property - the propertypublic String getValueByIndex(int index)
index - the index of a propertypublic int getIndex(String propertyName)
propertyName - property nameCopyright © 2018–2021 mhoffrogge. All rights reserved.