Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml
In directory sc8-pr-cvs1:/tmp/cvs-serv10487/com/sun/xacml
Modified Files:
EvaluationCtx.java Obligation.java
Log Message:
updated to use new Attribute constructor
Index: EvaluationCtx.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/EvaluationCtx.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** EvaluationCtx.java 11 Aug 2003 20:48:44 -0000 1.4
--- EvaluationCtx.java 27 Oct 2003 04:44:01 -0000 1.5
***************
*** 1,5 ****
/*
! * @(#)EvaluationCtx.java 1.25 01/31/03
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
--- 1,5 ----
/*
! * @(#)EvaluationCtx.java
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
***************
*** 431,437 ****
// ...and insert the new value
! attrSet.add(new Attribute(attr.getId(), resourceId.getType(),
! attr.getIssuer(), attr.getIssueInstant(),
! resourceId));
}
--- 431,436 ----
// ...and insert the new value
! attrSet.add(new Attribute(attr.getId(), attr.getIssuer(),
! attr.getIssueInstant(), resourceId));
}
Index: Obligation.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/Obligation.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Obligation.java 25 Aug 2003 16:53:10 -0000 1.2
--- Obligation.java 27 Oct 2003 04:44:01 -0000 1.3
***************
*** 1,5 ****
/*
! * @(#)Obligation.java 1.6 01/30/03
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
--- 1,5 ----
/*
! * @(#)Obligation.java
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
***************
*** 142,147 ****
AttributeValue attrValue =
AttributeFactory.createAttribute(node);
! assignments.add(new Attribute(attrId, attrValue.getType(),
! null, null, attrValue));
} catch (URISyntaxException use) {
throw new ParsingException("Error parsing URI", use);
--- 142,147 ----
AttributeValue attrValue =
AttributeFactory.createAttribute(node);
! assignments.add(new Attribute(attrId, null, null,
! attrValue));
} catch (URISyntaxException use) {
throw new ParsingException("Error parsing URI", use);
|