Skip to content

Remove compiler warnings for spring-security-cas#18579

Merged
rwinch merged 1 commit intospring-projects:mainfrom
jieun-dev1:gh-18418
Feb 2, 2026
Merged

Remove compiler warnings for spring-security-cas#18579
rwinch merged 1 commit intospring-projects:mainfrom
jieun-dev1:gh-18418

Conversation

@jieun-dev1
Copy link
Copy Markdown
Contributor

Closes #18418

Summary

When running ./gradlew --no-build-cache clean :spring-security-cas:check, CasAuthenticationEntryPoint was using the deprecated WebUtils.constructServiceUrl overload (6 parameters).

Changes

-Apply plugin compile-warnings-error
-Use the non-deprecated 7-parameter overload and passes serviceParameter from serviceProperties.
CasGatewayAuthenticationRedirectFilter already uses this API and retrieves serviceParameter from serviceProperties, so I followed the same approach for consistency.

Test

./gradlew --no-build-cache clean :spring-security-cas:check

Signed-off-by: jieun <jkdev1324@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 25, 2026
@rwinch rwinch added this to the 7.1.0-M2 milestone Jan 26, 2026
@rwinch rwinch added in: build An issue in the build type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 26, 2026
@rwinch rwinch self-assigned this Jan 26, 2026
@rwinch rwinch added the in: cas An issue in spring-security-cas label Jan 26, 2026
@rwinch rwinch changed the title Remove compiler warnings for spring-security-cas:check Remove compiler warnings for spring-security-cas Jan 26, 2026
@rwinch rwinch merged commit de23ade into spring-projects:main Feb 2, 2026
6 checks passed
@rwinch
Copy link
Copy Markdown
Member

rwinch commented Feb 2, 2026

Thanks for the PR @jieun-dev1 This is merged into main

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

in: build An issue in the build in: cas An issue in spring-security-cas type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove compiler warnings for spring-security-cas

3 participants