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
String
type, or aCollection<String>
or aCollection
of entities with a field or getter annotated withRolesValue
.Each role element is considered a comma-separated list of roles.