Remove compiler warnings for spring-security-rsocket by JiHunparkkk · Pull Request #18567 · spring-projects/spring-security · GitHub
Skip to content

Remove compiler warnings for spring-security-rsocket#18567

Merged
rwinch merged 1 commit into
spring-projects:mainfrom
JiHunparkkk:gh-18437
Jan 26, 2026
Merged

Remove compiler warnings for spring-security-rsocket#18567
rwinch merged 1 commit into
spring-projects:mainfrom
JiHunparkkk:gh-18437

Conversation

@JiHunparkkk

@JiHunparkkk JiHunparkkk commented Jan 24, 2026

Copy link
Copy Markdown
Contributor

Closes gh-18437

Changes

  • Apply plugin compile-warnings-error
  • Add jsr305 as compileOnly dependency to resolve unknown enum constant When.MAYBE warning caused by reactor-core/rsocket-core dependencies

Before

스크린샷 2026-01-25 오후 6 31 26

After

스크린샷 2026-01-25 오후 6 45 47

Remaining Deprecation Note

AuthenticationPayloadInterceptor uses deprecated BasicAuthenticationPayloadExchangeConverter as default value.

Changing the default to AuthenticationPayloadExchangeConverter would resolve this warning, but it may introduce a breaking change since the two converters use different authentication protocols:

  • BasicAuthenticationPayloadExchangeConverter: BASIC_AUTHENTICATION_MIME_TYPE
  • AuthenticationPayloadExchangeConverter: RSocket Authentication Extension

Please advise if this change should be included.

Test plan

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

Closes spring-projectsgh-18437

Signed-off-by: jihunparkkk <pjh2996@naver.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 24, 2026
@rwinch rwinch self-assigned this Jan 26, 2026
@rwinch rwinch added in: build An issue in the build type: enhancement A general enhancement in: rsocket and removed status: waiting-for-triage An issue we've not yet triaged labels Jan 26, 2026
@rwinch rwinch added this to the 7.1.0-M2 milestone Jan 26, 2026
@rwinch rwinch merged commit c3240c4 into spring-projects:main Jan 26, 2026
10 checks passed
@rwinch

rwinch commented Jan 26, 2026

Copy link
Copy Markdown
Member

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: rsocket type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove compiler warnings for spring-security-rsocket

3 participants