Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jfV5portal
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
管理员
jfV5portal
Commits
0cc41607
Commit
0cc41607
authored
Aug 31, 2018
by
周添尉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
单点地址
parent
2c22f158
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
web.xml
WebContent/WEB-INF/web.xml
+10
-5
logoutcas.jsp
WebContent/logoutcas.jsp
+1
-1
No files found.
WebContent/WEB-INF/web.xml
View file @
0cc41607
...
...
@@ -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>
...
...
WebContent/logoutcas.jsp
View file @
0cc41607
...
...
@@ -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);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment