justbk2015 opened a new pull request, #20620:
URL: https://github.com/apache/shardingsphere/pull/20620
Fixes #20619.
Changes proposed in this pull request:
- This PR is support both MD5 and SHA256 authentication in ss-proxy.
- In default configure, it is same as before use SHA256 in default.
- To suport MD5 authentication method, you just config server.yaml to add
":md5" in Authrity Rule.
example:
rules:
- !AUTHORITY
users:
- root@%:root
- sharding@:sharding
- sharding1@%:sharding1:sha256 # use sha256 in default
- sharding2@%:sharding2:md5 # use md5 in default
- sharding2@%:sharding2:aaa # use sha256 in default
notice:
1. this feature effective only in opengauss database on backend.
2. only support ":md5" for md5 method(ignore case), other use default SHA256.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]