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, verifySingleLoginStatuspublic static final CommonAuthenticController KEY
public boolean doAuthentication(User user, java.lang.String password, Device device) throws java.lang.Exception
AuthenticControlleruser - 用户password - 密码device - 设备类型java.lang.Exceptionpublic boolean needLock()
AbstractAuthenticControllerneedLock 在类中 AbstractAuthenticControllerpublic void throwUserLoginLockException(java.lang.String timeInterval)
throws UserLoginLockException
AbstractAuthenticControllerpublic boolean isPasswordChangeable()
AbstractAuthenticControllerpublic void checkUserTypeAvailable(User user, Device device) throws java.lang.Exception
AuthenticControlleruser - 用户device - 设备java.lang.Exception - 异常