The IdP has to init() the OpenSAML library or it croaks.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 29 Aug 2006 17:57:41 +0000 (17:57 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 29 Aug 2006 17:57:41 +0000 (17:57 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1999 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/idp/IdPResponder.java

index 9809d41..d4f39a1 100644 (file)
@@ -34,6 +34,7 @@ import javax.xml.parsers.ParserConfigurationException;
 
 import org.apache.log4j.Logger;
 import org.apache.log4j.MDC;
+import org.opensaml.Configuration;
 import org.opensaml.SAMLBinding;
 import org.opensaml.SAMLBindingFactory;
 import org.opensaml.SAMLException;
@@ -83,6 +84,9 @@ public class IdPResponder extends HttpServlet {
        public void init(ServletConfig servletConfig) throws ServletException {
 
                super.init(servletConfig);
+               
+               // Load OpenSAML2
+               Configuration.init();
 
                try {
                        binding = SAMLBindingFactory.getInstance(SAMLBinding.SOAP);