This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 4 Next »

Follow the instructions below to create an XACML policy.

  1. Sign in. Enter your user name and password to log on to the Management Console.
  2. Click the "Main" button to access the "Entitlement" menu.
  3. From the "Main" menu, select "Administration" under "Entitlement."
  4. Click on the "Add New Entitlement Policy" link to access the "Create Entitlement Policy" page.
  5. The Add New Policy page appears. Select the policy creation method you wish to use.
  6. On the "Create XACML Policy" page, specify the required settings:
    • Simple Policy Editor

      • Entitlement Policy Name - Specify the name of the policy. This field is mandatory.
      • Entitlement Policy Description - Enter a description of the policy.
      • This policy is based on - Select one of Resource, Subject, Environment and Action from the dropdown.
      • Resource which is equals to - Enter a value here.
      • Add Child Resource
        • Fill out the name of the child resource.
        • Select either the age email, role or UserName from the dropdown.
        • Enter the value for the field chosen above.
        • Select either Time, Domain, DateTime or Date from the drop down.
        • Enter the value for the field chosen above.
        • Click the add button.
    • Basic Policy Editor

      • Entitlement Policy Name - Specify the name of the policy. This field is mandatory.
      • Rule Combining Algorithm - Select a rule-combining algorithm from the drop-down menu. The following algorithms are available:
        • Deny Overrides
        • Permit Overrides
        • First Applicable
        • Deny Unless Permit
        • Permit Unless Deny
      • Specify the elements that the policy applies to:
        • Resource Names - Specify the name of a resource.
        • User Attribute - Specify a user attribute.
        • Action Name - Specify an action name.
        • Environment Name - Specify the environment name.
      • Define Entitlement Rules:
        • Rule Name - Specify the role name. This field is mandatory.
        • Rule Effect - Select the rule effect: permit or deny.
        • Resource Names - Specify the resource name.
        • User Attribute - Specify a user attribute.
        • Action Name - Specify the action name.
        • Environment Name - Specify the environment name.
    • Standard Policy Editor

      • Entitlement Policy Name - Specify the name of the policy. This field is mandatory.
      • Rule Combining Algorithm - Select a rule-combining algorithm from the drop-down menu. The following algorithms are available:
        • Deny Overrides
        • Permit Overrides
        • First Applicable
        • Deny Unless Permit
        • Permit Unless Deny
      • Entitlement Policy Description - Enter a description of the policy.
      • Specify the element that the policy applies to and its corresponding value. Choose one of the following elements from the dropdown:
        • Resource Names
        • User Attribute
        • Action Name
        • Environment Name
      • Define Entitlement Rules:
        • Rule Name - Specify the role name. This field is mandatory.
        • Rule Effect - Select the rule effect: permit or deny.
        • Specify the element that the policy applies to and its corresponding value. Choose one of the following elements from the dropdown:
          • Resource Names
          • User Attribute
          • Action Name
          • Environment Name
      • Define Policy Obligation or Advice
    • Policy Set Editor
    • Import Existing Policy

      Click Choose File and browse to the location of the policy in your local machine.

    • Write Policy in XML

      Create your own policy in XML.

  7. Click Finish/Upload depending on the option you chose to create your policy.

 

Use the drop-down menu to select the level of matching with the specifications in the text field:

  • equals to
  • at-least-one-matching-member-of
  • at-least-one-matching-reg-ex-member-of
  • matching reg-ex to
  • a matching set of
  • a matching reg-ex set of

Use the drop-down menu to select the level of matching with the specifications in the text field:

  • equals to
  • in
  • at-least-one-member-of
  • a sub set of
  • matching reg-ex to
  • a matching set of

 

  • No labels