public class CommonAuthenticController extends AbstractAuthenticController
限定符和类型 | 字段和说明 |
---|---|
static CommonAuthenticController |
KEY |
限定符和类型 | 方法和说明 |
---|---|
void |
checkUserTypeAvailable(User user,
Device device)
检查用户类型,是否可以登录平台。
|
boolean |
doAuthentication(User user,
java.lang.String password,
Device device)
用户登录认证(含设备类型)
|
boolean |
isPasswordChangeable()
是否可以修改密码
|
boolean |
needLock()
是否需要登录锁定处理
|
void |
throwUserLoginLockException(java.lang.String timeInterval)
登录锁定异常提示
|
dealWithLoginLock, dealWithPasswordError, dealWithSliderVerification, doAuthentication, logoutSingleLoginInvalidUser, verifySingleLoginStatus
public static final CommonAuthenticController KEY
public boolean doAuthentication(User user, java.lang.String password, Device device) throws java.lang.Exception
AuthenticController
user
- 用户password
- 密码device
- 设备类型java.lang.Exception
public boolean needLock()
AbstractAuthenticController
needLock
在类中 AbstractAuthenticController
public void throwUserLoginLockException(java.lang.String timeInterval) throws UserLoginLockException
AbstractAuthenticController
public boolean isPasswordChangeable()
AbstractAuthenticController
public void checkUserTypeAvailable(User user, Device device) throws java.lang.Exception
AuthenticController
user
- 用户device
- 设备java.lang.Exception
- 异常