-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs for adding authentication are wrong #239
Comments
Sounds good. Looking at how the proposed changes could solve our problems, thanks |
I still don't see the updated doc, can anybody share how to set ACL in new way? |
@berngp can you explain how to use |
Define the following configuration in the code.
The
And defined in
|
Please stop commenting on multiple issues |
I solved it by the following codes,the docs missed a 't' at @BootstrapConfiguration,maybe need to update the docs or pr?
}` spring.factories bootstrap.yml |
The code snippets provided in the docs for adding authentication to the CuratorFramework suggest methods that don't exist i.e.
And
The CuratorFramework interface doesn't have a method called addAuthInfo, and the code snippet also has @BootstrapConfiguration spelled incorrectly.
Furthermore I think the initial code snippet wouldn't work as it would override the standard implementation in spring cloud zookeeper rather than extending it.
What is the currently suggested way for adding authentication information? I can see the CuratorFrameworkImpl and CuratorFrameworkFactory now have variables called authInfos that's set through the builder by calling authorization(List authInfos).
Is the suggested/correct way to add authentication now to override the curatorFramework bean from the ZookeeperAutoConfiguration and add that option within the builder? Does this still have to happen at the Bootstrapping phase?
The text was updated successfully, but these errors were encountered: