@PostMapping("/anno/register")
    @RequiresRoles(value = UserRoleCode.TENANT_ADMIN)
    public Response<Integer> register(@Validated @RequestBody UserRequest request) {
        String currentUser = LoginUserUtils.getLoginUser().getName();
        return Response.success(userService.save(request, currentUser));
    }
Anno controller, such as login, register, etc.
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/AnnoController.java