Closed
Description
Summary
I'm trying to convert my current servlet-based application over to reactive and it seems some of the Spring Security support for the reactive stack isn't yet complete.
- The API documentation (class-method level documentation) seems to be missing in lots of places (
ServerHttpSecurity
and all its nested classes/methods,SecurityWebFilterChain
,HttpStatusServerAccessDeniedHandler
, plus there are probably others that I haven't yet come across) HttpStatusServerAccessDeniedHandler
in particular the documentation is not complete. It also reads in anHttpStatus
to set, but then thehandle
method never uses it. Line 41 showsresponse.setStatusCode(HttpStatus.FORBIDDEN);
Expected Behavior
I would expect that whatever HttpStatus
I construct the HttpStatusServerAccessDeniedHandler
with would be the status code on the outgoing response.
Version
5.0.3.RELEASE