答案是:子系統會同步登出。
可以跟蹤源碼(這裏cas版本是4.x)
調用流程如下:
terminateSessionAction.terminate(flowRequestContext)
centralAuthenticationService.destroyTicketGrantingTicket(tgtId)
實現類CentralAuthenticationServiceImpl.destroyTicketGrantingTicket(tgtId)
logoutManager.performLogout(ticket);
實現類LogoutManagerImpl.performLogout(ticket);
handleLogoutForSloService((SingleLogoutService) service, entry.getKey());
performBackChannelLogout(logoutRequest)
httpClient.sendMessageToEndPoint(msg);
最後調用了httpClient通知子系統,子系統終結本地session。