open class UserRoleAuthorizationInterceptor : HandlerInterceptorAdapter
Interceptor that checks the authorization of the current user via the user's roles, as evaluated by HttpServletRequest's isUserInRole method.
Author
Juergen Hoeller
Since
20.06.2003
See Also
javax.servlet.http.HttpServletRequest#isUserInRole
UserRoleAuthorizationInterceptor()
Interceptor that checks the authorization of the current user via the user's roles, as evaluated by HttpServletRequest's isUserInRole method. |
fun preHandle(request: HttpServletRequest, response: HttpServletResponse, handler: Any): Boolean |
|
fun setAuthorizedRoles(vararg authorizedRoles: String): Unit
Set the roles that this interceptor should treat as authorized. |