Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: https://wso2.org/jira/browse/DOCUMENTATION-6132

You can publish a XACML policy to PDP for run time runtime evaluation using the instructions in this topic.

  1. Sign in. Enter your user name username and password to log on to the Management Console.
  2. Navigate to the Main menu to access the Entitlement menu. Click Policy Administration under PAP.
    1. The policies that you created are listed in
    the
    1. the Available Entitlement Policies
    table
    1.  table
      Image Modified
    2. You can publish policies using one of the following options.
      Click
      1. Click Publish to My PDP
      next
      1.  next to the policy you wish to publish This will publish the specific policy to PDP.
      2. Select the specific policies you wish to publish using the checkboxes available and
      click Publish.Click Publish All to
      1. click Publish This will allow us to publish multiple policies at the same time to the PDP. 
      2. Click Publish All to publish all the available policies
      .
    The Publish Policy page
      1. This will publish all the policies available in the "Available Entitlement Policy" to the PDP 
    1. The Publish Policy page appears.
      Image Modified
    2. Here you can do the following by clicking on an option from each section.Delete Policy - Allows you to delete the policy
      1. Select policy publishing action.

    3. Add Policy - Shows all options relevant to adding a new policy to the policies published to PDP.
    4. Update Policy - Shows all options relevant to updating an existing policy that was already published to PDP.
    5. Order Policy - Shows only the options available to change the order of the published policy in the PDP.
    6. Enable Policy - Allows you to enable the policy.
    7. Disable Policy - Allows you to disable the policy.
      1. ActionDiscription
        Add PolicyThe target action of the policy will be "CREATED". The works only for the initial policy publishing process. The policy will be published to PDP and view in the "Policy View" under PDP
        Update PolicyThe target action of the policy will be "UPDATE". This can be used to update a policy which is already published to PDP. The existing policy which is in "Policy View" will be updated.
        Order PolicyThe target action of the policy will be "ORDER". This does not work for the initial policy publishing process. This can be used to put the existing published policies in order. These policies will be ordered in descending order in the "Policy View".
        Enable Policy

        The target action of the policy will be "ENABLE". This does not work for the initial policy publishing process. This will enable the policy to the PDP. You can display that in the action column of the "Policy View". Image Added

        Disable Policy

        The target action of the policy will be "DISABLE". This does not work for the initial policy publishing process. This will disable the policy to the PDP. You can display that in the action column of the "Policy View".

        Image Added

        Delete PolicyThe target action of the policy will be "DELETE". This can be used to delete an existing published policy in the PDP. The relevant policy will be removed from the "Policy View" in the PDP.
      2. Select policy Enable/Disable.


        • Publish As Enabled Policy - Allows you to enable the policy to be published. This is available by default when publishing to PDP.
        • Publish As Disabled Policy - Allows you to disable the policy to be published.
      3. Select policy order.
        • Use default policy order - Sets the default order
      for the policy to appear when published
        • of a policy as "0".
        • Define policy order -
      Set a number to define the order in which the policy will appear in the PDP.Select Subscriber
        • Allows you to set a policy order according to your preference. 
  3. Click Publish.