Skip to content

Fix ACL authentication docs #239 - #460

Open
AzazelSensei wants to merge 1 commit into
spring-cloud:mainfrom
AzazelSensei:docs/acl-auth-customizer-239
Open

Fix ACL authentication docs #239#460
AzazelSensei wants to merge 1 commit into
spring-cloud:mainfrom
AzazelSensei:docs/acl-auth-customizer-239

Conversation

@AzazelSensei

Copy link
Copy Markdown

The ACL examples used @BoostrapConfiguration, new CuratorFramework(), and addAuthInfo, none of which exist. I replaced them with a CuratorFrameworkCustomizer that calls authorization() on the builder, which is what auto-config applies after #244.

Fixes gh-239

The snippets called addAuthInfo on a new CuratorFramework, which does
not compile. Document the customizer that spring-cloud#244 added and the
authorization() builder API.

Fixes spring-cloudgh-239
Signed-off-by: Abdullah <89297042+AzazelSensei@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs for adding authentication are wrong

2 participants