Package io.helidon.security.abac.role
Annotation Interface RoleValidator.Roles
- Enclosing class:
- RoleValidator
@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.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionSubject type for this restriction, defaults toSubjectType.USER
.
-
Element Details
-
value
String[] valueArray of roles allowed for this resource.- Returns:
- roles allowed
-
-
-
subjectType
SubjectType subjectTypeSubject type for this restriction, defaults toSubjectType.USER
.- Returns:
- subject type
- Default:
- USER
-