1 16 17 package org.apache.xerces.parsers; 18 19 import org.apache.xerces.impl.Constants; 20 import org.apache.xerces.xni.grammars.XMLGrammarPool; 21 import org.apache.xerces.xni.parser.XMLComponentManager; 22 import org.apache.xerces.util.SecurityManager; 23 import org.apache.xerces.util.SymbolTable; 24 25 45 public class SecurityConfiguration extends XIncludeAwareParserConfiguration 46 { 47 48 52 protected static final String SECURITY_MANAGER_PROPERTY = 53 Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY; 54 55 59 60 public SecurityConfiguration () { 61 this(null, null, null); 62 } 64 69 public SecurityConfiguration (SymbolTable symbolTable) { 70 this(symbolTable, null, null); 71 } 73 84 public SecurityConfiguration (SymbolTable symbolTable, 85 XMLGrammarPool grammarPool) { 86 this(symbolTable, grammarPool, null); 87 } 89 101 public SecurityConfiguration (SymbolTable symbolTable, 102 XMLGrammarPool grammarPool, 103 XMLComponentManager parentSettings) { 104 super(symbolTable, grammarPool, parentSettings); 105 106 setProperty(SECURITY_MANAGER_PROPERTY, new SecurityManager ()); 108 } 110 } 112 | Popular Tags |