cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1124689 - /cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/model/UsernameToken.java
Date Thu, 19 May 2011 11:31:47 GMT
Author: coheigea
Date: Thu May 19 11:31:47 2011
New Revision: 1124689

URL: http://svn.apache.org/viewvc?rev=1124689&view=rev
Log:
Missed writing out the sp13 namespace in previous commit.

Modified:
    cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/model/UsernameToken.java

Modified: cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/model/UsernameToken.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/model/UsernameToken.java?rev=1124689&r1=1124688&r2=1124689&view=diff
==============================================================================
--- cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/model/UsernameToken.java
(original)
+++ cxf/trunk/rt/ws/security/src/main/java/org/apache/cxf/ws/security/policy/model/UsernameToken.java
Thu May 19 11:31:47 2011
@@ -163,10 +163,12 @@ public class UsernameToken extends Token
                 
                 if (isRequireCreated()) {
                     writer.writeStartElement(SP13Constants.SP_PREFIX, "Created", SP13Constants.SP_NS);
+                    writer.writeNamespace(SP13Constants.SP_PREFIX, SP13Constants.SP_NS);
                     writer.writeEndElement();
                 }
                 if (isRequireNonce()) {
                     writer.writeStartElement(SP13Constants.SP_PREFIX, "Nonce", SP13Constants.SP_NS);
+                    writer.writeNamespace(SP13Constants.SP_PREFIX, SP13Constants.SP_NS);
                     writer.writeEndElement();
                 }
 



Mime
View raw message