Example Web PEP
Web Policy Enforcement Point
Use case example
We want to define a policy to restrict access to some pages of the Soffid console.
The users who are assigned to the SOFFID_RRHH role (from this point forward: end-users) will have limitations to access to some Soffid console pages:
- The end-users who belong to the "enterprise" group as primary group, could not access to the groups page.
- The end-users could not access to role page.
- En other cases permit access.
XACML Editor
Policy set
First of all, we define a policy set.
Policy
Then, we can define a policy to manage the access. We need to define the subject, in that case users with SOFFID_RRHH role assigned.
&&TODO&&we Definircan ydefine revisara variable that contains the group name to establish the restrictions.
PolicyRule 1
The end-users who belong to the "enterprise" group as primary group, could not access to the groups page.
Rule Rules2
Deny accessto a user to a specific resource
The
Permitend-users could not access toarolespecificpage.user
Rule 3
Permit access toEn otheruserscases permit access.
Download XML
You can download a XML file with the example: policy-TestWebPEP.xml
Configure PEP