mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
Cannot call sendRedirect() after the response has been committed 无权限访问应用
This commit is contained in:
parent
16ed180073
commit
34f4cfed5f
@ -121,6 +121,7 @@ public class SingleSignOnInterceptor implements AsyncHandlerInterceptor {
|
||||
}
|
||||
_logger.debug("preHandle not have authority access " + app);
|
||||
response.sendRedirect(request.getContextPath()+"/authz/refused");
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user