Commit 59333327 authored by fangxinjiang's avatar fangxinjiang

编辑用户不修改密码

parent 6df3d22d
......@@ -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
......
......@@ -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;
......
......@@ -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(VbnkopxrwgbFVKp+UxJ2pg==)
client-id: ENC(pRAt3XaQaL5rFZbqyWJfpQ==)
client-secret: ENC(V9n6n7YdBOc8Lx/XGM3Irg==)
scope: server
resource:
loadBalanced: true
......
......@@ -3,7 +3,7 @@ server:
# 加解密根密码
jasypt:
encryptor:
password: pig #根密码
password: yifu #根密码
# 暴露监控端点
management:
endpoints:
......
......@@ -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+UxJ2pg==)
client-id: ENC(K5ErrbgsBtqiWfy7CpBzYg==)
client-secret: ENC(skHg7VwJV+1YWXR9RpsiBg==)
scope: server
resource:
loadBalanced: true
......
......@@ -3,7 +3,7 @@ server:
# 加解密根密码
jasypt:
encryptor:
password: pig #根密码
password: yifu #根密码
# 暴露监控端点
management:
endpoints:
......
......@@ -3,7 +3,7 @@ server:
# 加解密根密码
jasypt:
encryptor:
password: pig #根密码
password: yifu #根密码
# 暴露监控端点
management:
endpoints:
......
......@@ -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
......
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