Add xerces security manager to pool parsers - fixed SIDP-74
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 12 Dec 2007 06:26:02 +0000 (06:26 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 12 Dec 2007 06:26:02 +0000 (06:26 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@2493 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

resources/conf/internal.xml

index c5ffeeb..64f65da 100644 (file)
         <property name="ignoreComments" value="true" />
         <property name="ignoreElementContentWhitespace" value="true" />
         <property name="namespaceAware" value="true" />
+        <property name="builderAttributes">
+            <util:map>
+                <entry>
+                    <key>
+                        <value>http://apache.org/xml/properties/security-manager</value>
+                    </key>
+                    <bean id="shibboleth.XercesSecurityManager" class="org.apache.xerces.util.SecurityManager" />
+                </entry>
+            </util:map>
+        </property>
     </bean>
 
     <bean id="shibboleth.StorageService" class="org.opensaml.util.storage.MapBasedStorageService" depends-on="shibboleth.LogbackLogging" />