Commit 0cc41607 by 周添尉

单点地址

parent 2c22f158
......@@ -68,13 +68,16 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j
<filter-name>CASFilter</filter-name>
<filter-class>org.jasig.cas.client.authentication.AuthenticationFilter</filter-class>
<init-param>
<param-name>casServerLoginUrl</param-name>
<param-value>http://cas.jfbrother.com:9003/cas-jfsso/login</param-value><!-- cas 服务器登录 地址 http://IP:PORT/CasWebProName/login -->
<!-- <param-name>casServerLoginUrl</param-name>
<param-value>http://localhost:8080/cas-jfsso/login</param-value> --><!-- cas 服务器登录 地址 http://IP:PORT/CasWebProName/login -->
<param-name>casServerLoginUrl</param-name>
<param-value>http://cas.jfbrother.com/cas-jfsso/login</param-value><!-- cas 服务器登录 地址 http://IP:PORT/CasWebProName/login -->
</init-param>
<init-param>
<!-- 这里的server是服务端的IP -->
<param-name>serverName</param-name>
<param-value>http://localhost:8080</param-value><!-- 客户端服务器地址 http://IP:PORT -->
<!-- <param-value>http://portal.jfbrother.com:9003</param-value>客户端服务器地址 http://IP:PORT -->
<param-value>localhost:8080</param-value>
</init-param>
</filter>
<filter-mapping>
......@@ -89,11 +92,13 @@ xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j
<filter-class>org.jasig.cas.client.validation.Cas20ProxyReceivingTicketValidationFilter</filter-class>
<init-param>
<param-name>casServerUrlPrefix</param-name>
<param-value>http://cas.jfbrother.com:9003/cas-jfsso</param-value><!-- cas 服务器地址 http://IP:PORT/CasWebProName -->
<!-- <param-value>http://localhost:8080/cas-jfsso</param-value> --><!-- cas 服务器地址 http://IP:PORT/CasWebProName -->
<param-value>http://cas.jfbrother.com/cas-jfsso</param-value>
</init-param>
<init-param>
<param-name>serverName</param-name>
<param-value>http://localhost:8080</param-value><!-- 客户端服务器地址 http://IP:PORT -->
<!-- <param-value>http://portal.jfbrother.com:9003</param-value>客户端服务器地址 http://IP:PORT -->
<param-value>localhost:8080</param-value>
</init-param>
</filter>
<filter-mapping>
......
......@@ -17,7 +17,7 @@
return hostname;
}
//登录中心url
var loginCenter = "http://localhost:8080/cas-jfsso";
var loginCenter = "http://cas.jfbrother.com/cas-jfsso";
var loginUrl = loginCenter + "/login?service=" + getUrl();
//alert("开始登出:"+loginUrl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment