You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "strongduanmu (via GitHub)" <gi...@apache.org> on 2023/02/23 00:07:29 UTC

[GitHub] [shardingsphere] strongduanmu commented on issue #24307: How to implement customed assisted-query-encryptor in ShardingSphere-JDBC version 5.3.1?

strongduanmu commented on issue #24307:
URL: https://github.com/apache/shardingsphere/issues/24307#issuecomment-1441027662

   Hi @tianshuainan, you need to override the getType method in SdEncryptor and configure the getType return value in encryptors.
   
   First, add this method:
   
   ```java
   // SdEncryptor
   
   @Override
       public String getType() {
           return "SD";
       }
   ```
   
   And then config `SD` in encryptors file:
   
   ```yaml
       encryptors:
         sd_encryptor:
           type: SD
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org