Annotation Type RolesValue


  • @Target({FIELD,METHOD})
    @Retention(RUNTIME)
    @Documented
    public @interface RolesValue

    Indicates that this field or property should be used as a source of roles for security when you store roles in a separate table from your user entity. Supports only the String type.

    Each role element is considered a comma-separated list of roles.