📅  最后修改于: 2022-03-11 14:58:11.850000             🧑  作者: Mango
hasAnyRole()
When you need to support multiple roles, you can use the hasAnyRole() expression.
@PreAuthorize("hasAnyRole('ADMIN','DB-ADMIN')")