mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
#I66S79 CAS退出跳转报错问题
This commit is contained in:
parent
f84e1d5607
commit
9e96f43c00
@ -184,7 +184,7 @@ public class CasAuthorizeEndpoint extends CasBaseAuthorizeEndpoint{
|
|||||||
@RequestMapping(CasConstants.ENDPOINT.ENDPOINT_LOGOUT)
|
@RequestMapping(CasConstants.ENDPOINT.ENDPOINT_LOGOUT)
|
||||||
public ModelAndView logout(HttpServletRequest request , HttpServletResponse response,
|
public ModelAndView logout(HttpServletRequest request , HttpServletResponse response,
|
||||||
@RequestParam(value = CasConstants.PARAMETER.SERVICE , required = false) String casService){
|
@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)){
|
if(StringUtils.isNotBlank(casService)){
|
||||||
logoutUrl.append("?").append("redirect_uri=").append(casService);
|
logoutUrl.append("?").append("redirect_uri=").append(casService);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user