cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1242825 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AsymmetricBindingHandler.java
Date Fri, 10 Feb 2012 15:42:54 GMT
Author: coheigea
Date: Fri Feb 10 15:42:54 2012
New Revision: 1242825

URL: http://svn.apache.org/viewvc?rev=1242825&view=rev
Log:
[CXF-4092] - Confusing error message "No initiator token id" in AssymetricBindingHandler
 - Patch applied, thanks

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AsymmetricBindingHandler.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AsymmetricBindingHandler.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AsymmetricBindingHandler.java?rev=1242825&r1=1242824&r2=1242825&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AsymmetricBindingHandler.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/wss4j/policyhandlers/AsymmetricBindingHandler.java
Fri Feb 10 15:42:54 2012
@@ -110,7 +110,7 @@ public class AsymmetricBindingHandler ex
                 if (initiatorToken instanceof IssuedToken) {
                     SecurityToken secToken = getSecurityToken();
                     if (secToken == null) {
-                        policyNotAsserted(initiatorToken, "No intiator token id");
+                        policyNotAsserted(initiatorToken, "Security token is not found or
expired");
                         return;
                     } else {
                         policyAsserted(initiatorToken);
@@ -221,7 +221,7 @@ public class AsymmetricBindingHandler ex
             if (initiatorToken instanceof IssuedToken) {
                 SecurityToken secToken = getSecurityToken();
                 if (secToken == null) {
-                    policyNotAsserted(initiatorToken, "No intiator token id");
+                    policyNotAsserted(initiatorToken, "Security token is not found or expired");
                     return;
                 } else {
                     policyAsserted(initiatorToken);



Mime
View raw message