Package org.opensaml.xmlsec.config
Class DecryptionParserPoolInitializer
java.lang.Object
org.opensaml.xmlsec.config.DecryptionParserPoolInitializer
- All Implemented Interfaces:
Initializer
An initializer for the global parser pool for XML decryption use, wrapped by
DecryptionParserPool.
*
The ParserPool configured by default here is an instance of
BasicParserPool, with the following non-default property values:
- maxPoolSize = 50
- builder feature http://apache.org/xml/features/dom/defer-node-expansion = False
- builder attribute jdk.xml.elementAttributeLimit = 30
- builder attribute jdk.xml.maxElementDepth = 25
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringConfig property prefix for XML processing.static final StringConfig property name: XML element attribute limit.static final StringConfig property name: XML max element depth.static final StringConfig property default: XML element attribute limit: 30.static final StringConfig property default: XML max element depth: 25. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidinit()Perform the initialization process encompassed by the implementation.
-
Field Details
-
CONFIG_PROP_PREFIX_XML
Config property prefix for XML processing.- See Also:
-
CONFIG_PROPERTY_XML_ELEMENT_ATTRIBUTE_LIMIT
Config property name: XML element attribute limit.- See Also:
-
ELEMENT_ATTRIBUTE_LIMIT_DEFAULT
Config property default: XML element attribute limit: 30.- See Also:
-
CONFIG_PROPERTY_XML_MAX_ELEMENT_DEPTH
Config property name: XML max element depth.- See Also:
-
MAX_ELEMENT_DEPTH_DEFAULT
Config property default: XML max element depth: 25.- See Also:
-
-
Constructor Details
-
DecryptionParserPoolInitializer
public DecryptionParserPoolInitializer()
-
-
Method Details
-
init
Perform the initialization process encompassed by the implementation.- Specified by:
initin interfaceInitializer- Throws:
InitializationException- if initialization could not be completed successfully
-