Skip to content
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

Add support for nested builders in the DSL for reactive apps #7107

Closed
eleftherias opened this issue Jul 16, 2019 · 0 comments

Comments

@eleftherias
Copy link
Contributor

commented Jul 16, 2019

Allow spring security for reactive apps to be configured using a nested buider, taking advantage of Java 8 lambdas.

An example configuration would look like this:

http
	.authorizeExchange(exchanges ->
		exchanges
			.anyExchange().authenticated()
	)
	.formLogin(formLogin ->
		formLogin
			.loginPage("/custom-login")
	)
	.redirectToHttps(redirectToHttps ->
		redirectToHttps
			.httpsRedirectWhen(new PathPatternParserServerWebExchangeMatcher("/secure"))
	);

Relates to gh-5557.

@eleftherias eleftherias self-assigned this Jul 16, 2019

@eleftherias eleftherias added this to the 5.2.0.RC1 milestone Jul 18, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 22, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 23, 2019

eleftherias added a commit to eleftherias/spring-security that referenced this issue Jul 23, 2019

@rwinch rwinch modified the milestones: 5.2.0.RC1, 5.2.0.M4 Jul 23, 2019

@rwinch rwinch closed this in #7121 Jul 23, 2019

rwinch added a commit that referenced this issue Jul 23, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.