mirror of https://gitee.com/stylefeng/roses
parent
78e7844de3
commit
0e3aee9c5c
|
@ -77,11 +77,6 @@ public interface AuthConstants {
|
|||
*/
|
||||
String KAPTCHA_SESSION_KEY = "KAPTCHA_SESSION_KEY";
|
||||
|
||||
/**
|
||||
* 默认解析jwt的秘钥(用于解析sso传过来的token)
|
||||
*/
|
||||
String SYS_AUTH_SSO_JWT_SECRET = "aabbccdd";
|
||||
|
||||
/**
|
||||
* 默认解密sso单点中jwt中payload的秘钥
|
||||
*/
|
||||
|
|
|
@ -101,16 +101,6 @@ public class AuthConfigExpander {
|
|||
return ConfigContext.me().getSysConfigValueWithDefault("SYS_SESSION_EXPIRED_SECONDS", Long.class, 3600L);
|
||||
}
|
||||
|
||||
/**
|
||||
* 默认解析jwt的秘钥(用于解析sso传过来的token)
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @since 2021/5/25 22:39
|
||||
*/
|
||||
public static String getSsoJwtSecret() {
|
||||
return ConfigContext.me().getSysConfigValueWithDefault("SYS_AUTH_SSO_JWT_SECRET", String.class, SYS_AUTH_SSO_JWT_SECRET);
|
||||
}
|
||||
|
||||
/**
|
||||
* 默认解析sso加密的数据的秘钥
|
||||
*
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
delete from sys_config where config_code = 'SYS_AUTH_SSO_JWT_SECRET';
|
||||
UPDATE `sys_dict` SET `dict_name` = '单点客户端配置' WHERE `dict_id` = 1526221204984197121;
|
Loading…
Reference in New Issue