Closed amoszhou closed 4 years ago
try jasypt with spring, maybe it's use placeholder to store password.
try jasypt with spring, maybe it's use placeholder to store password.
OK~ I will have a try ~
This feature is not ShardingSphere's scope, I just close it.
Encrypt for Database password below Datasource property
For English only, other languages will not accept.
Please pay attention on issues you submitted, because we maybe need more details. If no response more than 7 days and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
yes
Describe the feature you would like.
Almostly, We have to encrypt the dabase password In the online system, I think All of us ,need it .
But there is no space for it . And the io.shardingsphere.jdbc.spring.boot.SpringBootConfiguration has no piece for custom. of course , I can implment it use reflection, but it is not graceful~
Now I should do like below :
`
@Component @EnableConfigurationProperties({SpringBootShardingRuleConfigurationProperties.class, SpringBootMasterSlaveRuleConfigurationProperties.class}) public class PasswordDecryptor implements BeanPostProcessor, EnvironmentAware {
`