-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)
Milestone
Description
Currently we only have support for adding WebFilter at support in Reactive Spring Security. We should
also add support for adding fiters before and after in Reactive Spring Security. Since its also possible
to add WebFilter before and after relative to some WebFilter. We have support for same in Non Reactive
Spring Security. Its a surprise, why the same is missing in Reactive Spring Security??
@Bean
public SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) {
http
.addFilterAt(filterConfig.securityContextCompositeWebFilter(), SecurityWebFiltersOrder.HTTP_BASIC)
;
return http.build();
}
We can add filter in place of Http Basic Authentication Filter. But its not possible to add filter after and
before Http Basic Authentication Filter, since we don't have any api for same.
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)