程序包 | 说明 |
---|---|
com.fr.decision.privilege.encrpt | |
com.fr.decision.privilege.encrpt.builder | |
com.fr.decision.sync | |
com.fr.decision.webservice.utils.user.source |
限定符和类型 | 类和说明 |
---|---|
class |
AbstractPasswordValidator
加密方式抽象父类
Created by zhouping on 2018/9/10.
|
class |
CustomPasswordValidator
自定义加密方式
Created by zhouping on 2018/4/2.
|
class |
MD5PasswordValidator
MD5 加密方式
Created by zhouping on 2018/4/2.
|
class |
NoPasswordValidator
不加密
Created by zhouping on 2018/4/18.
|
class |
SHA256PasswordValidator
SHA-256 加密方式
Created by zhouping on 2018/4/2.
|
限定符和类型 | 方法和说明 |
---|---|
PasswordValidator |
PasswordValidatorFactory.getDefaultValidator()
获取默认的加密方式,所有的密码入库之前都用此方式再加密一遍
|
PasswordValidator |
PasswordValidatorFactory.getPasswordValidator(int encryption,
java.lang.String customEncryptClass) |
构造器和说明 |
---|
CustomPasswordValidator(PasswordValidator customPasswordValidator) |
限定符和类型 | 方法和说明 |
---|---|
PasswordValidator |
SHA256PasswordValidatorBuilder.build(java.lang.String className) |
PasswordValidator |
PasswordValidatorBuilder.build(java.lang.String className)
构造密码方式
|
PasswordValidator |
NoPasswordValidatorBuilder.build(java.lang.String className) |
PasswordValidator |
MD5PasswordValidatorBuilder.build(java.lang.String className) |
PasswordValidator |
CustomPasswordValidatorBuilder.build(java.lang.String className) |
限定符和类型 | 方法和说明 |
---|---|
static TableDataSyncAction |
TableDataSyncAction.buildWorker(TableDataSyncAction action,
SyncData syncData,
PasswordValidator passwordValidator) |
限定符和类型 | 方法和说明 |
---|---|
PasswordValidator |
UserSource.getPasswordValidator()
获取用户来源对应的加密方式
|