[Sunxacml-commit] sunxacml/com/sun/xacml EvaluationCtx.java,1.1.1.1,1.2
Brought to you by:
farrukh_najmi,
sethp
From: <se...@us...> - 2003-06-16 19:18:02
|
Update of /cvsroot/sunxacml/sunxacml/com/sun/xacml In directory sc8-pr-cvs1:/tmp/cvs-serv10769/com/sun/xacml Modified Files: EvaluationCtx.java Log Message: make sure Request has at least one Subject Index: EvaluationCtx.java =================================================================== RCS file: /cvsroot/sunxacml/sunxacml/com/sun/xacml/EvaluationCtx.java,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** EvaluationCtx.java 13 Feb 2003 22:19:10 -0000 1.1.1.1 --- EvaluationCtx.java 16 Jun 2003 19:17:54 -0000 1.2 *************** *** 177,181 **** * objects. */ ! private void setupSubjects(Set subjects) { Iterator it = subjects.iterator(); while (it.hasNext()) { --- 177,186 ---- * objects. */ ! private void setupSubjects(Set subjects) throws ParsingException { ! // make sure that there is at least one Subject ! if (subjects.size() == 0) ! throw new ParsingException("Request must a contain subject"); ! ! // now go through the subject attributes Iterator it = subjects.iterator(); while (it.hasNext()) { |