Author: sanka Date: Mon Jun 9 14:57:43 2008 New Revision: 18252 URL: http://wso2.org/svn/browse/wso2?view=rev&revision=18252
Log: Modified: branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/handler/PostDispatchVerificationHandler.java Modified: branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java URL: http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java?rev=18252&r1=18251&r2=18252&view=diff ============================================================================== --- branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java (original) +++ branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/Rampart.java Mon Jun 9 14:57:43 2008 @@ -34,7 +34,8 @@ public void engageNotify(AxisDescription axisDescription) throws AxisFault { //Nothing to do here, since RampartMessageData will pick up the - //effective policy from the message context + //effective policy from the message context + } public void shutdown(ConfigurationContext configurationContext) throws AxisFault { Modified: branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/handler/PostDispatchVerificationHandler.java URL: http://wso2.org/svn/browse/wso2/branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/handler/PostDispatchVerificationHandler.java?rev=18252&r1=18251&r2=18252&view=diff ============================================================================== --- branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/handler/PostDispatchVerificationHandler.java (original) +++ branches/wsas/java/2.3/rampart/modules/rampart-core/src/main/java/org/apache/rampart/handler/PostDispatchVerificationHandler.java Mon Jun 9 14:57:43 2008 @@ -22,6 +22,7 @@ import org.apache.axis2.description.HandlerDescription; import org.apache.axis2.description.Parameter; import org.apache.axis2.engine.Handler; +import org.apache.axis2.engine.Handler.InvocationResponse; import org.apache.neethi.Assertion; import org.apache.neethi.Policy; import org.apache.neethi.PolicyEngine; @@ -90,6 +91,10 @@ */ public InvocationResponse invoke(MessageContext msgContext) throws AxisFault { + if (!msgContext.isEngaged(WSSHandlerConstants.SECURITY_MODULE_NAME)) { + return InvocationResponse.CONTINUE; + } + Policy policy = null; if(msgContext.getProperty(RampartMessageData.KEY_RAMPART_POLICY) != null) { _______________________________________________ Wsas-java-dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev
