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
1
vote
1 answer

How to deal with scoped roles when multiple roles can be activated in XACML

First the user can have multiple roles at the same time, and the role has scope. For example, one user has three roles: /scopeA/editor, /scopeA/programmer, /scopeB/editor and /scopeA/editor has access to resource /scopeA/post …
telmo
  • 153
  • 8
1
vote
1 answer

Is there a standard or preferred way to use obligations and advice in XACML and ALFA?

I wrote some obligations and advices but I was wondering if there is a widely accepted/or formal way to do this properly? In other words: Is there a standard or preferred way to use obligations and advices in ALFA? I would really like to see an …
Morei
  • 41
  • 2
1
vote
1 answer

How to define a administrative policy in ALFA for delegation?

How can I write ALFA policies which allow delegation of certain actions on certain resources? In XACML these are called Administrative policies. (As described in http://docs.oasis-open.org/xacml/3.0/xacml-3.0-administration-v1-spec-en.html)
Morei
  • 41
  • 2
1
vote
1 answer

Can i use xpath-like expression in the attributevalue in a xacml plicy

I'd like to declare some policies likes: some one can visit anything under the img path, but img folders are scattered everwhere, so the attributevalue in the xacml policy may seem like this: "/rootpath/**XPATH_PART**/img/*". how to write policy of…
telmo
  • 153
  • 8
1
vote
1 answer

WSO2 Balana documentation

I'm new to Java and was thinking of starting some project would be a good experience to learn. I need to build some authentication and authorization capabilities in the application and was thinking about XACML Balana for authorization. Question 1:…
morty_j
  • 21
  • 2
1
vote
2 answers

XACML policy containing XPath expression does not work when published in WSO2 Identity Server 5.0

I tried the first sample from http://www.webfarmr.eu/2011/08/xacml-102-xpath-and-xacml/, section "XPath used in a single XACML request". Just in case here is the XACML policy:
Yuriy
  • 1,384
  • 1
  • 11
  • 17
1
vote
1 answer

Authoring XACML 3.0 obligations with the ALFA plugin for Eclipse

I have an XACML request with two (resource:type) attributes and one (resource:id) attribute:
nammar
  • 29
  • 5
1
vote
1 answer

resource id in xacml for a REST API

If I have an API https://api.example.org/api/v1/resources and there is access to a resource with id https://api.example.org/api/v1/resources/:id How can I write a XACML policy where the resource is an URL with a resource id (the second URL from…
transient_loop
  • 5,984
  • 15
  • 58
  • 117
1
vote
1 answer

PDP through balana

I have only one policy file for my server, so do not want to use wso for PDP, but instead trying to write my own PDP with "balana", I can see their is a PDP class and also a Policy class, so which class to use and how to load my "policy.xml" file to…
Phalguni Mukherjee
  • 623
  • 3
  • 11
  • 29
1
vote
0 answers

How to include root resource values in XACML Response when using Multiple decision Hierarchical resource profile?

I am working with XACML 3.0. When I am using the XACML v3.0 Hierarchical Resource Profile, how can I include root resource values in the XACML Response? Ex: Customer |-->Name |-->FirstName,LastName Here,Customer is the Top root…
Nadendla
  • 712
  • 2
  • 7
  • 17
1
vote
1 answer

Error while unmarshalling xacml response?

I am trying unmarshal a xacml response using jaxb but I am getting unexpected element error. This is my Main method: String str=""+ "
Helios
  • 851
  • 2
  • 7
  • 22
1
vote
2 answers

XACML policy based on resource giving result as NotApplicable

I am creating simple policy and the format is like
Utsav
  • 1,593
  • 4
  • 22
  • 46
1
vote
1 answer

What is the best way of creating policy using XACML3.0?

I am beginner for creating XACML 3.0 policies. In my case we have multiple actions for a single resource.The permissions of a single resource will be depend upon Role.Here in my case resource in the sense like "Name" and "Actions" in the sense…
Nadendla
  • 712
  • 2
  • 7
  • 17
1
vote
1 answer
1
vote
1 answer

Does XACML distinguish between "attribute value is null" and "attribute is missing"

I am reading latest XACML specification and as far as I can see, there is no notion of null for attribute values. Is this true? So, am I right saying that AttributeDesignator with MustBePresent=false should return empty bag if requested attribute's…
torvin
  • 6,515
  • 1
  • 37
  • 52
1 2 3
8 9