Package org.wildfly.security.authz
Enum SimplePermissionMapper.MappingMode
- java.lang.Object
- 
- java.lang.Enum<SimplePermissionMapper.MappingMode>
- 
- org.wildfly.security.authz.SimplePermissionMapper.MappingMode
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<SimplePermissionMapper.MappingMode>
 - Enclosing class:
- SimplePermissionMapper
 
 public static enum SimplePermissionMapper.MappingMode extends Enum<SimplePermissionMapper.MappingMode> Mode defining behaviour when multiple mappings are found.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ANDIf multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'and'.FIRST_MATCHIf multiple mappings are found only the first will be used.ORIf multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'or'.UNLESSIf multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'unless'.XORIf multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'xor'.
 - 
Constructor SummaryConstructors Modifier Constructor Description privateMappingMode()
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static SimplePermissionMapper.MappingModevalueOf(String name)Returns the enum constant of this type with the specified name.static SimplePermissionMapper.MappingMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
FIRST_MATCHpublic static final SimplePermissionMapper.MappingMode FIRST_MATCH If multiple mappings are found only the first will be used.
 - 
ANDpublic static final SimplePermissionMapper.MappingMode AND If multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'and'. Will assign permission which would be assigned by all mappings.
 - 
ORpublic static final SimplePermissionMapper.MappingMode OR If multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'or'. Will assign permissions which would be assigned by at least one mapping.
 - 
XORpublic static final SimplePermissionMapper.MappingMode XOR If multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'xor'. Will assign permissions which would be assigned by odd amount of mappings.
 - 
UNLESSpublic static final SimplePermissionMapper.MappingMode UNLESS If multiple mappings are found the correspondingPermissionVerifierinstances will be combined using 'unless'. Will assign permissions which would be assigned by first mapping but not by others.
 
- 
 - 
Method Detail- 
valuespublic static SimplePermissionMapper.MappingMode[] 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 (SimplePermissionMapper.MappingMode c : SimplePermissionMapper.MappingMode.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static SimplePermissionMapper.MappingMode 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 name
- NullPointerException- if the argument is null
 
 
- 
 
-