Author: alessio.soldano(a)jboss.com
Date: 2009-07-18 11:08:22 -0400 (Sat, 18 Jul 2009)
New Revision: 10346
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/element/X509IssuerSerial.java
Log:
[JBWS-2594] Fix
Modified:
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/element/X509IssuerSerial.java
===================================================================
---
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/element/X509IssuerSerial.java 2009-07-18
09:25:02 UTC (rev 10345)
+++
stack/native/trunk/modules/core/src/main/java/org/jboss/ws/extensions/security/element/X509IssuerSerial.java 2009-07-18
15:08:22 UTC (rev 10346)
@@ -130,13 +130,13 @@
Element issuerSerial = doc.createElementNS(Constants.XML_SIGNATURE_NS,
"ds:X509IssuerSerial");
element.appendChild(issuerSerial);
- element = doc.createElementNS(Constants.XML_SIGNATURE_NS,
"ds:X509IssuerName");
- element.appendChild(doc.createTextNode(issuer));
- issuerSerial.appendChild(element);
+ Element issuerName = doc.createElementNS(Constants.XML_SIGNATURE_NS,
"ds:X509IssuerName");
+ issuerName.appendChild(doc.createTextNode(issuer));
+ issuerSerial.appendChild(issuerName);
- element = doc.createElementNS(Constants.XML_SIGNATURE_NS,
"ds:X509SerialNumber");
- element.appendChild(doc.createTextNode(serial));
- issuerSerial.appendChild(element);
+ Element serialNumber = doc.createElementNS(Constants.XML_SIGNATURE_NS,
"ds:X509SerialNumber");
+ serialNumber.appendChild(doc.createTextNode(serial));
+ issuerSerial.appendChild(serialNumber);
cachedElement = element;
return cachedElement;
Show replies by date