Research Article

Towards a Secure and Borderless Collaboration between Organizations: An Automated Enforcement Mechanism

Algorithm 1

Mapping from one XACML profile to Generic-XACML.
Input: XACML profile document
Output: Generic-XACML document
Require: unified combining algorithm;
Create PolicySet element with empty Target;
Create Policy element with empty Target;
Parse the XACML document;
forall PolicySet element do
forall Policy element do
  forall Rule element do
   Combine Rule Target with current policy and PolicySet Targets;
   Combine Rule obligationExpressions with current policy and PolicySet obligationExpressions;
   Combine Rule AdviceExpressions with current policy and PolicySet Targets AdviceExpressions;
   Insert current Rule in the Generic-XACML document;
Return Generic-XACML document;