public class AccountCheckerDefault extends Object implements AccountChecker
| 构造器和说明 |
|---|
AccountCheckerDefault(framework.security.AccountLoader accountLoader,
framework.security.password.PasswordService passwordService,
framework.config.SecurityConfig securityConfig,
framework.crypto.GeneralCrypto generalCrypto) |
| 限定符和类型 | 方法和说明 |
|---|---|
framework.security.Account |
authCheck(String username,
String password,
String passwordCipher)
账户授权验证
|
protected void |
checkAccountPassword(framework.security.Account account,
String password,
String passwordCipher)
密码验证
|
protected void |
checkAccountStatus(framework.security.Account account)
验证账户属性
|
protected void |
checkLoginLimit(String username)
登录超限检查
|
protected framework.security.Account |
loadAccount(String username)
加载账号
|
protected String |
passwordTransfer(framework.security.Account account,
String password,
String passwordCipher)
加密密码转换
|
public AccountCheckerDefault(framework.security.AccountLoader accountLoader,
framework.security.password.PasswordService passwordService,
framework.config.SecurityConfig securityConfig,
framework.crypto.GeneralCrypto generalCrypto)
public framework.security.Account authCheck(String username, String password, String passwordCipher)
AccountCheckerauthCheck 在接口中 AccountCheckerprotected void checkLoginLimit(String username) throws framework.security.AuthException
username - framework.security.AuthExceptionprotected void checkAccountStatus(framework.security.Account account)
throws framework.security.AuthException
account - framework.security.AuthExceptionprotected void checkAccountPassword(framework.security.Account account,
String password,
String passwordCipher)
throws framework.security.AuthException
passwordCipher - password - account - framework.security.AuthExceptionprotected framework.security.Account loadAccount(String username)
username - Copyright © 2025. All rights reserved.