From 059dc29d3e74afdade9a1d2169b5e20311c7ee5f Mon Sep 17 00:00:00 2001 From: Duan Shiqiang Date: Thu, 20 Oct 2016 16:12:35 +0800 Subject: [PATCH] fixed JaxpAttributeAssignment constructor --- .../openaz/xacml/std/jaxp/JaxpAttributeAssignment.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openaz-xacml/src/main/java/org/apache/openaz/xacml/std/jaxp/JaxpAttributeAssignment.java b/openaz-xacml/src/main/java/org/apache/openaz/xacml/std/jaxp/JaxpAttributeAssignment.java index aa398ee..2fa8726 100644 --- a/openaz-xacml/src/main/java/org/apache/openaz/xacml/std/jaxp/JaxpAttributeAssignment.java +++ b/openaz-xacml/src/main/java/org/apache/openaz/xacml/std/jaxp/JaxpAttributeAssignment.java @@ -51,9 +51,9 @@ */ public class JaxpAttributeAssignment extends StdMutableAttributeAssignment { - protected JaxpAttributeAssignment(Identifier attributeIdIn, Identifier categoryIdIn, String issuerIn, + protected JaxpAttributeAssignment(Identifier categoryIdIn, Identifier attributeIdIn, String issuerIn, AttributeValue attributeValueIn) { - super(attributeIdIn, categoryIdIn, issuerIn, attributeValueIn); + super(categoryIdIn, attributeIdIn, issuerIn, attributeValueIn); } public static JaxpAttributeAssignment newInstance(AttributeAssignmentType attributeAssignmentType) { @@ -96,6 +96,6 @@ public static JaxpAttributeAssignment newInstance(AttributeAssignmentType attrib + dataTypeId.toString() + "\"", ex); } - return new JaxpAttributeAssignment(attributeId, categoryId, issuer, attributeValue); + return new JaxpAttributeAssignment(categoryId, attributeId, issuer, attributeValue); } }