Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jeecg-boot
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
jeecg-boot
Commits
5a01d858
Commit
5a01d858
authored
Sep 15, 2020
by
zhangdaiscott
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决2.3严重权限问题: issues/1740 JAVA访问权限控制 无法使用的问题
parent
4570a21a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
jeecg-boot/jeecg-boot-base-common/src/main/java/org/jeecg/common/constant/CommonConstant.java
+6
-1
No files found.
jeecg-boot/jeecg-boot-base-common/src/main/java/org/jeecg/common/constant/CommonConstant.java
View file @
5a01d858
...
...
@@ -72,7 +72,7 @@ public interface CommonConstant {
public
static
final
Integer
SC_JEECG_NO_AUTHZ
=
510
;
/** 登录用户Shiro权限缓存KEY前缀 */
public
static
String
PREFIX_USER_SHIRO_CACHE
=
"shiro:cache:org.jeecg.
modules.shiro.authc
.ShiroRealm.authorizationCache:"
;
public
static
String
PREFIX_USER_SHIRO_CACHE
=
"shiro:cache:org.jeecg.
config.shiro
.ShiroRealm.authorizationCache:"
;
/** 登录用户Token令牌缓存KEY前缀 */
public
static
final
String
PREFIX_USER_TOKEN
=
"prefix_user_token_"
;
/** Token缓存时间:3600秒即一小时 */
...
...
@@ -300,4 +300,9 @@ public interface CommonConstant {
* 微服务读取配置文件属性 服务地址
*/
public
final
static
String
CLOUD_SERVER_KEY
=
"spring.cloud.nacos.discovery.server-addr"
;
/**
* 第三方登录 验证密码/创建用户 都需要设置一个操作码 防止被恶意调用
*/
public
final
static
String
THIRD_LOGIN_CODE
=
"third_login_code"
;
}
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