Enum StandardCombiningAlgorithm
- java.lang.Object
-
- java.lang.Enum<StandardCombiningAlgorithm>
-
- org.ow2.authzforce.core.pdp.impl.combining.StandardCombiningAlgorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<StandardCombiningAlgorithm>
public enum StandardCombiningAlgorithm extends Enum<StandardCombiningAlgorithm>
Utilities to handle the XACML core standard combining algorithms- Version:
- $Id: $
-
-
Enum Constant Summary
Enum Constants Enum Constant Description XACML_1_0_POLICY_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overridesXACML_1_0_POLICY_COMBINING_FIRST_APPLICABLE
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:first-applicableXACML_1_0_POLICY_COMBINING_ONLY_ONE_APPLICABLE
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:only-one-applicableXACML_1_0_POLICY_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:permit-overridesXACML_1_0_RULE_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:deny-overridesXACML_1_0_RULE_COMBINING_FIRST_APPLICABLE
urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicableXACML_1_0_RULE_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:deny-overridesXACML_1_1_POLICY_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-deny-overridesXACML_1_1_POLICY_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overridesXACML_1_1_RULE_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-deny-overridesXACML_1_1_RULE_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-permit-overridesXACML_3_0_POLICY_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:deny-overridesXACML_3_0_POLICY_COMBINING_DENY_UNLESS_PERMIT
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:deny-unless- permitXACML_3_0_POLICY_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:ordered-deny- overridesXACML_3_0_POLICY_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:ordered-permit- overridesXACML_3_0_POLICY_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:permit-overridesXACML_3_0_POLICY_COMBINING_PERMIT_UNLESS_DENY
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:permit-unless- denyXACML_3_0_RULE_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-overridesXACML_3_0_RULE_COMBINING_DENY_UNLESS_PERMIT
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-unless-permitXACML_3_0_RULE_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:ordered-deny- overridesXACML_3_0_RULE_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:ordered-deny- overridesXACML_3_0_RULE_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-overridesXACML_3_0_RULE_COMBINING_PERMIT_UNLESS_DENY
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-unless-deny
-
Field Summary
Fields Modifier and Type Field Description static org.ow2.authzforce.core.pdp.api.combining.CombiningAlgRegistry
REGISTRY
Singleton immutable instance of combining algorithm registry for standard algorithms
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getId()
static StandardCombiningAlgorithm
getInstance(String algId)
Get the standard combining algorithm with a given IDstatic StandardCombiningAlgorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static StandardCombiningAlgorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XACML_3_0_POLICY_COMBINING_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_POLICY_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:deny-overrides
-
XACML_3_0_RULE_COMBINING_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_RULE_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-overrides
-
XACML_3_0_POLICY_COMBINING_ORDERED_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_POLICY_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:ordered-deny- overrides
-
XACML_3_0_RULE_COMBINING_ORDERED_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_RULE_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:ordered-deny- overrides
-
XACML_3_0_POLICY_COMBINING_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_POLICY_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:permit-overrides
-
XACML_3_0_RULE_COMBINING_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_RULE_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-overrides
-
XACML_3_0_POLICY_COMBINING_ORDERED_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_POLICY_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:ordered-permit- overrides
-
XACML_3_0_RULE_COMBINING_ORDERED_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_3_0_RULE_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:ordered-deny- overrides
-
XACML_3_0_POLICY_COMBINING_DENY_UNLESS_PERMIT
public static final StandardCombiningAlgorithm XACML_3_0_POLICY_COMBINING_DENY_UNLESS_PERMIT
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:deny-unless- permit
-
XACML_3_0_RULE_COMBINING_DENY_UNLESS_PERMIT
public static final StandardCombiningAlgorithm XACML_3_0_RULE_COMBINING_DENY_UNLESS_PERMIT
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:deny-unless-permit
-
XACML_3_0_POLICY_COMBINING_PERMIT_UNLESS_DENY
public static final StandardCombiningAlgorithm XACML_3_0_POLICY_COMBINING_PERMIT_UNLESS_DENY
urn:oasis:names:tc:xacml:3.0:policy-combining-algorithm:permit-unless- deny
-
XACML_3_0_RULE_COMBINING_PERMIT_UNLESS_DENY
public static final StandardCombiningAlgorithm XACML_3_0_RULE_COMBINING_PERMIT_UNLESS_DENY
urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-unless-deny
-
XACML_1_0_POLICY_COMBINING_FIRST_APPLICABLE
public static final StandardCombiningAlgorithm XACML_1_0_POLICY_COMBINING_FIRST_APPLICABLE
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:first-applicable
-
XACML_1_0_RULE_COMBINING_FIRST_APPLICABLE
public static final StandardCombiningAlgorithm XACML_1_0_RULE_COMBINING_FIRST_APPLICABLE
urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:first-applicable
-
XACML_1_0_POLICY_COMBINING_ONLY_ONE_APPLICABLE
public static final StandardCombiningAlgorithm XACML_1_0_POLICY_COMBINING_ONLY_ONE_APPLICABLE
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:only-one-applicable
-
XACML_1_0_POLICY_COMBINING_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_0_POLICY_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:deny-overrides
-
XACML_1_0_RULE_COMBINING_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_0_RULE_COMBINING_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:deny-overrides
-
XACML_1_1_POLICY_COMBINING_ORDERED_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_1_POLICY_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-deny-overrides
-
XACML_1_1_RULE_COMBINING_ORDERED_DENY_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_1_RULE_COMBINING_ORDERED_DENY_OVERRIDES
urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-deny-overrides
-
XACML_1_0_POLICY_COMBINING_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_0_POLICY_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.0:policy-combining-algorithm:permit-overrides
-
XACML_1_0_RULE_COMBINING_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_0_RULE_COMBINING_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.0:rule-combining-algorithm:deny-overrides
-
XACML_1_1_POLICY_COMBINING_ORDERED_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_1_POLICY_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.1:policy-combining-algorithm:ordered-permit-overrides
-
XACML_1_1_RULE_COMBINING_ORDERED_PERMIT_OVERRIDES
public static final StandardCombiningAlgorithm XACML_1_1_RULE_COMBINING_ORDERED_PERMIT_OVERRIDES
urn:oasis:names:tc:xacml:1.1:rule-combining-algorithm:ordered-permit-overrides
-
-
Method Detail
-
values
public static StandardCombiningAlgorithm[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (StandardCombiningAlgorithm c : StandardCombiningAlgorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static StandardCombiningAlgorithm valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
public String getId()
- Returns:
- standard identifier of the algorithm, as defined in the XACML spec
-
getInstance
public static StandardCombiningAlgorithm getInstance(String algId)
Get the standard combining algorithm with a given ID- Parameters:
algId
- standard combining algorithm ID- Returns:
- StandardCombiningAlgorithm with given ID, or null if there is no standard combining algorithm with such ID
-
-