Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr
In directory sc8-pr-cvs1:/tmp/cvs-serv10719/com/sun/xacml/attr
Modified Files:
AttributeDesignator.java
Log Message:
removed metadata from missing-attribute return, since the spec is broken
Index: AttributeDesignator.java
===================================================================
RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/attr/AttributeDesignator.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** AttributeDesignator.java 25 Aug 2003 16:53:10 -0000 1.3
--- AttributeDesignator.java 27 Oct 2003 04:49:22 -0000 1.4
***************
*** 1,5 ****
/*
! * @(#)AttributeDesignator.java 1.13 01/31/03
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
--- 1,5 ----
/*
! * @(#)AttributeDesignator.java
*
* Copyright 2003 Sun Microsystems, Inc. All Rights Reserved.
***************
*** 366,377 ****
"AttributeDesignator attribute";
! List attrs = new ArrayList();
! attrs.add(new Attribute(id, type,
! ((issuer == null) ? null :
! issuer.toString()),
! null, null));
! StatusDetail detail = new StatusDetail(attrs);
! return new EvaluationResult(new Status(code, message, detail));
}
}
--- 366,383 ----
"AttributeDesignator attribute";
! // Note that there is a bug in the XACML spec. You can't
! // specify an identifier without specifying acceptable
! // values. Until this is fixed, this code will only
! // return the status code, and not any hints about what
! // was missing
! /*List attrs = new ArrayList();
! attrs.add(new Attribute(id,
! ((issuer == null) ? null :
! issuer.toString()),
! null, null));
! StatusDetail detail = new StatusDetail(attrs);*/
!
! return new EvaluationResult(new Status(code, message));
}
}
|