@Configuration public class ServerExtConfigBean extends Object
Modifier and Type | Field and Description |
---|---|
int |
userAlwaysLoginError
用户连续登录失败次数,超过此数将自动不再被允许登录,零是不限制
|
int |
userMaxCount
系统最多能创建多少用户
|
Constructor and Description |
---|
ServerExtConfigBean() |
Modifier and Type | Method and Description |
---|---|
int |
getAuthorizeExpired() |
byte[] |
getAuthorizeKey() |
int |
getAuthorizeRenewal() |
String |
getAuthorizeToken() |
boolean |
getDisabledCaptcha()
是否禁用登录图形验证码
|
boolean |
getDisabledGuide()
是否禁用导航
|
String |
getIconFile() |
static ServerExtConfigBean |
getInstance()
单例
|
long |
getIpErrorLockTime() |
String |
getLoginTitle() |
String |
getLogoFile() |
String |
getName() |
int |
getNodeHeartSecond() |
String |
getNotificationPlacement() |
String |
getSshInitEnv() |
String |
getSubTitle() |
int |
getUploadFileTimeOut()
获取上传文件超时时间
|
String |
getUserDemoTip() |
int |
getWebApiTimeout()
最小值 10秒
|
boolean |
isH2ConsoleEnabled() |
@Value(value="${user.maxCount:10}") public int userMaxCount
@Value(value="${user.alwaysLoginError:5}") public int userAlwaysLoginError
public int getUploadFileTimeOut()
public String getSshInitEnv()
public String getAuthorizeToken()
public long getIpErrorLockTime()
public int getAuthorizeExpired()
public int getAuthorizeRenewal()
public boolean isH2ConsoleEnabled()
public byte[] getAuthorizeKey()
public int getWebApiTimeout()
public String getName()
public String getSubTitle()
public String getLoginTitle()
public String getLogoFile()
public String getIconFile()
public String getUserDemoTip()
public boolean getDisabledGuide()
public boolean getDisabledCaptcha()
public int getNodeHeartSecond()
public String getNotificationPlacement()
public static ServerExtConfigBean getInstance()
Copyright © 2017–2022. All rights reserved.