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
2 answers

Is XACML still under maintenance

Currently i'm working in a on-line payment company, i need to implement a access control system. I used XACML for experimental purpose 2 years ago, and used it in a management system(based on Balana's XACML implementation). I noticed XACML Version 3…
telmo
  • 153
  • 8
2
votes
1 answer

How to integrate Wso2 IS xacml with java MVC application

I am trying to implement Wso2 identity server's XACML based access control with the JAVA MVC application. Use Case : User logs in and view only selected pages/menus(and also the action on these page ex.view,post,delete etc.) defined in the XACML…
2
votes
1 answer

Generating XACML advice string dynamically in a policy or rule

Is there a way to generate the Advice or Obligation string returned in the XACML response dynamically dependent on the attributes used in the evaluation(e.g. environment)? For example, through an extension which implements the logic.
Hos
  • 447
  • 4
  • 11
2
votes
1 answer

Using XACML to control access to a SCIM API

How can I apply XACML access control policies against the Identity Server's very own SCIM API? My idea is that I want the user to be able to access the user's SCIM endpoint (list endpoint), but it will only return the user itself as the only result…
2
votes
1 answer

Not able to import XACML policy in wso2is-5.1.0

I am trying to upload below given XACML policy in wso2is-5.1.0. I am getting "Policy uploading failed. Invalid Entitlement Policy. Policy is not valid according to XACML schema" error message. I am not able to figure out, what is the problem with my…
Abhishek
  • 315
  • 5
  • 18
2
votes
1 answer

Dynamic change of XACML policies in WSO2

Is it possible to create XACML policy and upload in WSO2 identity server(PDP) programmatically? I want to create and upload policy in WSO2 identity server(PDP) but i do not want to use WSO2 Management Console screen for creating and uploading…
Abhishek
  • 315
  • 5
  • 18
2
votes
1 answer

Why both PolicySet and Policy are needed?

I've read through the 3.0 specs and had a question here: I found PolicySet and Policy share many similarities like the combining algorithms, etc. And to accommodate more levels, PolicySet also can be self-containable. If so, why not merge PolicySet…
hsluoyz
  • 2,739
  • 5
  • 35
  • 59
2
votes
1 answer

XACML - can a Condition and Target co-live in the same Rule?

I'd like to know if under XACML V.3 is a chance to co-live a and section placed inside the same rule. It looks like the XLS schema validation is rejecting such a construction. Could this error be explained by the statement…
Claude Falbriard
  • 925
  • 8
  • 27
2
votes
1 answer

Can we have multiple actions in a single XACML request, if yes how?

Consider I am having following sample xacml request. How can i modify the same to evaluate on multiple decisions on multiple actions.
swapy
  • 290
  • 2
  • 9
2
votes
2 answers

WSO2 Identity XACML - Support for Condition Statement?

Having issues with the XACML Version 3 syntax validator inside the WSO2 XML editor, which rejects insertion of a statement. I plan to add an attribute list in place of a single attribute check. Below a printout of the statements that gets rejected…
Claude Falbriard
  • 925
  • 8
  • 27
2
votes
0 answers

balana custom AttributeFinderModule never called

After checking out the k-market sample from balana (http://svn.wso2.org/repos/wso2/trunk/commons/balana/modules/balana-samples/kmarket-trading-sample/) i wanted to create a similar sample project. I have created the following 2 classes. The balana…
odyd
  • 194
  • 1
  • 2
  • 13
2
votes
0 answers

Error During Creating XACML3 policy using Balana Code

I just want to create a simple policy using Balana code in very simple and basic steps ! This policy contain only one resource and one rule just to see how policies can be created in Balana!. and this is my code MatchElementDTO medto = new…
Amir Ali
  • 225
  • 1
  • 9
2
votes
2 answers

XACML PolicySet and Request with example

I am new in XACML.I am planing to implement RBAC in our organization applications using XACML policy and Wso2 ID server. I had read many articles on creating different different XACML policy using wso2 and I also try many policy example.but after go…
SSKhan
  • 380
  • 4
  • 9
2
votes
2 answers

What is the meaning of urn:oasis:names:tc:xacml:3.0:function:string-contains?

I would like to know the explanation of below function urn:oasis:names:tc:xacml:3.0:function:string-contains I have a requirement that the user ID string needs to compared with strings containing Suresh, suresh pelluru, Suresh prakash, Suresh Group…
2
votes
2 answers

XACML compare two request attributes.

My xacml request contains two attributes which I want to compare as part of a policy's condition. They are: urn:oasis:names:tc:xacml:1.0:subject:group-id urn:oasis:names:tc:xacml:1.0:resource:resource-id All the policy examples I've found compare…
bwgz57
  • 51
  • 4
1
2
3
8 9