[jboss-cvs] JBossAS SVN: r71577 - in projects/security/security-xacml/trunk/jboss-xacml/src/tests: resources/test/requests/interop/rsaconf08 and 1 other directory.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Apr 1 18:14:52 EDT 2008
Author: anil.saldhana at jboss.com
Date: 2008-04-01 18:14:52 -0400 (Tue, 01 Apr 2008)
New Revision: 71577
Removed:
projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/NCode_request_01.xml
projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/UCode_request_01.xml
Modified:
projects/security/security-xacml/trunk/jboss-xacml/src/tests/java/org/jboss/test/security/xacml/interop/rsaconf/PhysicianUnitTestCase.java
Log:
remove the extra tests
Modified: projects/security/security-xacml/trunk/jboss-xacml/src/tests/java/org/jboss/test/security/xacml/interop/rsaconf/PhysicianUnitTestCase.java
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/tests/java/org/jboss/test/security/xacml/interop/rsaconf/PhysicianUnitTestCase.java 2008-04-01 22:13:45 UTC (rev 71576)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/tests/java/org/jboss/test/security/xacml/interop/rsaconf/PhysicianUnitTestCase.java 2008-04-01 22:14:52 UTC (rev 71577)
@@ -183,24 +183,8 @@
int decision = XACMLTestUtil.getDecision(getPDP(),
"test/requests/interop/rsaconf08/XacmlRequest-05-02.xml");
assertEquals("PERMIT?", XACMLConstants.DECISION_PERMIT,decision);
- }
-
- public void testNConfidentialityCode() throws Exception
- {
- System.setProperty("debug","true");
- int decision = XACMLTestUtil.getDecision(getPDP(),
- "test/requests/interop/rsaconf08/NCode_request_01.xml");
- assertEquals("DENY?", XACMLConstants.DECISION_DENY,decision);
- }
-
- public void testUConfidentialityCode() throws Exception
- {
- System.setProperty("debug","true");
- int decision = XACMLTestUtil.getDecision(getPDP(),
- "test/requests/interop/rsaconf08/UCode_request_01.xml");
- assertEquals("DENY?", XACMLConstants.DECISION_DENY,decision);
- }
-
+ }
+
public void testPatientSearch() throws Exception
{
System.setProperty("debug","true");
Deleted: projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/NCode_request_01.xml
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/NCode_request_01.xml 2008-04-01 22:13:45 UTC (rev 71576)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/NCode_request_01.xml 2008-04-01 22:14:52 UTC (rev 71577)
@@ -1,65 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Request
- xmlns="urn:oasis:names:tc:xacml:2.0:context:schema:os"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:oasis:names:tc:xacml:2.0:context:schema:os
- http://docs.oasis-open.org/xacml/access_control-xacml-2.0-context-schema-os.xsd">
- <!-- Sample request. In this case a physician is trying to access -->
- <!-- The medical record of a patient. The record has been marked -->
- <!-- with both the CDA and N confidentiality codes and -->
- <!-- there is a registered consent for the record. -->
- <Subject>
- <Attribute
- AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>Dr. Alice</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:subject:hl7:permission"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-003</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-005</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-006</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-009</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-010</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-012</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-017</AttributeValue>
- </Attribute>
- </Subject>
- <Resource>
- <Attribute
- AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>Anthony Gurrola</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:resource:hl7:permission"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-003</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-005</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-006</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-009</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-010</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-012</AttributeValue>
- <AttributeValue>urn:xacml:2.0:interop:example:hl7:prd-017</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:resource:hl7:confidentiality-code"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>UBA</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:resource:hl7:dissented-subject-id"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>Dr. Alice</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:resource:type"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue
- >urn:xacml:2.0:interop:example:resource:hl7:medical-record</AttributeValue>
- </Attribute>
- </Resource>
- <Action/>
- <Environment/>
-</Request>
\ No newline at end of file
Deleted: projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/UCode_request_01.xml
===================================================================
--- projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/UCode_request_01.xml 2008-04-01 22:13:45 UTC (rev 71576)
+++ projects/security/security-xacml/trunk/jboss-xacml/src/tests/resources/test/requests/interop/rsaconf08/UCode_request_01.xml 2008-04-01 22:14:52 UTC (rev 71577)
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Request
- xmlns="urn:oasis:names:tc:xacml:2.0:context:schema:os"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="urn:oasis:names:tc:xacml:2.0:context:schema:os
- http://docs.oasis-open.org/xacml/access_control-xacml-2.0-context-schema-os.xsd">
- <!-- Sample request. In this case a physician is trying to access -->
- <!-- The medical record of a patient. The record has been marked -->
- <!-- with both the CDA and U confidentiality codes and -->
- <!-- there is a registered consent for the record. -->
- <Subject>
- <Attribute
- AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>Dr. Alice</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:oasis:names:tc:xacml:2.0:subject:role"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>urn:xacml:2.0:interop:example:role:hl7:physician</AttributeValue>
- </Attribute>
- </Subject>
- <Resource>
- <Attribute
- AttributeId="urn:oasis:names:tc:xacml:1.0:resource:resource-id"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue
- >Anthony Gurrola</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:resource:hl7:confidentiality-code"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>UBA</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:resource:hl7:dissented-subject-id"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue>Dr. Alice</AttributeValue>
- </Attribute>
- <Attribute
- AttributeId="urn:xacml:2.0:interop:example:resource:type"
- DataType="http://www.w3.org/2001/XMLSchema#string">
- <AttributeValue
- >urn:xacml:2.0:interop:example:resource:hl7:medical-record</AttributeValue>
- </Attribute>
- </Resource>
- <Action/>
- <Environment/>
-</Request>
\ No newline at end of file
More information about the jboss-cvs-commits
mailing list