This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from a956efa add docs for SM3 & SM4 (#14003)
add 47c5cc9 Add SHA256 authentication for openGauss Proxy (#14002)
No new revisions were added by this update.
Summary of changes:
.../OpenGaussAuthenticationSha256Packet.java} | 23 ++-
.../OpenGaussAuthenticationSha256PacketTest.java} | 38 ++--
.../handshake/PostgreSQLPasswordMessagePacket.java | 4 +-
.../PostgreSQLPasswordMessagePacketTest.java | 2 +-
.../opengauss/OpenGaussFrontendEngine.java | 10 +-
.../OpenGaussAuthenticationEngine.java} | 30 ++--
.../OpenGaussAuthenticationHandler.java | 192 +++++++++++++++++++++
.../src/main}/resources/logback-test.xml | 1 +
.../opengauss/OpenGaussFrontendEngineTest.java | 4 +-
.../OpenGaussAuthenticationEngineTest.java} | 60 ++++---
.../OpenGaussAuthenticationHandlerTest.java} | 49 +++---
.../PostgreSQLAuthenticationHandler.java | 2 +-
12 files changed, 323 insertions(+), 92 deletions(-)
copy
shardingsphere-db-protocol/{shardingsphere-db-protocol-postgresql/src/main/java/org/apache/shardingsphere/db/protocol/postgresql/packet/handshake/PostgreSQLAuthenticationMD5PasswordPacket.java
=>
shardingsphere-db-protocol-opengauss/src/main/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSha256Packet.java}
(68%)
copy
shardingsphere-db-protocol/{shardingsphere-db-protocol-postgresql/src/test/java/org/apache/shardingsphere/db/protocol/postgresql/packet/generic/PostgreSQLAuthenticationOKPacketTest.java
=>
shardingsphere-db-protocol-opengauss/src/test/java/org/apache/shardingsphere/db/protocol/opengauss/packet/authentication/OpenGaussAuthenticationSha256PacketTest.java}
(57%)
copy
shardingsphere-proxy/shardingsphere-proxy-frontend/{shardingsphere-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngine.java
=>
shardingsphere-proxy-frontend-opengauss/src/main/java/org/apache/shardingsphere/proxy/frontend/opengauss/authentication/OpenGaussAuthenticationEngine.java}
(84%)
create mode 100644
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-opengauss/src/main/java/org/apache/shardingsphere/proxy/frontend/opengauss/authentication/OpenGaussAuthenticationHandler.java
copy
{shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-spring/shardingsphere-encrypt-spring-namespace/src/test
=>
shardingsphere-proxy/shardingsphere-proxy-frontend/shardingsphere-proxy-frontend-opengauss/src/main}/resources/logback-test.xml
(95%)
copy
shardingsphere-proxy/shardingsphere-proxy-frontend/{shardingsphere-proxy-frontend-postgresql/src/test/java/org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationEngineTest.java
=>
shardingsphere-proxy-frontend-opengauss/src/test/java/org/apache/shardingsphere/proxy/frontend/opengauss/authentication/OpenGaussAuthenticationEngineTest.java}
(74%)
copy
shardingsphere-proxy/shardingsphere-proxy-frontend/{shardingsphere-proxy-frontend-postgresql/src/test/java/org/apache/shardingsphere/proxy/frontend/postgresql/authentication/PostgreSQLAuthenticationHandlerTest.java
=>
shardingsphere-proxy-frontend-opengauss/src/test/java/org/apache/shardingsphere/proxy/frontend/opengauss/authentication/OpenGaussAuthenticationHandlerTest.java}
(77%)