Remove compiler warnings for spring-security-rsocket by JiHunparkkk · Pull Request #18567 · spring-projects/spring-security
Closes gh-18437
Changes
- Apply plugin
compile-warnings-error - Add
jsr305as compileOnly dependency to resolveunknown enum constant When.MAYBEwarning caused by reactor-core/rsocket-core dependencies
Before
After
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_TYPEAuthenticationPayloadExchangeConverter: RSocket Authentication Extension
Please advise if this change should be included.
Test plan
-
./gradlew --no-build-cache clean :spring-security-rsocket:check

