Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
smileNicky
taoshop
提交
b1a14d35
T
taoshop
项目概览
smileNicky
/
taoshop
通知
4
Star
1
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
4
列表
看板
标记
里程碑
合并请求
2
Wiki
1
Wiki
分析
仓库
DevOps
项目成员
Pages
T
taoshop
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
4
Issue
4
列表
看板
标记
里程碑
合并请求
2
合并请求
2
Pages
分析
分析
仓库分析
DevOps
Wiki
1
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
b1a14d35
编写于
8月 12, 2018
作者:
N
nicky
提交者:
u014427391
8月 12, 2018
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
加入cas单点登录
上级
3714a0a5
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
31 addition
and
4 deletion
+31
-4
src/taoshop-portal/pom.xml
src/taoshop-portal/pom.xml
+11
-4
src/taoshop-portal/src/main/webapp/WEB-INF/web.xml
src/taoshop-portal/src/main/webapp/WEB-INF/web.xml
+20
-0
未找到文件。
src/taoshop-portal/pom.xml
浏览文件 @
b1a14d35
...
...
@@ -18,6 +18,7 @@
<properties>
<poi.version>
3.7
</poi.version>
<cas.client.version>
3.4.1
</cas.client.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
</properties>
...
...
@@ -58,20 +59,26 @@
<artifactId>
spring-boot-starter-thymeleaf
</artifactId>
</dependency>
<!--
poi start
-->
<!--
Apache POI
-->
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi
</artifactId>
<version>
${poi.version}
</version>
</dependency>
<!-- poi end-->
<!-- email
start
-->
<!-- email -->
<dependency>
<groupId>
com.sun.mail
</groupId>
<artifactId>
javax.mail
</artifactId>
<version>
1.5.6
</version>
</dependency>
<!-- email end-->
<!-- cas client-->
<dependency>
<groupId>
org.jasig.cas.client
</groupId>
<artifactId>
cas-client-core
</artifactId>
<version>
${cas.client.version}
</version>
</dependency>
</dependencies>
...
...
src/taoshop-portal/src/main/webapp/WEB-INF/web.xml
浏览文件 @
b1a14d35
...
...
@@ -4,4 +4,24 @@
<web-app>
<display-name>
Archetype Created Web Application
</display-name>
<!-- ***************** 单点登录start *******************-->
<!-- 单点登出监听器-->
<listener>
<listener-class>
org.jasig.cas.client.session.SingleSignOutHttpSessionListener
</listener-class>
</listener>
<filter>
<filter-name>
CAS Single Sign Out Filter
</filter-name>
<filter-class>
org.jasig.cas.client.session.SingleSignOutFilter
</filter-class>
<init-param>
<param-name>
casServerUrlPrefix
</param-name>
<param-value>
http://127.0.0.1:8080/cas-server/
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>
CAS Single Sign Out Filter
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
</web-app>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录