You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ch...@apache.org on 2006/11/29 12:25:46 UTC
svn commit: r480524 -
/webservices/sandesha/branches/sandesha2/java/1_1/src/org/apache/sandesha2/security/rampart/RampartBasedSecurityManager.java
Author: chamikara
Date: Wed Nov 29 03:25:45 2006
New Revision: 480524
URL: http://svn.apache.org/viewvc?view=rev&rev=480524
Log:
An update to the the SecurityManager
Modified:
webservices/sandesha/branches/sandesha2/java/1_1/src/org/apache/sandesha2/security/rampart/RampartBasedSecurityManager.java
Modified: webservices/sandesha/branches/sandesha2/java/1_1/src/org/apache/sandesha2/security/rampart/RampartBasedSecurityManager.java
URL: http://svn.apache.org/viewvc/webservices/sandesha/branches/sandesha2/java/1_1/src/org/apache/sandesha2/security/rampart/RampartBasedSecurityManager.java?view=diff&rev=480524&r1=480523&r2=480524
==============================================================================
--- webservices/sandesha/branches/sandesha2/java/1_1/src/org/apache/sandesha2/security/rampart/RampartBasedSecurityManager.java (original)
+++ webservices/sandesha/branches/sandesha2/java/1_1/src/org/apache/sandesha2/security/rampart/RampartBasedSecurityManager.java Wed Nov 29 03:25:45 2006
@@ -25,6 +25,8 @@
import org.apache.axis2.context.ConfigurationContext;
import org.apache.axis2.context.MessageContext;
import org.apache.axis2.description.AxisModule;
+import org.apache.commons.logging.Log;
+import org.apache.commons.logging.LogFactory;
import org.apache.neethi.Policy;
import org.apache.rahas.RahasConstants;
import org.apache.rahas.SimpleTokenStore;
@@ -42,6 +44,7 @@
import org.apache.sandesha2.client.SandeshaClientConstants;
import org.apache.sandesha2.i18n.SandeshaMessageHelper;
import org.apache.sandesha2.i18n.SandeshaMessageKeys;
+import org.apache.sandesha2.msgprocessors.ApplicationMsgProcessor;
import org.apache.sandesha2.security.SecurityManager;
import org.apache.sandesha2.security.SecurityToken;
import org.apache.ws.secpolicy.WSSPolicyException;
@@ -64,6 +67,8 @@
public class RampartBasedSecurityManager extends SecurityManager {
+ private static final Log log = LogFactory.getLog(RampartBasedSecurityManager.class);
+
TokenStorage storage = null;
/**
@@ -245,7 +250,8 @@
} else {
String msg = SandeshaMessageHelper.getMessage(SandeshaMessageKeys.noSecConvTokenInPolicy);
- throw new SandeshaException(msg);
+ log.debug (msg);
+ return null;
}
} catch (RampartException e) {
---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org