[java-opensaml2 COMMIT] in /branches/REL_2: doc/RELEASE-NOTES.txt src/main/java/org/opensaml/xacml/policy/impl/Attrib...

noreply at shibboleth.net noreply at shibboleth.net
Tue Feb 21 19:26:10 GMT 2012


Author: lajoie
Date: Tue Feb 21 19:26:10 2012
New Revision: 1564

URL: http://svn.shibboleth.net/view/java-opensaml2?rev=1564&view=rev
Log:
Correct default element name for AttributeDesignatorType - JOST-181

Modified:
    branches/REL_2/doc/RELEASE-NOTES.txt
    branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/AttributeDesignatorTypeImplBuilder.java

Modified: branches/REL_2/doc/RELEASE-NOTES.txt
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/doc/RELEASE-NOTES.txt?rev=1564&r1=1563&r2=1564&view=diff
==============================================================================
--- branches/REL_2/doc/RELEASE-NOTES.txt (original)
+++ branches/REL_2/doc/RELEASE-NOTES.txt Tue Feb 21 19:26:10 2012
@@ -3,6 +3,7 @@
 [JOST-176] - SubjectConfirmationUnmarshaller processChildElement misplaces KeyInfo
 [JOST-179] - FileBackedHTTPMetadataProvider does not properly release HTTP connections
 [JOST-180] - Update openws library version
+[JOST-181] - Bug in marshalling an XACML Policy AttributeDesignatorType
 
 Changes in Release 2.5.2
 =============================================

Modified: branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/AttributeDesignatorTypeImplBuilder.java
URL: http://svn.shibboleth.net/view/java-opensaml2/branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/AttributeDesignatorTypeImplBuilder.java?rev=1564&r1=1563&r2=1564&view=diff
==============================================================================
--- branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/AttributeDesignatorTypeImplBuilder.java (original)
+++ branches/REL_2/src/main/java/org/opensaml/xacml/policy/impl/AttributeDesignatorTypeImplBuilder.java Tue Feb 21 19:26:10 2012
@@ -17,7 +17,6 @@
 
 package org.opensaml.xacml.policy.impl;
 
-import org.opensaml.saml1.core.AttributeDesignator;
 import org.opensaml.xacml.impl.AbstractXACMLObjectBuilder;
 import org.opensaml.xacml.policy.AttributeDesignatorType;
 
@@ -33,7 +32,7 @@
 
     /** {@inheritDoc} */
     public AttributeDesignatorType buildObject() {
-        return buildObject(AttributeDesignator.DEFAULT_ELEMENT_NAME);
+        return buildObject(AttributeDesignatorType.DEFAULT_ELEMENT_NAME_XACML20);
     }
 
 }



More information about the commits mailing list