<%@ page contentType="text/html; charset=UTF-8" %>
<% 
  System.out.println("单点退出中...........");
  //session.invalidate();
  %>
<html>
<head> 
<title>系统正在退出登录，请稍候...</title>
</head>
<body>
<iframe src="http://portal.jfbrother.com:9003/jfV5portal/logout" style="display: none"></iframe>
<iframe src="http://base.portal.jfbrother.com:9003/jfV4platform/logout" style="display: none"></iframe>
<iframe src="http://bi.jfbrother.com:9003/fastBI/logout" style="display: none"></iframe>
<iframe src="http://pc.jfbrother.com:9003/jfV5pc/logout" style="display: none"></iframe>
<iframe src="http://fwqjk.jfbrother.com:9003/jfV5fwqjk/logout" style="display: none"></iframe>
<iframe src="http://report.jfbrother.com:9003/jfV5report/logout" style="display: none"></iframe>
</body>
<script type="text/javascript">
	function getUrl() {
		var hostname = location.href;
		hostname = hostname.replace("logoutcas.jsp", "jfcas");
		return hostname;
	}
    //登录中心url
    var loginCenter = "http://cas.jfbrother.com:9003/cas-jfsso";
    
	var loginUrl = loginCenter + "/login?service=" + getUrl();
	//alert("开始登出:"+loginUrl);
	location.href = loginCenter + "/logout?service=" + loginUrl;

</script>
</html>