Questions tagged [xacml3]

XACML 3.0 is the eXtensible Access Control Markup Language, an open standard for specifying and evaluating authorization and access control policies. Version 3.0 of the standard was published by the OASIS standards body in August 2010.

XACML 3.0 is the third version of the eXtensible Access Control Markup Language. Work was first started in 2001. XACML 1.0 was standardized in 2003. XACML 2.0 was standardized in 2005, and XACML 3.0 was standardized as an OASIS standard in January 2013. The standard can be downloaded here.

XACML defines:

  • an authorization policy language
  • a request / response scheme
  • an architecture

The architecture defines the following terms:

  • Policy Administration Point (PAP): this is where authorization policies are authored
  • Policy Decision Point (PDP): this is where the policies are evaluated and decisions are reached
  • Policy Information Point (PIP): this is where attribute values required during the policy evaluation are fetched from. PIPs are typically directories, databases, or CSV files.
  • Policy Enforcement Point (PEP): this is the component that protects applications, intercepts business requests, creates authorization requests, sends them to the PDP, gets a decision back and enforces the decision.

XACML defines 4 possible decisions:

  • Permit: access is allowed
  • Deny: access is denied
  • NotApplicable: the PDP cannot tell whether access should be allowed or denied
  • Indeterminate: an error occurred during policy evaluation

XACML is said to be policy-based and attribute-based since it builds on top of policies that are made of attributes. Attributes are essentially key-value pairs e.g. role=manager or citizenship=Swedish.

132 questions
9
votes
3 answers

How does XACML 3.0 differ from XACML 2.0?

I'm considering migrating my client application from using a XACML 2.0 authorization service to using a newer XACML 3.0 service. What changes or issues will I run into in migrating my client app from making XACML 2.0 requests to making XACML 3.0…
dthorpe
  • 35,318
  • 5
  • 75
  • 119
8
votes
2 answers

Is there a JSON profile to define XACML policies?

I'm novice with the XACML world. I've read some documentation regarding JSON and REST profiles of the v3.0 standard but everything I can find is related to XACML requests and responses and not policies (which is the part I'm interested in). Is there…
PSo3G
  • 185
  • 2
  • 7
7
votes
1 answer

XACML Obligations

How do we use obligations in XACML? Any reference will be helpful The scenario is that the obligations should refer the PIP and retrun the result to PEP Thanks Example from the author's comment:
Cijoy
  • 123
  • 1
  • 9
4
votes
1 answer

How to Manage Trust between PEP and PDP

I am working with distributed scenario in which I have multiple instances of PEP and PDP , in such a scenario how PDP will validate that XACML request is coming from my trusted PEP.
Utsav
  • 1,593
  • 4
  • 22
  • 46
4
votes
1 answer

Open source policy editor tool for XACML 3.0 policy creation

I am using XACML 3.0 for authorization in my project is their any open source policy editor tool so that I can create policies on the fly.
Utsav
  • 1,593
  • 4
  • 22
  • 46
3
votes
2 answers

Does XACML implement a “NOT EQUAL” function?

Scanning through the OASIS XACML V3 specifications I did not find any reference to a logical function [ here ] that implements a “String-not-equal” operation. The missing function is:
Claude Falbriard
  • 925
  • 8
  • 27
3
votes
1 answer

Collection filtering based on permission

Lets say there are resources like the files. Who, when, where have an access to the individual file is not a problem. Assume that there is a resource like a directory which has its own attributes and contain other files, directories and/or some…
Albert
  • 78
  • 4
3
votes
1 answer

How to deal with deep level granularization with XACML in enterprise application

I am using IS WSO2 for authorization with XACML. I am am able to achieve authorization for static resource. But I am not sure with the design when it comes to granularization. Example : if I have method like getCarDetails(Object User) where I…
Budhh
  • 153
  • 8
3
votes
1 answer

XACML 3.0 policy with multiple conditions

I need to define a policy which allows request to resources /tenant-3/* for user belonging to finance role AND organization payrol The condition I've defined is not accepted as a standard XACML.3.0 policy by wso2is editor. Could someone tell me…
user3384875
  • 105
  • 5
3
votes
2 answers

Is it possible to compare attributes in a XACML policy?

The following rule says subjects with role "acme_manager" can perform any action on the resource "/acme/widgets":
Ouananiche
  • 579
  • 5
  • 12
3
votes
1 answer

How to create XACML PEP Request using WSO2 Balana?

I would like to use WSO2 Balana XACML. I found it's an open source solution,can I have some details regarding PEP and PDP and the classes responsible to create XACML request ?
Nadendla
  • 712
  • 2
  • 7
  • 17
3
votes
2 answers

XACML Policy - is it correct?

I have a question about XACML policies which I am using with WSO2 Balana library. Having a policy:
Jurica Krizanic
  • 1,072
  • 2
  • 11
  • 26
2
votes
1 answer

Is there a way to define variables externally from XACML policy and refer them from inside the policy rules

I am using XACML with multiple policy sets and policies. These policies are sharing the same variables and I want to be able to define them in some kind "global" dictionary. While it seems rather basic requirement, I couldn't find any documentation,…
2
votes
1 answer

XACML combining PIPs in policy

I'm new to XACML architecture and would appreciate if you can help me with next question. Is it possible to use multiple PIP in a way that answer extracted from one PIP is used as input parameter for other PIP? If so can you provide me with simple…
Mark
  • 61
  • 3
2
votes
1 answer

XACML Bags operations

Assume we have a bag of booleans. Is there a function that can tell whether the number of "true" values is larger than some constant (e.g., 5)? I came across "n-of" function, but it requires multiple separate attributes as an input and not a bag...…
Michael
  • 357
  • 2
  • 12
1
2 3
8 9