ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wer...@apache.org
Subject svn commit: r355957 - /webservices/commons/trunk/policy/src/examples/WSSPolicyProcessor.java
Date Sun, 11 Dec 2005 11:11:56 GMT
Author: werner
Date: Sun Dec 11 03:11:49 2005
New Revision: 355957

URL: http://svn.apache.org/viewcvs?rev=355957&view=rev
Log:
Update to use new security policy namespace as per specification.

Modified:
    webservices/commons/trunk/policy/src/examples/WSSPolicyProcessor.java

Modified: webservices/commons/trunk/policy/src/examples/WSSPolicyProcessor.java
URL: http://svn.apache.org/viewcvs/webservices/commons/trunk/policy/src/examples/WSSPolicyProcessor.java?rev=355957&r1=355956&r2=355957&view=diff
==============================================================================
--- webservices/commons/trunk/policy/src/examples/WSSPolicyProcessor.java (original)
+++ webservices/commons/trunk/policy/src/examples/WSSPolicyProcessor.java Sun Dec 11 03:11:49
2005
@@ -33,7 +33,7 @@
  */
 public class WSSPolicyProcessor {
     private static String policy = "<wsp:Policy xmlns:wsp=\"http://schemas.xmlsoap.org/ws/2004/09/policy\"
xmlns:wsrm=\"http://schemas.xmlsoap.org/ws/2005/02/rm/policy\" "
-            + "xmlns:sec=\"http://schemas.xmlsoap.org/ws/2002/12/secext\">"
+            + "xmlns:sec=\"http://schemas.xmlsoap.org/ws/2005/07/securitypolicy\">"
             + "<wsp:ExactlyOne>"
             + "<wsp:All>"
             + "<sec:SecurityToken>"
@@ -115,7 +115,7 @@
              */
 
             if (primitiveAssertion.getName().getNamespaceURI().equals(
-                    "http://schemas.xmlsoap.org/ws/2002/12/secext")) {
+                    "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy")) {
                 listOfWSSPrimitiveAssertions.add(primitiveAssertion);
             }
         }



Mime
View raw message