Annotation Type IsAuthorizedAdmin


  • @Target(METHOD)
    @Retention(RUNTIME)
    @PreAuthorize("hasRole(\'ROLE_ADMINGROUP\')")
    public @interface IsAuthorizedAdmin
    Annotation for securing rest endpoints.
    Only users that have role admin can access this endpoint.