Commit Graph

49 Commits

Author SHA1 Message Date
Rob Winch 5fd84a62b5 LogoutWebFilter supports anonymous users
Fixes gh-4540
2017-09-13 17:04:44 -05:00
Rob Winch 5baf71f4a0 Temporarily disable anonymous WebFlux Logout
Work around LogoutWebFilter always intercepting requests

Issue gh-4540
2017-09-13 16:56:07 -05:00
Rob Winch e14af37775 Add LogoutWebFilter
Fixes gh-4539
2017-09-13 16:43:04 -05:00
Rob Winch 21f8ee7f36 Use basicAuthenticationCredentials 2017-09-13 15:31:32 -05:00
Rob Winch d93c774691 Add FormLogin Configuration
Fixes gh-4537
2017-09-12 20:40:56 -05:00
Rob Winch fca8bf6088 Add MediaTypeServerWebExchangeMatcher
Fixes gh-4536
2017-09-12 20:40:56 -05:00
Rob Winch 3aebf11700 Format DelegatingAuthenticationEntryPoint 2017-09-12 20:40:56 -05:00
Rob Winch d190b7e6a9 Add DelegatingAuthenticationEntryPoint
Fixes gh-4535
2017-09-12 20:40:56 -05:00
Rob Winch 582a59e583 Add RedirectAuthenticationSuccessHandler(String) 2017-09-12 20:40:56 -05:00
Rob Winch a0a0a32bda Add WebTestClient HtmlUnit Support
Fixes gh-4534
2017-09-12 20:40:56 -05:00
Rob Winch 45bac0fd2c AuthenticationWebFilter uses AuthenticationFailureHandler
Issue gh-4533
2017-09-12 20:40:56 -05:00
Rob Winch b348f60252 Add AuthenticationFailureHandler
Fixes gh-4533
2017-09-12 20:40:56 -05:00
Rob Winch a6bed9a1aa AuthenticationSuccessHandler uses WebFilterExchange
Issue gh-4532
2017-09-12 20:40:56 -05:00
Rob Winch ef9cf1d54b Add WebFilterExchange
Fixes gh-4532
2017-09-12 20:40:56 -05:00
Rob Winch 1634ce233f Add LoginPageGeneratingWebFilter
Fixes gh-4531
2017-09-12 20:40:56 -05:00
Rob Winch 5ef55c4652 Add RedirectAuthenticationSuccessHandler
Fixes gh-4530
2017-09-12 20:40:56 -05:00
Rob Winch 4392d47908 RedirectAuthenticationEntryPoint uses RedirectStrategy
Issue gh-4529
2017-09-12 20:40:56 -05:00
Rob Winch 06b82e7bd0 Add reactive RedirectStrategy
Fixes gh-4529
2017-09-12 20:40:56 -05:00
Rob Winch 7fd5239a75 AuthentictionWebFilter uses ServerWebExchangeMatcher
Fixes gh-4528
2017-09-12 20:40:56 -05:00
Rob Winch fa53775fe1 Add RedirectAuthenticationEntryPoint
Fixes gh-4527
2017-09-12 20:40:56 -05:00
Rob Winch 8f5069053e AuthenticationEntryPoint & AccessDeniedHandler use Mono<Void> 2017-09-12 20:40:56 -05:00
Rob Winch 475f18174d Add FormLoginAuthenticationConverter
Fixes gh-4526
2017-09-12 20:40:56 -05:00
Rob Winch 8e80398715 SecurityContextRepository save return Mono<Void> 2017-09-12 20:40:56 -05:00
Rob Winch 8ce3b08136 AuthenticationWebFilter wraps the ServerWebExchange
Fixes gh-45-25
2017-09-12 20:40:56 -05:00
Rob Winch 8d997fd079 Remove DefaultAuthenticationSuccessHandler
We always need to save the user after authentication, so it should be
part of AuthenticationWebFilter

Fixes gh-4524
2017-09-12 20:40:56 -05:00
Rob Winch 0a5116ba76 Polish AuthenticationWebFilterTests 2017-09-12 20:40:56 -05:00
Rob Winch 3e399f03a4 Polish AuthenticationWebFilter
Code style
2017-09-12 20:40:56 -05:00
Rob Winch d9bad2bc9d Mono.currentContext()->subscriberContext()
Fixing refactoring by Reactor
2017-09-01 17:20:47 -05:00
Rob Winch 539e76059a Explicitly specify SecurityContext type
This ensures that Mono.justOrEmpty knows the type is not an Optional.
2017-08-29 12:19:29 -05:00
Rob Winch c4917f359a Fix for Reactor Refactor
- contextStart -> subscriberContext
2017-08-29 08:24:55 -05:00
Rob Winch b0b9b32c0c Add AuthenticationReactorContextFilter
Fixes gh-4501
2017-08-17 16:42:01 -05:00
Rob Winch e16b8e7976 Fix logback-test.xml 2017-08-17 16:42:01 -05:00
Rob Winch 405af8a0a1 Polish 2017-08-17 15:42:39 -05:00
Rob Winch 01579be7d4 PathMatchResult->PathMatchInfo
More fixes for Spring Framework refactoring
2017-08-07 11:50:07 -05:00
Rob Winch bfaead6f68 Removal of ParsingPathMatcher
Changes needed for the removal of ParsingPathMatcher in Spring Framework

b1440b6816 (diff-972650c759c249004b9725f94b570db3R156)
2017-08-02 11:11:11 -05:00
Rob Winch 8130965259 Fixes for changes in SPR-15657
Fixes gh-4408
2017-06-20 16:42:24 -05:00
Rob Winch 9141a8a7c0 Add Multiple Reactive HttpSecurity
Fixes gh-4395
2017-06-15 13:00:19 -05:00
Rob Winch 2deb1cda9f Delete SecurityWebFilterChain in favor of DefaultWebFilterChain
Fixesh gh-4393
2017-06-15 13:00:19 -05:00
Rob Winch 6db418f47b Use RequestPath
Fixes gh-4389
2017-06-12 12:42:15 -05:00
Rob Winch 337317a060 WebFlux now uses ParsingPathMatcher
Fixes gh-4388
2017-06-09 22:25:45 -05:00
Rob Winch 554768f1e4 Remove use of HttpRequestPathHelper
Fixes gh-4387
2017-06-09 22:25:11 -05:00
Joe Grandja eb6bd9bea9 Update groupId io.projectreactor.addons -> io.projectreactor
Fixes gh-4377
2017-06-08 14:06:51 -04:00
Rob Winch ac6a86fb5f Fixes for changes in SPR-15397 2017-06-01 14:26:27 -05:00
Rob Winch e5eda24054 Add ServerWebExchangeMatcherEntry 2017-05-31 16:13:20 -05:00
Joe Grandja 68368c87ca Resolve compile errors -> WebTestClient methods removed
Fixes gh-4355
2017-05-25 11:14:29 -04:00
Rob Winch 3440909fc9 ServerWebExchangeMatcher returns Mono<MatchResult> 2017-05-23 15:32:12 -05:00
Rob Winch 7b703a3b98 SecurityContextRepositoryServerWebExchange defaults to principal
This is necessary for the test support to work

Issue gh-4343
2017-05-19 14:41:20 -05:00
Rob Winch 3c7c256fc9 WebTestHandler now returns wrapped ServerWebExchange
For easier testing WebTestHandler now obtains the wrapped
ServerWebExchange objects.
2017-05-19 08:48:58 -05:00
Rob Winch b4f2777755 Add WebFlux
Fixes gh-4128
2017-05-10 00:13:02 -05:00