Commit 59333327 authored by fangxinjiang's avatar fangxinjiang

编辑用户不修改密码

parent 6df3d22d
...@@ -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
......
...@@ -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;
......
...@@ -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(VbnkopxrwgbFVKp+UxJ2pg==) client-secret: ENC(V9n6n7YdBOc8Lx/XGM3Irg==)
scope: server scope: server
resource: resource:
loadBalanced: true loadBalanced: true
......
...@@ -3,7 +3,7 @@ server: ...@@ -3,7 +3,7 @@ server:
# 加解密根密码 # 加解密根密码
jasypt: jasypt:
encryptor: encryptor:
password: pig #根密码 password: yifu #根密码
# 暴露监控端点 # 暴露监控端点
management: management:
endpoints: endpoints:
......
...@@ -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+UxJ2pg==) client-secret: ENC(skHg7VwJV+1YWXR9RpsiBg==)
scope: server scope: server
resource: resource:
loadBalanced: true loadBalanced: true
......
...@@ -3,7 +3,7 @@ server: ...@@ -3,7 +3,7 @@ server:
# 加解密根密码 # 加解密根密码
jasypt: jasypt:
encryptor: encryptor:
password: pig #根密码 password: yifu #根密码
# 暴露监控端点 # 暴露监控端点
management: management:
endpoints: endpoints:
......
...@@ -3,7 +3,7 @@ server: ...@@ -3,7 +3,7 @@ server:
# 加解密根密码 # 加解密根密码
jasypt: jasypt:
encryptor: encryptor:
password: pig #根密码 password: yifu #根密码
# 暴露监控端点 # 暴露监控端点
management: management:
endpoints: endpoints:
......
...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment