public static enum PermissionHeuristic.PermissionHeuristicType extends Enum<PermissionHeuristic.PermissionHeuristicType>
Enum Constant and Description |
---|
action
(58) action depth 1
(56) action depth 2
(54) action depth 3
(2) action depth 29
|
allow
(1) allow
|
assignedToUserNotGroup
(7200) assignment to user as opposed to group
|
personRole
(864000) person/role assignment
|
resource
(3600) direct resource assignment (120*30)
(120) indirect direct resource assignment depth 29
|
role
(432000) direct role assignment (14400 * 30)
(14400) role assignment with role depth 29
|
Modifier and Type | Method and Description |
---|---|
abstract long |
maxScore()
max score if this is assigned with 0 depth (if applicable) and nothing else)
|
abstract long |
minScore()
min score if this is assigned with 29 depth (if applicable) and nothing else, assuming 30 is max depth
|
static PermissionHeuristic.PermissionHeuristicType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PermissionHeuristic.PermissionHeuristicType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PermissionHeuristic.PermissionHeuristicType personRole
public static final PermissionHeuristic.PermissionHeuristicType role
public static final PermissionHeuristic.PermissionHeuristicType assignedToUserNotGroup
public static final PermissionHeuristic.PermissionHeuristicType resource
public static final PermissionHeuristic.PermissionHeuristicType action
public static final PermissionHeuristic.PermissionHeuristicType allow
public static PermissionHeuristic.PermissionHeuristicType[] values()
for (PermissionHeuristic.PermissionHeuristicType c : PermissionHeuristic.PermissionHeuristicType.values()) System.out.println(c);
public static PermissionHeuristic.PermissionHeuristicType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract long maxScore()
public abstract long minScore()
Copyright © 2016 Internet2. All rights reserved.