You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by co...@apache.org on 2008/09/30 13:09:03 UTC

svn commit: r700415 - /webservices/wss4j/trunk/src/org/apache/ws/security/util/UUIDGenerator.java

Author: coheigea
Date: Tue Sep 30 04:09:03 2008
New Revision: 700415

URL: http://svn.apache.org/viewvc?rev=700415&view=rev
Log:
[WSS-140] - Removed "urn:uuid:" String from EncryptedKey ID
 - This should now pass validation as an NCName
 - Gary, does this simple fix meet your requirements?


Modified:
    webservices/wss4j/trunk/src/org/apache/ws/security/util/UUIDGenerator.java

Modified: webservices/wss4j/trunk/src/org/apache/ws/security/util/UUIDGenerator.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/util/UUIDGenerator.java?rev=700415&r1=700414&r2=700415&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/util/UUIDGenerator.java (original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/util/UUIDGenerator.java Tue Sep 30 04:09:03 2008
@@ -52,7 +52,7 @@
         if(++incrementingValue >= Long.MAX_VALUE){
             incrementingValue = 0;
         }
-        return "urn:uuid:" + baseUUID + new Date().getTime() + incrementingValue;
+        return baseUUID + new Date().getTime() + incrementingValue;
     }
 
     protected static String getInitialUUID() {



---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org