Created
June 14, 2017 08:56
-
-
Save Pushpalanka/1997e96cb0dc30a28f70ca46c172d10c to your computer and use it in GitHub Desktop.
Sample XACML Request
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Request xmlns="urn:oasis:names:tc:xacml:2.0:context:schema:os"> | |
<Subject> | |
<Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:subject:subject-id" | |
DataType="http://www.w3.org/2001/XMLSchema#string"> | |
<AttributeValue>admin</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>http://localhost:8280/services/echo/echoString</AttributeValue> | |
</Attribute> | |
</Resource> | |
<Action> | |
<Attribute AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" | |
DataType="http://www.w3.org/2001/XMLSchema#string"><AttributeValue>read</AttributeValue> | |
</Attribute> | |
</Action> | |
<Environment/> | |
</Request> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment