Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
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
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:
# 加解密根密码
jasypt
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
management
:
endpoints
:
...
...
@@ -30,6 +30,10 @@ mybatis-plus:
# spring security 配置
security
:
#client:
# client-id: pig
# client-secret: pig
# scope: server
oauth2
:
resource
:
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
/**
* 解密登录前端密码 秘钥
*/
private
String
encodeKey
=
"thanks,pig4cloud"
;
//private String encodeKey = "thanks,pig4cloud";
private
String
encodeKey
=
"thanks,yifucloud"
;
private
boolean
postOnly
=
true
;
...
...
yifu-auth/src/main/resources/application.yml
View file @
59333327
...
...
@@ -3,10 +3,11 @@ server:
# 加解密根密码
jasypt
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 前端界面秘钥
gateway
:
encode-key
:
'
thanks,pig4cloud'
#encode-key: 'thanks,pig4cloud'
encode-key
:
'
thanks,yifucloud'
# 暴露监控端点
management
:
endpoints
:
...
...
@@ -34,8 +35,8 @@ mybatis-plus:
security
:
oauth2
:
client
:
client-id
:
ENC(
27v1agvAug87ANOVnbKdsw
==)
client-secret
:
ENC(V
bnkopxrwgbFVKp+UxJ2p
g==)
client-id
:
ENC(
pRAt3XaQaL5rFZbqyWJfpQ
==)
client-secret
:
ENC(V
9n6n7YdBOc8Lx/XGM3Ir
g==)
scope
:
server
resource
:
loadBalanced
:
true
...
...
yifu-check/yifu-check-biz/src/main/resources/application.yml
View file @
59333327
...
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
jasypt
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
management
:
endpoints
:
...
...
yifu-job/yifu-job-biz/src/main/resources/application.yml
View file @
59333327
...
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
jasypt
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
management
:
endpoints
:
...
...
@@ -16,8 +16,8 @@ management:
security
:
oauth2
:
client
:
client-id
:
ENC(
27v1agvAug87ANOVnbKdsw
==)
client-secret
:
ENC(
VbnkopxrwgbFVKp+UxJ2p
g==)
client-id
:
ENC(
K5ErrbgsBtqiWfy7CpBzYg
==)
client-secret
:
ENC(
skHg7VwJV+1YWXR9RpsiB
g==)
scope
:
server
resource
:
loadBalanced
:
true
...
...
yifu-social/yifu-social-biz/src/main/resources/application.yml
View file @
59333327
...
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
jasypt
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
management
:
endpoints
:
...
...
yifu-upms/yifu-upms-biz/src/main/resources/application.yml
View file @
59333327
...
...
@@ -3,7 +3,7 @@ server:
# 加解密根密码
jasypt
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
# 暴露监控端点
management
:
endpoints
:
...
...
yifu-visual/yifu-codegen/src/main/resources/application.yml
View file @
59333327
...
...
@@ -3,13 +3,13 @@ server:
# 加解密根密码
jasypt
:
encryptor
:
password
:
pig
#根密码
password
:
yifu
#根密码
## spring security 配置
security
:
oauth2
:
client
:
client-id
:
ENC(
27v1agvAug87ANOVnbKdsw
==)
client-secret
:
ENC(
VbnkopxrwgbFVKp+UxJ2pg
==)
client-id
:
ENC(
wWI+Jy4pPr4Ejk/KUX88sQ
==)
client-secret
:
ENC(
cejw0YoLBXxtLKW3vSFjNw
==)
scope
:
server
resource
:
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