Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable user groups to be used in XACML processing
- Add example policy-set demonstrating group usage Resolves: https://www.pivotaltracker.com/story/show/73656018
- Loading branch information
Andrew Woods
committed
Jun 21, 2014
1 parent
13be72d
commit 90b57be
Showing
5 changed files
with
81 additions
and
2 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<PolicySet xmlns="urn:oasis:names:tc:xacml:2.0:policy:schema:os" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation = "urn:oasis:names:tc:xacml:2.0:policy:schema:os http://docs.oasis-open.org/xacml/2.0/access_control-xacml-2.0-policy-schema-os.xsd" | ||
PolicySetId="info:fedora/policies/ReaderGroupPolicySet" | ||
PolicyCombiningAlgId="urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:permit-overrides"> | ||
<Target> | ||
<Subjects> | ||
<Subject> | ||
<SubjectMatch MatchId="urn:oasis:names:tc:xacml:1.0:function:string-equal"> | ||
<AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">other</AttributeValue> | ||
<SubjectAttributeDesignator AttributeId="fcrepo-xacml:subject-group" DataType="http://www.w3.org/2001/XMLSchema#string"/> | ||
</SubjectMatch> | ||
</Subject> | ||
</Subjects> | ||
</Target> | ||
<PolicySetIdReference>info:fedora/policies/ReadNormalNodePermissionPolicySet</PolicySetIdReference> | ||
</PolicySet> |