Package io.quarkus.security.jpa
Annotation Type Roles
-
@Target({FIELD,METHOD}) @Retention(RUNTIME) @Documented public @interface Roles
Indicates that this field or property should be used as a source of roles for security. Supports the
Stringtype, or aCollection<String>or aCollectionof entities with a field or getter annotated withRolesValue.Each role element is considered a comma-separated list of roles.