You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by pa...@apache.org on 2020/09/25 13:22:15 UTC
[shardingsphere] branch master updated: fix encryt springboot demo
(#7612)
This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 78d8983 fix encryt springboot demo (#7612)
78d8983 is described below
commit 78d89831fba18fc46aaee425943ec54b2804ba8f
Author: xiaoyu <54...@qq.com>
AuthorDate: Fri Sep 25 21:21:47 2020 +0800
fix encryt springboot demo (#7612)
---
.../main/resources/application-encrypt-databases.properties | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties
index 454cb83..0651c21 100644
--- a/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties
+++ b/examples/shardingsphere-jdbc-example/other-feature-example/encrypt-example/encrypt-spring-boot-example/src/main/resources/application-encrypt-databases.properties
@@ -24,13 +24,13 @@ spring.shardingsphere.datasource.ds.username=root
spring.shardingsphere.datasource.ds.password=
spring.shardingsphere.rules.encrypt.encryptors.name_encryptor.type=AES
-spring.shardingsphere.rules.encrypt.encryptors.name_encryptor.props.aes-key-value=123456
-spring.shardingsphere.rules.encrypt.encryptors.pwd_encryptor.type=assistedTest
+spring.shardingsphere.rules.encrypt.encryptors.name_encryptor.props.aes-key-value=123456abc
+spring.shardingsphere.rules.encrypt.encryptors.pwd_encryptor.type=AES
+spring.shardingsphere.rules.encrypt.encryptors.pwd_encryptor.props.aes-key-value=123456abc
spring.shardingsphere.rules.encrypt.tables.t_user.columns.user_name.cipher-column=user_name
-spring.shardingsphere.rules.encrypt.tables.t_user.columns.user_name.plain-column=user_name_plain
spring.shardingsphere.rules.encrypt.tables.t_user.columns.user_name.encryptor-name=name_encryptor
spring.shardingsphere.rules.encrypt.tables.t_user.columns.pwd.cipher-column=pwd
-spring.shardingsphere.rules.encrypt.tables.t_user.columns.pwd.assisted-query-column=assisted_query_pwd
spring.shardingsphere.rules.encrypt.tables.t_user.columns.pwd.encryptor-name=pwd_encryptor
-spring.shardingsphere.props.query.with.cipher.comlum=true
+spring.shardingsphere.props.query-with-cipher-comlum=true
+spring.shardingsphere.props.sql-show=true
\ No newline at end of file