[java-opensaml COMMIT] /trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/AttributeSelectorTypeM...
noreply at shibboleth.net
noreply at shibboleth.net
Tue Jul 3 11:09:09 EDT 2012
Author: rdw
Date: Tue Jul 3 11:09:09 2012
New Revision: 3075
URL: http://svn.shibboleth.net/view/java-opensaml?rev=3075&view=rev
Log:
Allow unmarshalling of a null MustBePresentXSBoolean. Default behavior unchanged.
Modified:
trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/AttributeSelectorTypeMarshaller.java
Modified: trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/AttributeSelectorTypeMarshaller.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/AttributeSelectorTypeMarshaller.java?rev=3075&r1=3074&r2=3075&view=diff
==============================================================================
--- trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/AttributeSelectorTypeMarshaller.java (original)
+++ trunk/opensaml-xacml-impl/src/main/java/org/opensaml/xacml/policy/impl/AttributeSelectorTypeMarshaller.java Tue Jul 3 11:09:09 2012
@@ -52,10 +52,6 @@
domElement.setAttribute(AttributeDesignatorType.MUST_BE_PRESENT_ATTRIB_NAME,
Boolean.toString(attributeSelectorType.getMustBePresentXSBoolean().getValue()));
}
- if(!attributeSelectorType.getMustBePresent()){
- domElement.setAttribute(AttributeDesignatorType.MUST_BE_PRESENT_ATTRIB_NAME,
- Boolean.toString(attributeSelectorType.getMustBePresent()));
- }
- }
+ }
}
More information about the commits
mailing list