This is an automated email from the ASF dual-hosted git repository.

billblough pushed a commit to branch 1_5_x
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-rampart.git

commit 87298a8216c0a9c9df73fedbc97bfaa5a5fb4160
Author: Andreas Veithen <veit...@apache.org>
AuthorDate: Sat Oct 29 09:46:26 2011 +0000

    Merged r1194848 to the 1.5 branch.
---
 modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java 
b/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java
index 72f2316..80b410e 100644
--- a/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java
+++ b/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java
@@ -26,11 +26,18 @@ import org.apache.neethi.Policy;
 import org.apache.rampart.policy.model.RampartConfig;
 import org.apache.ws.secpolicy.SP11Constants;
 import org.apache.ws.secpolicy.SP12Constants;
+import org.opensaml.DefaultBootstrap;
+import org.opensaml.xml.ConfigurationException;
 
 public class Rampart implements Module /* , ModulePolicyExtension */  {
 
     public void init(ConfigurationContext configContext, AxisModule module)
             throws AxisFault {
+        try {
+            DefaultBootstrap.bootstrap();
+        } catch (ConfigurationException ex) {
+            throw new AxisFault("Failed to bootstrap OpenSAML", ex);
+        }
     }
 
     public void engageNotify(AxisDescription axisDescription) throws AxisFault 
{

Reply via email to