Skip to content

Conversation

@jieun-dev1
Copy link

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

@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
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