Author: alessio.soldano(a)jboss.com
Date: 2007-10-27 12:31:49 -0400 (Sat, 27 Oct 2007)
New Revision: 4903
Modified:
stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java
Log:
Fix bug with <sign includeTimestamp="1">
Modified:
stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java
===================================================================
---
stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java 2007-10-27
13:14:05 UTC (rev 4902)
+++
stack/native/branches/asoldano/trunk/src/main/java/org/jboss/ws/metadata/wsse/WSSecurityOMFactory.java 2007-10-27
16:31:49 UTC (rev 4903)
@@ -226,7 +226,7 @@
Boolean include = new Boolean(true);
String timestamp = attrs.getValue("", "includeTimestamp");
if (timestamp != null)
- include = (Boolean)SimpleTypeBindings.unmarshal(timestamp,
SimpleTypeBindings.XS_BOOLEAN_NAME, null);
+ include =
(Boolean)SimpleTypeBindings.unmarshal(SimpleTypeBindings.XS_BOOLEAN_NAME, timestamp,
null);
return new Sign(attrs.getValue("", "type"),
attrs.getValue("", "alias"), include.booleanValue());
}
Show replies by date