Package org.radarbase.auth.authorization
Enum RoleAuthority
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum RoleAuthority extends Enum<RoleAuthority> implements Serializable
Constants for Spring Security authorities.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
RoleAuthority.Scope
public class
RoleAuthority.Companion
-
Field Summary
Fields Modifier and Type Field Description private final String
authority
private final RoleAuthority.Scope
scope
public final Boolean
isPersonal
private final String
name
private final Integer
ordinal
-
Enum Constant Summary
Enum Constants Enum Constant Description SYS_ADMIN
PROJECT_ADMIN
PROJECT_OWNER
PROJECT_AFFILIATE
PROJECT_ANALYST
PARTICIPANT
INACTIVE_PARTICIPANT
ORGANIZATION_ADMIN
-
Method Summary
Modifier and Type Method Description final RoleAuthority
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<RoleAuthority>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final String
getAuthority()
final RoleAuthority.Scope
getScope()
-
-
Method Detail
-
valueOf
final RoleAuthority valueOf(String value)
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.)
-
values
final Array<RoleAuthority> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getAuthority
final String getAuthority()
-
getScope
final RoleAuthority.Scope getScope()
-
-
-
-