mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 11:38:11 +08:00
feat(X-Pack): 增加默认登录方式配置功能
This commit is contained in:
@@ -9,4 +9,5 @@ public class XpackSettingConstants {
|
||||
public static final String PLATFORM_RID = "basic.platformRid";
|
||||
public static final String DIP = "basic.dip";
|
||||
public static final String PVP = "basic.pvp";
|
||||
public static final String DEFAULT_LOGIN = "basic.defaultLogin";
|
||||
}
|
||||
|
||||
@@ -13,7 +13,8 @@ public class SystemSettingUtils {
|
||||
XpackSettingConstants.PLATFORM_OID,
|
||||
XpackSettingConstants.DIP,
|
||||
XpackSettingConstants.PVP,
|
||||
XpackSettingConstants.PLATFORM_RID);
|
||||
XpackSettingConstants.PLATFORM_RID,
|
||||
XpackSettingConstants.DEFAULT_LOGIN);
|
||||
return xpackSettingList.contains(pkey);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,6 +42,7 @@ public class WhitelistUtils {
|
||||
"/sysParameter/requestTimeOut",
|
||||
"/setting/authentication/status",
|
||||
"/sysParameter/ui",
|
||||
"/sysParameter/defaultLogin",
|
||||
"/embedded/initIframe",
|
||||
"/");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user