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/05/02 13:04:17 UTC

[GitHub] [shardingsphere] ppourali commented on issue #5407: How to retrieve the Authentication username (defined in the Server.yaml) that is connected ?

ppourali commented on issue #5407:
URL: https://github.com/apache/shardingsphere/issues/5407#issuecomment-622950600


   Hi @kimmking ,
   Thanks for the reply. I tried the Current_User but it returns the username defined in the connection string defined in the configuration.yaml, and not the user in the server.yaml.
   
   So, the scenario is that: I need to distinguish among users by either their ip address or user name or anything else. Do you have any suggestions for this? I have white-box access to Sharding Proxy, so if there is any class in the Sharding Proxy that provides such information, I can get the info from there too.
   
   Thanks,
   Parsa
   
   


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