huanghao495430759 commented on issue #9326:
URL: https://github.com/apache/shardingsphere/issues/9326#issuecomment-810112443


   > @huanghao495430759 ,
   > 
   > > YamlUserConfiguration must be add a property to save the username
   > 
   > I think so. This file will contain the user information.
   
   Hi @tristaZero  , I have another question, now the register center save the 
authentication data is :
   
   zk node is : authentication
   and data is
   `
   users:
     root:
       hostname: '%'
       password: root
     sharding:
       hostname: '%'
       password: sharding
   
   `
   
   does it also change to 
   zk node is: users
   `
   users:
     - root@%:root
     - sharding@%:sharding
   `
   
   or
   `
   !!map
   - 
!!org.apache.shardingsphere.infra.metadata.auth.builtin.yaml.config.YamlUserConfiguration
     hostname: '%'
     password: root
     username: root
   - 
!!org.apache.shardingsphere.infra.metadata.auth.builtin.yaml.config.YamlUserConfiguration
     hostname: ''
     password: root1
     username: root1
   
    `
    


-- 
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:
[email protected]


Reply via email to