Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

These are the standard attributes that are supplied by the Fedora XACML AuthZ Delegate.

Subject Attributes

IDDataTypeSourceIn Request?Notes
urn:oasis:names:tc:xacml:1.0:subject:subject-idstringuser principalYes 
urn:oasis:names:tc:xacml:1.0:subject:subject-id-qualifierstringTBD name-space for the subject-id
urn:oasis:names:tc:xacml:1.0:subject:request-time AuthZ delegateYestime when this action was requested
urn:oasis:names:tc:xacml:1.0:subject:session-start-time ModeShape sessionYestime when Fedora transaction began
urn:oasis:names:tc:xacml:2.0:subject:groupstringall principals except userYesextensible via Principal Factory
urn:oasis:names:tc:xacml:2.0:subject:rolestringeffective access rolesYesFedora access roles for this user/group†
urn:oasis:names:tc:xacml:1.0:subject:authn-locality:authentication-methodstringTBDYeswhat style of AuthN? (OAuth/Tomcat/Shibboleth)
urn:oasis:names:tc:xacml:1.0:subject:authn-locality:ip-addressstringTBDYesservlet request ip or X-forward header
urn:oasis:names:tc:xacml:1.0:subject:authn-locality:dns-namestringTBDYes??

† Hydra rights metadata may be dynamically crosswalked to Fedora roles via a sequencer.

Action Attributes

IDData TypeSourceIn Request?Notes
urn:oasis:names:tc:xacml:1.0:action:action-idstringModeShape actionYesSee ModeShapePermissions list
urn:oasis:names:tc:xacml:1.0:action:action-namespacestringpresetYesA TBD namespace referring to modeshape actions.

Resource Attributes

Question: What kind of URI shall we use for pointing at resources in Fedora/ModeShape policies? This decision will mostly be of concern to ResourceAttributeFinders, since policies will not usually refer to individual resource IDs directly.

IDData TypeSourceIn Request?Notes
urn:oasis:names:tc:xacml:1.0:resource:resource-idstringModeShape pathYesThe modeshape path including the workspace
urn:oasis:names:tc:xacml:2.0:resource:resource-ancestor-or-selfstringModeShape pathYesSet of URIs for this resource and its ancestors
urn:oasis:names:tc:xacml:1.0:resource:resource-parentstringModeShape pathYesURI of the parent of the resource (always an existing node, in session if not saved to workspace)
urn:oasis:names:tc:xacml:2.0:resource:resource-ancestorstringModeShape pathYesSet of URIs of all ancestor nodes
urn:fedora:xacml:2.0:resource:resource-workspacestringModeShape sessionYesName of the workspace

Environment Attributes

IDData TypeSourceIn Request?Notes
urn:oasis:names:tc:xacml:1.0:environment:current-timetimeAuthZ DelegateYes 
urn:oasis:names:tc:xacml:1.0:environment:current-datedateAuthZ DelegateYes 
urn:oasis:names:tc:xacml:1.0:environment:current-dateTimedateTimeAuthZ DelegateYes 
  • No labels