提交 9e96f43c 编写于 作者: M MaxKey

#I66S79 CAS退出跳转报错问题

上级 f84e1d56
......@@ -184,7 +184,7 @@ public class CasAuthorizeEndpoint extends CasBaseAuthorizeEndpoint{
@RequestMapping(CasConstants.ENDPOINT.ENDPOINT_LOGOUT)
public ModelAndView logout(HttpServletRequest request , HttpServletResponse response,
@RequestParam(value = CasConstants.PARAMETER.SERVICE , required = false) String casService){
StringBuffer logoutUrl = new StringBuffer("force/logout");
StringBuffer logoutUrl = new StringBuffer("/force/logout");
if(StringUtils.isNotBlank(casService)){
logoutUrl.append("?").append("redirect_uri=").append(casService);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册