Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1BEFE49DC for ; Thu, 19 May 2011 11:32:11 +0000 (UTC) Received: (qmail 64350 invoked by uid 500); 19 May 2011 11:32:10 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 64286 invoked by uid 500); 19 May 2011 11:32:10 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 64279 invoked by uid 99); 19 May 2011 11:32:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 11:32:10 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 May 2011 11:32:08 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id C5DAE2388A33; Thu, 19 May 2011 11:31:47 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@cxf.apache.org From: coheigea@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20110519113147.C5DAE2388A33@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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(); }