@Configuration @EnableConfigurationProperties(value=YamlEncryptRuleSpringBootConfiguration.class) @ConditionalOnClass(value=org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration.class) @Conditional(value=EncryptSpringBootCondition.class) public class EncryptRuleSpringBootConfiguration extends Object
| 构造器和说明 |
|---|
EncryptRuleSpringBootConfiguration() |
| 限定符和类型 | 方法和说明 |
|---|---|
static EncryptAlgorithmProvidedBeanRegistry |
encryptAlgorithmProvidedBeanRegistry(org.springframework.core.env.Environment environment)
Encrypt algorithm provided bean registry.
|
org.apache.shardingsphere.infra.config.RuleConfiguration |
encryptRuleConfiguration(org.springframework.beans.factory.ObjectProvider<Map<String,org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm>> encryptors)
Encrypt rule configuration for spring boot.
|
@Bean public org.apache.shardingsphere.infra.config.RuleConfiguration encryptRuleConfiguration(org.springframework.beans.factory.ObjectProvider<Map<String,org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm>> encryptors)
encryptors - encryptors algorithm to map@Bean public static EncryptAlgorithmProvidedBeanRegistry encryptAlgorithmProvidedBeanRegistry(org.springframework.core.env.Environment environment)
environment - environmentCopyright © 2022 The Apache Software Foundation. All rights reserved.