6274 Commits

Author SHA1 Message Date
Rob Winch
3d745e63f6 HttpSecurityConfiguration applies all defaults
HttpSecurity headers is off by default and relies on
HttpSecurityConfiguration to enable it. This is more consistent with the
other operators
2017-09-12 22:07:12 -05:00
Rob Winch
b5edb58050 Polish reactive config
Code Checkstyle fixes
2017-09-12 21:56:09 -05:00
Rob Winch
8b32b8db74 Polish
HeadersBuilder build is protected
2017-09-12 21:51:26 -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
Joe Grandja
4ff0b52f74 Remove HttpClientConfig
Issue gh-4478
2017-09-12 21:03:40 -04:00
Vedran Pavic
95de158909 Add ForwardLogoutSuccessHandler 2017-09-06 15:15:02 -05:00
Joe Grandja
223b126de5 Remove Serializable from OAuth2User
Fixes gh-4514
2017-09-05 09:24:25 -04:00
Rob Winch
d9bad2bc9d Mono.currentContext()->subscriberContext()
Fixing refactoring by Reactor
2017-09-01 17:20:47 -05:00
Rob Winch
72f139a824 Mono.currentContext()->subscriberContext()
Fixing refactoring by Reactor
2017-09-01 16:14:42 -05:00
ladislav-bozek
b3ad174ee2 Small typo in Javadoc 2017-08-30 15:27:53 -05:00
Rob Winch
f59fc357b8 Polish ReactorContextTestExecutionListenerTests
Code Style fixes
2017-08-30 14:27:14 -05:00
Rob Winch
4fd17e4c2e Fix ReactorContext after changes to Reactor 2017-08-30 14:25:40 -05:00
Joe Grandja
306f81b7f7 Minor renames to oauth2 client properties
Fixes gh-4296
2017-08-30 11:51:06 -04:00
Rob Winch
be0081290b EnableWebFluxSecurity uses PasswordEncoder Bean 2017-08-30 10:02:00 -05:00
Rob Winch
895f0d108c Run PasswordEncoder on Schedulers.parallel() 2017-08-29 22:26:56 -05:00
Rob Winch
a563689e6c Add PasswordEncoder for UserDetailsRepositoryAuthenticationManager 2017-08-29 21:19:42 -05:00
Rob Winch
9f2ea90f0d Polish HttpSecurity
Code Style fixes
2017-08-29 20:34:20 -05:00
Rob Winch
51ad53f76a Remove Optional from Reactive HttpSecurity 2017-08-29 20:30:04 -05:00
Rob Winch
20befc3702 Support .and() in Reactive HttpBasic & HeaderBuilder 2017-08-29 20:17:56 -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
Joe Grandja
b6212cba66 Provide fix for Google iss claim
Fixes gh-4511
2017-08-26 18:55:23 -04:00
Joe Grandja
4951550d7d Add context path to authorization request URI
Fixes gh-4510
2017-08-26 18:55:23 -04:00
Luander Ribeiro
ec908bb700 Add unit tests for endpoints package
Fixes gh-4499

This commit contains unit tests for the endpoints package in oauth2-core.
2017-08-24 18:26:33 -04:00
Joe Grandja
bc6be86aec Add in-memory AccessTokenRepository
Fixes gh-4508
2017-08-23 17:18:35 -04:00
Joe Grandja
d6ba348a59 Add SecurityTokenRepository abstraction
Fixes gh-4405
2017-08-23 17:18:19 -04:00
Joe Grandja
91b0bd4ba5 Provide oauth2login.tokenEndpoint config
Fixes gh-4506
2017-08-23 17:18:01 -04:00
Joe Grandja
c06975080f Allow configuring oauth2 authentication handlers
Fixes gh-4472
2017-08-23 17:17:34 -04:00