You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by ru...@apache.org on 2006/08/29 18:59:11 UTC
svn commit: r438115 -
/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java
Author: ruchithf
Date: Tue Aug 29 09:59:10 2006
New Revision: 438115
URL: http://svn.apache.org/viewvc?rev=438115&view=rev
Log:
STR must be the first element of the DerivedKeyToken
Modified:
webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java
Modified: webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java?rev=438115&r1=438114&r2=438115&view=diff
==============================================================================
--- webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java (original)
+++ webservices/wss4j/trunk/src/org/apache/ws/security/message/token/DerivedKeyToken.java Tue Aug 29 09:59:10 2006
@@ -128,12 +128,12 @@
public void setSecuityTokenReference(SecurityTokenReference ref) {
this.elementSecurityTokenReference = ref.getElement();
//WSSecurityUtil.appendChildElement(doc, this.element, ref.getElement());
- this.element.appendChild(ref.getElement());
+ WSSecurityUtil.prependChildElement(this.element.getOwnerDocument(), this.element, ref.getElement(), false);
}
public void setSecuityTokenReference(Element elem) {
this.elementSecurityTokenReference = elem;
- this.element.appendChild(elem);
+ WSSecurityUtil.prependChildElement(elem.getOwnerDocument(), this.element, elem, false);
}
/**
---------------------------------------------------------------------
To unsubscribe, e-mail: wss4j-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: wss4j-dev-help@ws.apache.org