Skip to content

Spring Security WebFlux IP Whitelist #7765

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
clavinovahan opened this issue Dec 21, 2019 · 0 comments
Closed

Spring Security WebFlux IP Whitelist #7765

clavinovahan opened this issue Dec 21, 2019 · 0 comments
Assignees
Labels
in: config An issue in spring-security-config type: enhancement A general enhancement
Milestone

Comments

@clavinovahan
Copy link

clavinovahan commented Dec 21, 2019

In the latest Spring Security which leverages WebFlux, the security config works like below,

SecurityWebFilterChain springSecurityFilterChain(ServerHttpSecurity http) {
http.authorizeExchange().pathMatchers("/**") ....

Before there is a method hasIpAddress("xxx.xxx.xxx.xxx") we can use to config IP whitelist, now it's gone.

How to specify IP whitelist for new Spring Security Webflux?

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 21, 2019
@eleftherias eleftherias added in: config An issue in spring-security-config type: enhancement A general enhancement and removed status: waiting-for-triage An issue we've not yet triaged labels Feb 26, 2020
sjohnr pushed a commit to sjohnr/spring-security that referenced this issue Nov 23, 2021
terminux added a commit to terminux/spring-security that referenced this issue Nov 24, 2021
@sjohnr sjohnr closed this as completed in 9f51240 Nov 30, 2021
@sjohnr sjohnr added this to the 6.0.0-M1 milestone Nov 30, 2021
@sjohnr sjohnr self-assigned this Nov 30, 2021
@sjohnr sjohnr modified the milestones: 6.0.0-M1, 5.7.0-M1 Nov 30, 2021
sjohnr pushed a commit that referenced this issue Nov 30, 2021
sjohnr pushed a commit to sjohnr/spring-security that referenced this issue Dec 1, 2021
eleftherias pushed a commit that referenced this issue Dec 2, 2021
sjohnr pushed a commit that referenced this issue Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: config An issue in spring-security-config type: enhancement A general enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants