Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yifu-mvp
Project
Project
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
fangxinjiang
yifu-mvp
Commits
59333327
You need to sign in or sign up before continuing.
Commit
59333327
authored
Jul 07, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑用户不修改密码
parent
6df3d22d
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
21 additions
and
15 deletions
+21
-15
application.yml
...ives/yifu-archives-biz/src/main/resources/application.yml
+5
-1
PasswordDecoderFilter.java
...cloud/plus/v1/yifu/auth/filter/PasswordDecoderFilter.java
+2
-1
application.yml
yifu-auth/src/main/resources/application.yml
+5
-4
application.yml
yifu-check/yifu-check-biz/src/main/resources/application.yml
+1
-1
application.yml
yifu-job/yifu-job-biz/src/main/resources/application.yml
+3
-3
application.yml
...social/yifu-social-biz/src/main/resources/application.yml
+1
-1
application.yml
yifu-upms/yifu-upms-biz/src/main/resources/application.yml
+1
-1
application.yml
yifu-visual/yifu-codegen/src/main/resources/application.yml
+3
-3
No files found.
yifu-archives/yifu-archives-biz/src/main/resources/application.yml
View file @
59333327
...
@@ -3,7 +3,7 @@ server:
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
# 加解密根密码
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
# 暴露监控端点
management
:
management
:
endpoints
:
endpoints
:
...
@@ -30,6 +30,10 @@ mybatis-plus:
...
@@ -30,6 +30,10 @@ mybatis-plus:
# spring security 配置
# spring security 配置
security
:
security
:
#client:
# client-id: pig
# client-secret: pig
# scope: server
oauth2
:
oauth2
:
resource
:
resource
:
loadBalanced
:
true
loadBalanced
:
true
...
...
yifu-auth/src/main/java/com/yifu/cloud/plus/v1/yifu/auth/filter/PasswordDecoderFilter.java
View file @
59333327
...
@@ -33,7 +33,8 @@ public class PasswordDecoderFilter extends UsernamePasswordAuthenticationFilter
...
@@ -33,7 +33,8 @@ public class PasswordDecoderFilter extends UsernamePasswordAuthenticationFilter
/**
/**
* 解密登录前端密码 秘钥
* 解密登录前端密码 秘钥
*/
*/
private
String
encodeKey
=
"thanks,pig4cloud"
;
//private String encodeKey = "thanks,pig4cloud";
private
String
encodeKey
=
"thanks,yifucloud"
;
private
boolean
postOnly
=
true
;
private
boolean
postOnly
=
true
;
...
...
yifu-auth/src/main/resources/application.yml
View file @
59333327
...
@@ -3,10 +3,11 @@ server:
...
@@ -3,10 +3,11 @@ server:
# 加解密根密码
# 加解密根密码
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 前端界面秘钥
# 前端界面秘钥
gateway
:
gateway
:
encode-key
:
'
thanks,pig4cloud'
#encode-key: 'thanks,pig4cloud'
encode-key
:
'
thanks,yifucloud'
# 暴露监控端点
# 暴露监控端点
management
:
management
:
endpoints
:
endpoints
:
...
@@ -34,8 +35,8 @@ mybatis-plus:
...
@@ -34,8 +35,8 @@ mybatis-plus:
security
:
security
:
oauth2
:
oauth2
:
client
:
client
:
client-id
:
ENC(
27v1agvAug87ANOVnbKdsw
==)
client-id
:
ENC(
pRAt3XaQaL5rFZbqyWJfpQ
==)
client-secret
:
ENC(V
bnkopxrwgbFVKp+UxJ2p
g==)
client-secret
:
ENC(V
9n6n7YdBOc8Lx/XGM3Ir
g==)
scope
:
server
scope
:
server
resource
:
resource
:
loadBalanced
:
true
loadBalanced
:
true
...
...
yifu-check/yifu-check-biz/src/main/resources/application.yml
View file @
59333327
...
@@ -3,7 +3,7 @@ server:
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
# 加解密根密码
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
# 暴露监控端点
management
:
management
:
endpoints
:
endpoints
:
...
...
yifu-job/yifu-job-biz/src/main/resources/application.yml
View file @
59333327
...
@@ -3,7 +3,7 @@ server:
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
# 加解密根密码
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
# 暴露监控端点
management
:
management
:
endpoints
:
endpoints
:
...
@@ -16,8 +16,8 @@ management:
...
@@ -16,8 +16,8 @@ management:
security
:
security
:
oauth2
:
oauth2
:
client
:
client
:
client-id
:
ENC(
27v1agvAug87ANOVnbKdsw
==)
client-id
:
ENC(
K5ErrbgsBtqiWfy7CpBzYg
==)
client-secret
:
ENC(
VbnkopxrwgbFVKp+UxJ2p
g==)
client-secret
:
ENC(
skHg7VwJV+1YWXR9RpsiB
g==)
scope
:
server
scope
:
server
resource
:
resource
:
loadBalanced
:
true
loadBalanced
:
true
...
...
yifu-social/yifu-social-biz/src/main/resources/application.yml
View file @
59333327
...
@@ -3,7 +3,7 @@ server:
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
# 加解密根密码
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
# 暴露监控端点
management
:
management
:
endpoints
:
endpoints
:
...
...
yifu-upms/yifu-upms-biz/src/main/resources/application.yml
View file @
59333327
...
@@ -3,7 +3,7 @@ server:
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
# 加解密根密码
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
# 暴露监控端点
management
:
management
:
endpoints
:
endpoints
:
...
...
yifu-visual/yifu-codegen/src/main/resources/application.yml
View file @
59333327
...
@@ -3,13 +3,13 @@ server:
...
@@ -3,13 +3,13 @@ server:
# 加解密根密码
# 加解密根密码
jasypt
:
jasypt
:
encryptor
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
## spring security 配置
## spring security 配置
security
:
security
:
oauth2
:
oauth2
:
client
:
client
:
client-id
:
ENC(
27v1agvAug87ANOVnbKdsw
==)
client-id
:
ENC(
wWI+Jy4pPr4Ejk/KUX88sQ
==)
client-secret
:
ENC(
VbnkopxrwgbFVKp+UxJ2pg
==)
client-secret
:
ENC(
cejw0YoLBXxtLKW3vSFjNw
==)
scope
:
server
scope
:
server
resource
:
resource
:
loadBalanced
:
true
loadBalanced
:
true
...
...
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