@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 |
---|---|
String |
getAuthorizeToken() |
int |
getH2DbLogStorageCount() |
static ServerExtConfigBean |
getInstance()
单例
|
long |
getIpErrorLockTime() |
@Value(value="${user.maxCount:10}") public int userMaxCount
@Value(value="${user.alwaysLoginError:5}") public int userAlwaysLoginError
public String getAuthorizeToken()
public long getIpErrorLockTime()
public int getH2DbLogStorageCount()
public static ServerExtConfigBean getInstance()
Copyright © 2017–2019. All rights reserved.