我们使用方法分组来用dubbo，每个分组有自己权限，但是dubbo:registry标签 username & password 不生效，
让我不得不使用
```
    <dubbo:registry
            address="zookeeper://username:pwd@ip:port"
            group="xxx"/>
```
这种写法失效
```
    <dubbo:registry
            address="zookeeper://ip:port"
            username="username"
            password="pwd"/>
```

}
    public void setRegistry(RegistryConfig registry) {
        List<RegistryConfig> registries = new ArrayList<RegistryConfig>(1);
        registries.add(registry);
        setRegistries(registries);
    }
    public List<RegistryConfig> getRegistries() {
        return registries;
    }
    @SuppressWarnings({"unchecked"})
    public void setRegistries(List<? extends RegistryConfig> registries) {
        ConfigManager.getInstance().addRegistries((List<RegistryConfig>) registries);
        this.registries = (List<RegistryConfig>) registries;
    }
    @Parameter(excluded = true)
    public String getRegistryIds() {
        return registryIds;
    }
    public void setRegistryIds(String registryIds) {
        this.registryIds = registryIds;
    }
    public MonitorConfig getMonitor() {
        return monitor;
    }
    public void setMonitor(String monitor) {
        setMonitor(new MonitorConfig(monitor));
    }
    public void setMonitor(MonitorConfig monitor) {
        ConfigManager.getInstance().setMonitor(monitor);
        this.monitor = monitor;