You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/06/10 07:29:57 UTC

[GitHub] [shardingsphere] cherrylzhao opened a new issue #5978: Implement PostgreSQL authentication for proxy

cherrylzhao opened a new issue #5978:
URL: https://github.com/apache/shardingsphere/issues/5978


   shardingsphere-proxy for postgreSQL have not implemented the authentication logic, just record it in this issue. associated code is `PostgreSQLAuthenticationEngine`.
   ```
   public boolean auth(final ChannelHandlerContext context, final PacketPayload payload, final BackendConnection backendConnection) {
          .....
          // TODO send a md5 authentication request message
           context.write(new PostgreSQLAuthenticationOKPacket(true));
           context.write(new PostgreSQLParameterStatusPacket("server_version", "12.3"));
           context.write(new PostgreSQLParameterStatusPacket("client_encoding", "UTF8"));
           context.write(new PostgreSQLParameterStatusPacket("server_encoding", "UTF8"));
   }
   ```
   


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] tuohai666 closed issue #5978: Implement PostgreSQL authentication for proxy

Posted by GitBox <gi...@apache.org>.
tuohai666 closed issue #5978:
URL: https://github.com/apache/shardingsphere/issues/5978


   


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] sandynz commented on issue #5978: Implement PostgreSQL authentication for proxy

Posted by GitBox <gi...@apache.org>.
sandynz commented on issue #5978:
URL: https://github.com/apache/shardingsphere/issues/5978#issuecomment-674132432


   Hi, I'd like try to solve it


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] sandynz commented on issue #5978: Implement PostgreSQL authentication for proxy

Posted by GitBox <gi...@apache.org>.
sandynz commented on issue #5978:
URL: https://github.com/apache/shardingsphere/issues/5978#issuecomment-674671364


   Got it, thanks.


----------------------------------------------------------------
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.

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



[GitHub] [shardingsphere] tuohai666 commented on issue #5978: Implement PostgreSQL authentication for proxy

Posted by GitBox <gi...@apache.org>.
tuohai666 commented on issue #5978:
URL: https://github.com/apache/shardingsphere/issues/5978#issuecomment-674653166


   @sandynz This slide for reference:
   ![image](https://user-images.githubusercontent.com/24643893/90358212-f4c55000-e087-11ea-902b-e8a1ea8bea23.png)
   


----------------------------------------------------------------
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.

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