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 enumRoleAuthority.Scopepublic classRoleAuthority.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringauthorityprivate final RoleAuthority.Scopescopepublic final BooleanisPersonalprivate final Stringnameprivate final Integerordinal
-
Enum Constant Summary
Enum Constants Enum Constant Description SYS_ADMINPROJECT_ADMINPROJECT_OWNERPROJECT_AFFILIATEPROJECT_ANALYSTPARTICIPANTINACTIVE_PARTICIPANTORGANIZATION_ADMIN
-
Method Summary
Modifier and Type Method Description final RoleAuthorityvalueOf(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 StringgetAuthority()final RoleAuthority.ScopegetScope()-
-
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()
-
-
-
-