The function not in XACML asks for a boolean argument. However, I want to express a policy like "not string" such as "not male". I can't use "not gender == male" to instead that. I searched google and stackoverflow, but I failed to solve this problem. How could I do that?
XACML - How to express "not male" rather than "not gender == male"
116 Views Asked by Longxing Wei At
1
There are 1 best solutions below
Related Questions in XACML
- XACML policy that needs to evaluate based on different PiPs
- XACML trying to pull any of a list of values from azure roles
- How to configure a Policy engine and calculate attributes based on risk score Algorithm?
- How to express pagination in attribute based access control?
- Representing complex data types in XACML using Authzforce
- Obtain all Obligations from all the policies
- I am writing a ALFA policy for a case where I need to assign a value as empty string in my code. How to define empty string array
- Authzforce - XACML AttributeSelector
- XACML Obligations in sun's XACML implementation
- Using conversion-functions in XACML
- How does missing-attribute work in XACML?
- How i can send certificate for EAP-authentication to authzforce?Or how i can configured authzforce for it?
- How can I use subject-conflicts in a Authzforce request?
- How to convert CSV or XML to XACML based on Role Based Access Controll(RBAC)?
- How to convert CSV or XML to XACML?
Related Questions in ALFA
- XACML policy that needs to evaluate based on different PiPs
- I am writing a ALFA policy for a case where I need to assign a value as empty string in my code. How to define empty string array
- Using conversion-functions in XACML
- XML (XACML) Syntax Error - String Literal was Expected
- In wso2 IS XACML policy how to validate role and its permissions
- Is there a way to define variables externally from XACML policy and refer them from inside the policy rules
- How can I write a "If..then" condition in Axiomatics
- Why combining algorithms in access control?
- URL accessible at specific hours only XACML
- XACML: how to find a long in a list of longs (list contains)
- What can I use as a XACML PDP?
- How to implement an ABAC policy using RoR
- Xacml policy test occurence of string in string bag
- What is the difference between Policy Target and Rule Target in ALFA or XACML?
- Understanding how XACML 3.0 attribute values are evaluated against a rule
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
When you send a XACML request, you always send a set of attributes with one or more values. You would either send:
Either way you still send an attribute. In one case the value is a string. In the other the value is a string. In the explanation below, I take the string approach. If you want the boolean approach, just replace gender=="male" with male.
Note that in XACML, attributes may possibly not have a value. This makes XACML booleans more than just boolean. Male could be true, false, or undefined. Keep that in mind when you write a policy / rule.
To express negative conditions e.g. not(gender==male), you have two options:
In the former case you can write the following (pseudo-code in ALFA):
In the latter case, you need to write a negative condition. To do that you need to use a XACML condition. Since XACML conditions only live inside rules, you need to go down to the XACML Rule level.