spring-security/oauth2/oauth2-resource-server
Daniel Garnier-Moiroux 200b7fecd3
Add (Server)AuthenticationEntryPointFailureHandlerAdapter
Issue gh-11932, gh-9429

(Server)AuthenticationEntryPointFailureHandler should produce HTTP 500 instead
when an AuthenticationServiceException is thrown, instead of HTTP 401.
This commit deprecates the current behavior and introduces an opt-in
(Server)AuthenticationEntryPointFailureHandlerAdapter with the expected
behavior.

BearerTokenAuthenticationFilter uses the new adapter, but with a closure
to keep the current behavior re: entrypoint.
2022-10-13 19:25:04 -06:00
..
src Add (Server)AuthenticationEntryPointFailureHandlerAdapter 2022-10-13 19:25:04 -06:00
spring-security-oauth2-resource-server.gradle javax.servlet:javax.servlet-api -> jakarta.servlet:jakarta.servlet-api 2022-01-19 14:33:53 -06:00