public class EncryptionConfig extends DefaultConfiguration
构造器和说明 |
---|
EncryptionConfig() |
限定符和类型 | 方法和说明 |
---|---|
Encryption |
getEncryption(OperationType operationType) |
java.util.Map<OperationType,Encryption> |
getEncryptionMap()
获取所有的用户来源对应的加密方式
|
static EncryptionConfig |
getInstance() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
protected void |
initialize()
子类可以实现具体的initialize方法,比如注册一些非基本类型对象的读写方式等
这个方法会在调用 ConfigContext.getConfigInstance(XXX)的时候调用
|
void |
removeEncryption(OperationType operationType) |
void |
setEncryption(OperationType operationType,
Encryption encryption) |
void |
setEncryptionMap(java.util.Map<OperationType,Encryption> encryptionMap) |
clone, mirror
public static EncryptionConfig getInstance()
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 DefaultConfiguration
public java.util.Map<OperationType,Encryption> getEncryptionMap()
public Encryption getEncryption(OperationType operationType)
public void setEncryptionMap(java.util.Map<OperationType,Encryption> encryptionMap)
public void removeEncryption(OperationType operationType)
public void setEncryption(OperationType operationType, Encryption encryption)
protected void initialize()
Configuration
initialize
在类中 Configuration