1 57 58 package com.sun.org.apache.xerces.internal.parsers; 59 60 61 import com.sun.org.apache.xerces.internal.impl.Constants; 62 import com.sun.org.apache.xerces.internal.xni.grammars.XMLGrammarPool; 63 import com.sun.org.apache.xerces.internal.xni.parser.XMLComponentManager; 64 import com.sun.org.apache.xerces.internal.util.SymbolTable; 65 import com.sun.org.apache.xerces.internal.util.SecurityManager; 66 67 88 public class SecurityConfiguration extends XML11Configuration 89 { 90 91 95 protected static final String SECURITY_MANAGER_PROPERTY = 96 Constants.XERCES_PROPERTY_PREFIX + Constants.SECURITY_MANAGER_PROPERTY; 97 98 102 103 public SecurityConfiguration () { 104 this(null, null, null); 105 } 107 112 public SecurityConfiguration (SymbolTable symbolTable) { 113 this(symbolTable, null, null); 114 } 116 127 public SecurityConfiguration (SymbolTable symbolTable, 128 XMLGrammarPool grammarPool) { 129 this(symbolTable, grammarPool, null); 130 } 132 144 public SecurityConfiguration (SymbolTable symbolTable, 145 XMLGrammarPool grammarPool, 146 XMLComponentManager parentSettings) { 147 super(symbolTable, grammarPool, parentSettings); 148 149 setProperty(SECURITY_MANAGER_PROPERTY, new SecurityManager ()); 151 } 153 } 155 | Popular Tags |