public class PasswordValidatorFactory
extends java.lang.Object
构造器和说明 |
---|
PasswordValidatorFactory() |
限定符和类型 | 方法和说明 |
---|---|
PasswordValidator |
getDefaultValidator()
获取默认的加密方式,所有的密码入库之前都用此方式再加密一遍
|
static PasswordValidatorFactory |
getInstance() |
PasswordValidator |
getPasswordValidator(int encryption,
java.lang.String customEncryptClass) |
static void |
register(PasswordValidatorBuilder builder) |
public static PasswordValidatorFactory getInstance()
public static void register(PasswordValidatorBuilder builder)
public PasswordValidator getPasswordValidator(int encryption, java.lang.String customEncryptClass)
public PasswordValidator getDefaultValidator()