Interface IPasswordService
- All Known Implementing Classes:
PasswordService
public interface IPasswordService
口令相关服务的抽象接口
- Author:
- xezzon
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheckStrength(com.nulabinc.zxcvbn.Strength strength) 校验口令强度是否符合要求。
-
Method Details
-
checkStrength
void checkStrength(com.nulabinc.zxcvbn.Strength strength) 校验口令强度是否符合要求。- Parameters:
strength- 口令强度- Throws:
PasswordStrengthException- 口令强度不达标
-