Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

After defining the accessible user roles in the resource policy as shown above, you can associate that policy to the HTTP verbs of URL patterns in the Step 3 - Web Application Resources section. For example, if you are addingthe adding the resource policy created above to the GET HTTP verb of the /{context}/{version}/timeTables URL pattern as shown below, then a HTTP GET request sent to /{context}/{version}/timeTables is authorized only for a users of member and admin roles.

add defined policy to Web app resource

XACML policy based resource authorization

...

Follow the steps below to associate the defined XACML policies with the HTTP verbs of the URL Pattern of Web application resources when creating a Web application.

 

  

...

  1. In the Step 2 - Policies

...

 

...

  1. of creating a Web application, select the policy

...

  1. and then

...

  1. select Permit

...

  1.  or Deny in the XACML Policies section as shown below

...

  1. to create a new resource policy by enabling the defined XACML policy. (If you

...

  1. select Permit, the user will be permitted to access, and if you

...

  1. select Deny, the Web app resource access will be denied.

...

  1. )

    create resource policy with XACML policyImage Added

  2. Associate the XACML policy defined above to a HTTP Verb of a specific URL Pattern of a Web app resource in Step 3 - Web Application Resources section as shown below.
    add defined XACML policy to Web app resourceImage Added