Skip to content

Fix ACL authentication docs #239 - #460

Merged
ryanjbaxter merged 1 commit into
spring-cloud:mainfrom
AzazelSensei:docs/acl-auth-customizer-239
Sep 8, 2026
Merged

ryanjbaxter merged 1 commit into
spring-cloud:mainfrom
AzazelSensei:docs/acl-auth-customizer-239

Conversation

@AzazelSensei

Copy link
Copy Markdown
Contributor

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>
@ryanjbaxter
ryanjbaxter merged commit cafff8c into spring-cloud:main Sep 8, 2026
2 checks passed
ryanjbaxter added a commit that referenced this pull request Sep 8, 2026
@ryanjbaxter

Copy link
Copy Markdown
Contributor

Also cherry picked into 5.0.x

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

3 participants