weblogic.apache.xerces.parsers
Class SecurityConfiguration
java.lang.Object
weblogic.apache.xerces.util.ParserConfigurationSettings
weblogic.apache.xerces.parsers.BasicParserConfiguration
weblogic.apache.xerces.parsers.DTDConfiguration
weblogic.apache.xerces.parsers.StandardParserConfiguration
weblogic.apache.xerces.parsers.SecurityConfiguration
- All Implemented Interfaces:
- XMLComponentManager, XMLParserConfiguration, XMLPullParserConfiguration
Deprecated. please use JDK supplied XML parsers and transformers
public class SecurityConfiguration
- extends StandardParserConfiguration
This configuration allows Xerces to behave in a security-conscious manner; that is,
it permits applications to instruct Xerces to limit certain
operations that could be exploited by malicious document authors to cause a denail-of-service
attack when the document is parsed.
In addition to the features and properties recognized by the base
parser configuration, this class recognizes these additional
features and properties:
- Properties
- http://apache.org/xml/properties/security-manager
Fields inherited from class weblogic.apache.xerces.parsers.DTDConfiguration |
ALLOW_JAVA_ENCODINGS, CONTINUE_AFTER_FATAL_ERROR, DATATYPE_VALIDATOR_FACTORY, DOCUMENT_SCANNER, DTD_PROCESSOR, DTD_SCANNER, DTD_VALIDATOR, ENTITY_MANAGER, ERROR_REPORTER, fDatatypeValidatorFactory, fDTDProcessor, fDTDScanner, fDTDValidator, fEntityManager, fErrorReporter, fGrammarPool, fInputSource, fLocator, fNamespaceBinder, fParseInProgress, fScanner, fValidationManager, LOAD_EXTERNAL_DTD, NAMESPACE_BINDER, NOTIFY_BUILTIN_REFS, NOTIFY_CHAR_REFS, VALIDATION_MANAGER, WARN_ON_DUPLICATE_ATTDEF, WARN_ON_DUPLICATE_ENTITYDEF, WARN_ON_UNDECLARED_ELEMDEF, XMLGRAMMAR_POOL |
Fields inherited from class weblogic.apache.xerces.parsers.BasicParserConfiguration |
ENTITY_RESOLVER, ERROR_HANDLER, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, fComponents, fDocumentHandler, fDTDContentModelHandler, fDTDHandler, fLastComponent, fLocale, fSymbolTable, NAMESPACES, SYMBOL_TABLE, VALIDATION, XML_STRING |
Methods inherited from class weblogic.apache.xerces.parsers.DTDConfiguration |
cleanup, createDatatypeValidatorFactory, createDocumentScanner, createDTDProcessor, createDTDScanner, createDTDValidator, createEntityManager, createErrorReporter, createNamespaceBinder, createValidationManager, parse, parse, reset, setInputSource, setLocale |
Methods inherited from class weblogic.apache.xerces.parsers.BasicParserConfiguration |
addComponent, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface weblogic.apache.xerces.xni.parser.XMLParserConfiguration |
addRecognizedFeatures, addRecognizedProperties, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLocale, getProperty, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setProperty |
SECURITY_MANAGER_PROPERTY
protected static final String SECURITY_MANAGER_PROPERTY
- Deprecated.
- See Also:
- Constant Field Values
SecurityConfiguration
public SecurityConfiguration()
- Deprecated.
- Default constructor.
SecurityConfiguration
public SecurityConfiguration(SymbolTable symbolTable)
- Deprecated.
- Constructs a parser configuration using the specified symbol table.
- Parameters:
symbolTable
- The symbol table to use.
SecurityConfiguration
public SecurityConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool)
- Deprecated.
- Constructs a parser configuration using the specified symbol table and
grammar pool.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
- Parameters:
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.
SecurityConfiguration
public SecurityConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool,
XMLComponentManager parentSettings)
- Deprecated.
- Constructs a parser configuration using the specified symbol table,
grammar pool, and parent settings.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
- Parameters:
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.parentSettings
- The parent settings.