Skip to content

Fix Kotlin docs to use valid authorize signatures#19047

Open
PreetiToppo wants to merge 1 commit intospring-projects:mainfrom
PreetiToppo:fix/kotlin-docs-authorize-array-signature
Open

Fix Kotlin docs to use valid authorize signatures#19047
PreetiToppo wants to merge 1 commit intospring-projects:mainfrom
PreetiToppo:fix/kotlin-docs-authorize-array-signature

Conversation

@PreetiToppo
Copy link
Copy Markdown

The Real World Example used authorize(allowedPaths, permitAll) where allowedPaths is an Array, but this overload does not exist in AuthorizeHttpRequestsDsl. Replace with individual authorize(pattern, access) calls per path. Also remove unused viewBalancePaths variable.

Closes gh-17174

The Real World Example used authorize(allowedPaths, permitAll) where
allowedPaths is an Array<String>, but this overload does not exist in
AuthorizeHttpRequestsDsl. Replace with individual authorize(pattern, access)
calls per path. Also remove unused viewBalancePaths variable.

Closes spring-projectsgh-17174

Signed-off-by: Preeti Toppo <toppopreeti191@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Apr 6, 2026
@PreetiToppo PreetiToppo force-pushed the fix/kotlin-docs-authorize-array-signature branch from c4b5104 to bbdbdbf Compare April 6, 2026 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kotlin security configuration examples call AuthorizeHttpRequestsDsl::authorize with an array of patterns, but this signature doesn't exist

2 participants