| Modifier and Type | Class and Description |
|---|---|
| public static class | XMLSecurityManager.
Represents a mapper for properties of type Boolean. |
| public static class | XMLSecurityManager.
Represents a mapper for properties of type Integer. |
| public static enum | XMLSecurityManager.
Limits managed by the security manager |
| public static enum | XMLSecurityManager.
Supported processors |
| public static class | XMLSecurityManager.
Represents a mapper for properties of type String. |
| public abstract static class | XMLSecurityManager.
Represents a mapper of property values between int and other types, such as Boolean, String, and Object. |
| public abstract class | XMLSecurityManager.
the value type to be mapped with an int value T>Represents a mapper of property values between int and other types, such as Boolean, String, and Object. |
| Modifier and Type | Field and Description |
|---|---|
| private static final XMLSecurityManager. | |
| pack-priv static final Map | |
| private static final XMLSecurityManager. | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| public static final String | |
| pack-priv static final Map | |
| private static final XMLSecurityManager. | |
| public static final String | |
| private final int | indexEntityCountInfo
Index of the special entityCountInfo property |
| private static final XMLSecurityManager. | |
| private boolean[] | isSet
States that determine if properties are set explicitly |
| public static final String | |
| private static final int | |
| private static final CopyOnWriteArrayList | |
| private String | |
| pack-priv boolean | secureProcessing
Flag indicating if secure processing is set |
| pack-priv boolean | secureProcessingSet
Flag indicating the secure processing is set explicitly through factories' setFeature method and then the setSecureProcessing method |
| private JdkProperty. | states
States of the settings for each property |
| private int[] | values
Values of the properties |
| public static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public | XMLSecurityManager(boolean secureProcessing)
Instantiate Security Manager in accordance with the status of secure processing |
| Modifier and Type | Method and Description |
|---|---|
| public XMLSecurityManager | Returns: a copy of the XMLSecurityManagerOverrides java. Returns a copy of the XMLSecurityManager. |
| public XMLSecurityManager | Returns: a copy of the XMLSecurityManagerReturns a copy of the XMLSecurityManager that is updated with the current System Properties. |
| public static XMLSecurityManager | Returns: an instance of the new security manager XMLSecurityManageruser specified security manager value, XMLSecurityManager an instance of XMLSecurityManager securityManager)Convert a value set through setProperty to XMLSecurityManager. |
| public void | |
| public String | |
| public XMLSecurityManager. | Returns: the enum value if found; null otherwiseproperty name propertyName)Returns the enum value by its property name. |
| public int | |
| public CatalogResolver | Returns: the JDKCatalogResolverReturns the JDKCatalogResolver with the current setting of the RESOLVE property. |
| public int | Returns: the value of the propertythe property limitReturn the value of the specified property |
| public String | Returns: the value of the property as a string. If a property is managed by this manager, its value shall not be null.the property name propertyName)Return the value of the specified property |
| public String | Returns: value of a propertythe property limitReturn the value of a property by its ordinal |
| public String | Returns: limit of a property as a stringthe index of a property index)Return the value of a property by its ordinal |
| private boolean | getPropertyConfig(XMLSecurityManager.
the limit property limit,the name of system property sysPropertyName)Reads a property from a configuration file, if any. |
| public JdkProperty. | Returns: the state of the limit propertythe limit limitReturn the state of the limit property |
| public String | Returns: the state of the limit propertythe limit limitReturn the state of the limit property |
| private boolean | getSystemProperty(XMLSecurityManager.
the limit property limit,the name of system property sysPropertyName)Reads a system property, sets value and state if found. |
| public boolean | Returns: true if theLimit is set and the values matchthe limit,Limitthe value value)Checks whether the specified |
| public boolean | Returns: true if theLimit is set and the value is 1the limitLimitChecks whether the specified |
| public boolean | |
| public boolean | Returns: true if the size is over the limit, false otherwisethe type of the limit property limit,the name of the entity entityName, int the size (count or length) of the entity size, XMLLimitAnalyzer limitAnalyzer)Check if the size (length or count) of the specified limit property is over the limit |
| public boolean | Returns: true if the size is over the limit, false otherwisethe index of the limit property index, String the name of the entity entityName, int the size (count or length) of the entity size, XMLLimitAnalyzer limitAnalyzer)Check if the value (length or count) of the specified limit property is over the limit |
| public boolean | Returns: true if the size is over the limit, false otherwisethe type of the limit property limit,Check against cumulated value |
| public boolean | |
| public boolean | |
| public boolean | Returns: the state indicating whether the Secure Processing is set explicitlyReturns the state indicating whether the Secure Processing is set explicitly, via factories' setFeature and then this class' setSecureProcessing method. |
| public boolean | Returns: true if the limit is set, false otherwisethe limit limitIndicate if a property is set explicitly |
| public boolean | |
| public static void | printWarning(String
the name of the parser class parserClassName, String the property name propertyName, SAXException the exception thrown by the parser exception)Prints out warnings if a parser does not support the specified feature/property. |
| public void | |
| public boolean | Returns: true if the property is managed by the security manager; false if otherwise.property name propertyName, JdkProperty.the state of the property state,the value of the property value)Set limit by property name and state |
| public void | setLimit(XMLSecurityManager.
the limit limit,the state of the property state,the value of the property value)Set the value for a specific limit. |
| public void | setLimit(XMLSecurityManager.
the limit limit,the state of the property state,the value of the property value)Sets the value of a property by its enum name |
| public void | setLimit(int
the index of the property index, JdkProperty.the state of the property state,the value of the property value)Set the value of a property by its index |
| public void | |
| private CatalogResolver. |