Package io.helidon.security.abac.role
Annotation Type RoleValidator.Roles
-
@Retention(RUNTIME) @Target({METHOD,TYPE}) @Documented @Inherited @Repeatable(RolesContainer.class) @AbacAnnotation public static @interface RoleValidator.Roles
A definition of "roles allowed" for a specific subject type. If user/service is in any of the roles, access will be granted.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description SubjectType
subjectType
Subject type for this restriction, defaults toSubjectType.USER
.
-
-
-
Element Detail
-
value
String[] value
Array of roles allowed for this resource.- Returns:
- roles allowed
-
-
-
subjectType
SubjectType subjectType
Subject type for this restriction, defaults toSubjectType.USER
.- Returns:
- subject type
- Default:
- io.helidon.security.SubjectType.USER
-
-