Switch parser pool implementation to one with fewer locks - SIDP-374
authorlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 20 May 2010 00:38:17 +0000 (00:38 +0000)
committerlajoie <lajoie@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 20 May 2010 00:38:17 +0000 (00:38 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/branches/REL_2@2929 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

doc/RELEASE-NOTES.txt
src/installer/resources/conf-tmpl/internal.xml

index aa4dda3..2c27518 100644 (file)
@@ -4,6 +4,7 @@ Changes in Release 2.2.0
 [SIDP-384] - Incorrect error message set for expired request in Shibboleth SSO Profile Handler
 [SIDP-382] - Less verbose logging for failed attribute queries due to missing name-id
 [SIDP-379] - Usage of general AuthenticationException in UsernamePasswordLoginHandler
+[SIDP-374] - Switch to use StaticBasicParserPool instead of BasicParserPool
 [SIDP-373] - The SLF4J MDC state is not being properly cleared when request processing is done.
 [SIDP-368] - Provide more acurate login error to servlet when Username/Password login authentication has failed.
 [SIDP-369] - Allow to have cookie Domain set for login context cookie
index da21db0..4053643 100644 (file)
@@ -53,7 +53,8 @@
         <constructor-arg ref="shibboleth.VelocityEngine" />
     </bean>
 
-    <bean id="shibboleth.ParserPool" class="org.opensaml.xml.parse.BasicParserPool" depends-on="shibboleth.LogbackLogging">
+    <bean id="shibboleth.ParserPool" class="org.opensaml.xml.parse.StaticBasicParserPool" 
+          depends-on="shibboleth.LogbackLogging" init-method="initialize">
         <property name="maxPoolSize" value="100" />
         <property name="coalescing" value="true" />
         <property name="ignoreComments" value="true" />