Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
smileNicky
jeeplatform
提交
d1e5bbd5
J
jeeplatform
项目概览
smileNicky
/
jeeplatform
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
5
列表
看板
标记
里程碑
合并请求
4
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jeeplatform
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
5
Issue
5
列表
看板
标记
里程碑
合并请求
4
合并请求
4
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
d1e5bbd5
编写于
6月 02, 2019
作者:
N
Nicky.Ma
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ticket存在Redis,用开源的cas-server-integration-redis
上级
b6651b51
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
8 addition
and
57 deletion
+8
-57
code/jeeplatform-admin/src/main/java/org/muses/jeeplatform/core/CASConsts.java
...n/src/main/java/org/muses/jeeplatform/core/CASConsts.java
+2
-2
code/jeeplatform-sso/pom.xml
code/jeeplatform-sso/pom.xml
+1
-1
code/jeeplatform-sso/src/main/webapp/cas.properties
code/jeeplatform-sso/src/main/webapp/cas.properties
+1
-1
code/pom.xml
code/pom.xml
+4
-53
未找到文件。
code/jeeplatform-admin/src/main/java/org/muses/jeeplatform/core/CASConsts.java
浏览文件 @
d1e5bbd5
...
...
@@ -15,13 +15,13 @@ public class CASConsts {
/* CAS单点登录配置 */
//Cas server地址
public
static
final
String
CAS_SERVER_URL_PREFIX
=
"http://
localhost
:8080/cas"
;
public
static
final
String
CAS_SERVER_URL_PREFIX
=
"http://
127.0.0.1
:8080/cas"
;
//Cas单点登录地址
public
static
final
String
CAS_LOGIN_URL
=
CAS_SERVER_URL_PREFIX
+
"/login"
;
//CAS单点登出地址
public
static
final
String
CAS_LOGOUT_URL
=
CAS_SERVER_URL_PREFIX
+
"/logout"
;
//对外提供的服务地址
public
static
final
String
SERVER_URL_PREFIX
=
"http://
localhost
:8081"
;
public
static
final
String
SERVER_URL_PREFIX
=
"http://
127.0.0.1
:8081"
;
//Cas过滤器的urlPattern
public
static
final
String
CAS_FILTER_URL_PATTERN
=
"/jeeplatform"
;
//CAS客户端单点登录跳转地址
...
...
code/jeeplatform-sso/pom.xml
浏览文件 @
d1e5bbd5
...
...
@@ -91,7 +91,7 @@
<!-- 保存Ticket到redis-->
<dependency>
<groupId>
ren.boot
</groupId>
<groupId>
com.github.izerui
</groupId>
<artifactId>
cas-server-integration-redis
</artifactId>
<version>
${cas.integration.redis.version}
</version>
</dependency>
...
...
code/jeeplatform-sso/src/main/webapp/cas.properties
浏览文件 @
d1e5bbd5
...
...
@@ -24,7 +24,7 @@
# Redis registry config
redis.hostName
=
127.0.0.1
redis.database
=
0
redis.password
=
2ImXkZHYsZkORpSbjAqcv
redis.password
=
redis.port
=
6379
##
...
...
code/pom.xml
浏览文件 @
d1e5bbd5
...
...
@@ -236,67 +236,18 @@
</repository>
<repository>
<id>
oschina-repos
</id>
<name>
Oschina Releases
</name>
<url>
http://maven.oschina.net/content/groups/public
</url>
</repository>
<repository>
<id>
java-repos
</id>
<name>
Java Repository
</name>
<url>
https://maven.java.net/content/repositories/public/
</url>
</repository>
<repository>
<id>
JBoss-repos
</id>
<name>
JBoss Repository
</name>
<url>
http://repository.jboss.org/nexus/content/groups/public/
</url>
</repository>
<repository>
<id>
springsource-repos
</id>
<name>
SpringSource Repository
</name>
<url>
http://repo.spring.io/release/
</url>
</repository>
<repository>
<id>
central-repos
</id>
<name>
Central Repository
</name>
<url>
http://repo.maven.apache.org/maven2
</url>
</repository>
<repository>
<id>
central-repos2
</id>
<name>
Central Repository 2
</name>
<url>
http://repo1.maven.org/maven2/
</url>
</repository>
<repository>
<id>
activiti-repos
</id>
<name>
Activiti Repository
</name>
<url>
https://maven.alfresco.com/nexus/content/groups/public
</url>
</repository>
<repository>
<id>
activiti-repos2
</id>
<name>
Activiti Repository 2
</name>
<url>
https://app.camunda.com/nexus/content/groups/public
</url>
</repository>
<repository>
<id>
easonjim-repos
</id>
<name>
EasonJim Repository
</name>
<url>
https://raw.github.com/easonjim/repository/master
</url>
<id>
jitpack.io
</id>
<url>
https://jitpack.io
</url>
</repository>
</repositories>
<!-- 设定插件仓库 -->
<
!--<
pluginRepositories>
<pluginRepositories>
<pluginRepository>
<id>
pluginsRepos
</id>
<name>
PluginsRepository
</name>
<url>
http://maven.aliyun.com/nexus/content/groups/public
</url>
</pluginRepository>
</pluginRepositories>
-->
</pluginRepositories>
</project>
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录