spring-framework / org.springframework.web.servlet.handler / UserRoleAuthorizationInterceptor / setAuthorizedRoles
setAuthorizedRoles
fun setAuthorizedRoles(vararg authorizedRoles: String): Unit
Set the roles that this interceptor should treat as authorized.
Parameters
authorizedRoles - array of role names