Loading sharding-jdbc-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties 0 → 100644 +16 −0 Original line number Diff line number Diff line spring.shardingsphere.datasource.names=ds spring.shardingsphere.datasource.ds.type=com.zaxxer.hikari.HikariDataSource spring.shardingsphere.datasource.ds.driver-class-name=com.mysql.jdbc.Driver spring.shardingsphere.datasource.ds.jdbc-url=jdbc:mysql://localhost:3306/demo_ds?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8 spring.shardingsphere.datasource.ds.username=root spring.shardingsphere.datasource.ds.password= spring.shardingsphere.encrypt.encryptors.name_encryptor.type=aes spring.shardingsphere.encrypt.encryptors.name_encryptor.qualifiedColumns=t_user.user_name spring.shardingsphere.encrypt.encryptors.name_encryptor.props.aes.key.value=123456 spring.shardingsphere.encrypt.encryptors.pwd_encryptor.type=assistedTest spring.shardingsphere.encrypt.encryptors.pwd_encryptor.qualifiedColumns=t_user.pwd spring.shardingsphere.encrypt.encryptors.pwd_encryptor.assistedQueryColumns=t_user.assisted_query_pwd Loading
sharding-jdbc-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties 0 → 100644 +16 −0 Original line number Diff line number Diff line spring.shardingsphere.datasource.names=ds spring.shardingsphere.datasource.ds.type=com.zaxxer.hikari.HikariDataSource spring.shardingsphere.datasource.ds.driver-class-name=com.mysql.jdbc.Driver spring.shardingsphere.datasource.ds.jdbc-url=jdbc:mysql://localhost:3306/demo_ds?serverTimezone=UTC&useSSL=false&useUnicode=true&characterEncoding=UTF-8 spring.shardingsphere.datasource.ds.username=root spring.shardingsphere.datasource.ds.password= spring.shardingsphere.encrypt.encryptors.name_encryptor.type=aes spring.shardingsphere.encrypt.encryptors.name_encryptor.qualifiedColumns=t_user.user_name spring.shardingsphere.encrypt.encryptors.name_encryptor.props.aes.key.value=123456 spring.shardingsphere.encrypt.encryptors.pwd_encryptor.type=assistedTest spring.shardingsphere.encrypt.encryptors.pwd_encryptor.qualifiedColumns=t_user.pwd spring.shardingsphere.encrypt.encryptors.pwd_encryptor.assistedQueryColumns=t_user.assisted_query_pwd