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
2
votes
1 answer

What are the best practices of structuring XACML policies?

We have multiple API modules. Would I write a Policy for each API module, or is it one Policy with different rules? Say I have an…
transient_loop
  • 5,984
  • 15
  • 58
  • 117
2
votes
2 answers

Optimize way to Match Policies in the PDP in a Distributed Environment

Hi I have gone through many use cases regarding XACML , but i don't know what is the best way to load policies in the PDP. As per the PDP workflow defined by the OASIS i understood that when the incoming request will come to the PDP . PDP is…
user3409289
2
votes
1 answer

How To Add User Defined Attribute in PIP Attribute User Store

Hi I am working with WSO2 Balana Xacml 3.0 . I want to add my own attribute called Customer in the attribute store dynamically how to do that.
Utsav
  • 1,593
  • 4
  • 22
  • 46
2
votes
1 answer

XACML Policy based on User Domain

Hi I want to create a policy based on domain so I want to use Regular Expression : ^([a-zA-Z0-9_.-])+\@mydomain.com. So in this case I need a policy where any user belong to mydomain.com can access the resources based on the rules. How the policy…
Utsav
  • 1,593
  • 4
  • 22
  • 46
2
votes
1 answer

Multiple Decisions Profile Policy in XACML 3.0

I have requirement to write a policy for the particular user it will return the xacml response like this : This policy is based on single user : bob FirstName: Create= true , Read = true, Update = true, Delete = false MiddleName: Create= true ,…
Utsav
  • 1,593
  • 4
  • 22
  • 46
2
votes
1 answer

XACML3 Policy with multiple actions,subjects and resources

Can i have the sample XACML3 Policy which has multi attributes such as actions,subjects and resources?
Nadendla
  • 712
  • 2
  • 7
  • 17
2
votes
3 answers

how to match XACML 3.0 request against policy stored in policy store

Hi I just want to know how can I match XACML 3.0 Request from the PEP against the Policies stored in policy store using PDP. How I will evaluate particular request against the multiple policies stored in policy store.
Utsav
  • 1,593
  • 4
  • 22
  • 46
2
votes
1 answer

Wso2 Identity server: improve the performance of an AttributeFinderModule for attributes on resources

my questions apply both to wso2 identity server 4.5 (IS) and to balana "standalone". I successfully process XACML multiple requests sent to the entitlement service in IS (the web service interface to the PDP) as ruled in the "XACML v3.0 Multiple…
2
votes
1 answer

Are there any XACML evaluation engine implementations?

I have to evaluate XACML policies as a part of my research. I am looking for an IDE for xacml evaluation. Can anyone suggest one? I have installed wso2 identity server but when I am uploading a policy its giving an error that the policy can't be…
user2022887
  • 131
  • 2
  • 3
1
vote
1 answer

WSO2 IS Request XACML with Acces Token - Error 403 Forbidden

Following this article, I created my request XACML and I have success. https://docs.wso2.com/display/IS560/Using+REST+APIs+via+XACML+to+Manage+Entitlement And I saw in this last question that is possible use access token for made the request: WSO2is…
1
vote
2 answers

How can I write a "If..then" condition in Axiomatics

The decisioning is to permit if the user has required roles. The required roles and the user's current permissions are in JSON format. Required permissions: (Saved as a attribute) { "data": { "service1": { "service1.1": true }, …
madhinigm
  • 11
  • 2
1
vote
1 answer

XACML: how to find a long in a list of longs (list contains)

I'm trying to do a check in a XACML policy. I have a long in my subject (urn:ch:xxxx:attribute:subject:1.0:participantid) context which i wish to find in a list of longs (urn:ch:xxxx:attribute:resource:1.0:participantids) in my resource context. I'm…
cristiano007
  • 379
  • 1
  • 3
  • 9
1
vote
1 answer

Context changes in XACML

How does the context handler (in XACML) detect context changes? I know one responsibility of context handler is to translate the original request into XACML canonical format but how it addresses context changes?
Mary Dvr
  • 21
  • 1
1
vote
1 answer

Compare two multi-element attributes in XACML policy

Consider a subject and object both having a label defined as follows: subject/object label = [i1, i2, ..., in], where i is some subjectId of another subject. In a policy (ALFA/XACML), how can I perform a comparison against the subject and object…
rshah
  • 675
  • 2
  • 12
  • 32
1
vote
1 answer

Why XACML Response Returns NotApplicable on Azure Web App?

Firstly, I created a Spring Boot project on IntelliJ basen on [blog]:https://www.javadevjournal.com/spring-boot/spring-boot-application-intellij/. Then, I generated a controller and service with @PostMapping inside of it. I used balana…
1 2
3
8 9