6134 Commits

Author SHA1 Message Date
Rob Winch
426e24c18e Polish
Formatting changes
2017-09-13 15:31:32 -05:00
Rob Winch
21f8ee7f36 Use basicAuthenticationCredentials 2017-09-13 15:31:32 -05:00
Joe Grandja
65b968f04a Move servlet-specific classes to 'web' package
Fixes gh-4366
2017-09-13 16:13:32 -04:00
Rob Winch
0a36359f11 WebFlux HTTP Basic & Form Login Sessions
By default both HTTP Basic and form log are enabled. Now HTTP Session will
not be used for HTTP Basic, but will be for form log in.
2017-09-13 14:47:44 -05:00
Joe Grandja
9133eb1b78 Revert "Provide fix for Google iss claim"
This reverts commit b6212cba660ff0fb3b99e8d73cb3a29b61d349ac.
2017-09-13 14:07:23 -04:00
Joe Grandja
e31684bcf5 Update google defaults 2017-09-13 14:04:18 -04:00
Vedran Pavic
549decf00a Prefer sub claim as OIDC principal name
This commit removes preference for `name` claim as principal name in `DefaultOidcUser` so that the default is now `sub` claim. In addition to that, `DefaultOidcUser` now also provides constructors to explicitly define the claim to be preferred as principal name.

Fixes gh-4515
2017-09-13 13:53:14 -04:00
Rob Winch
1fe414379c Simplify hellowebfluxfn
This sample should be absolute minimal example
2017-09-13 10:45:11 -05:00
Rob Winch
164404c7d3 Simplify hellowebflux
This sample should be absolute minimal example.
2017-09-13 10:40:50 -05:00
Rob Winch
7bb4367cf1 Prepare Versions for Release 2017-09-13 08:24:14 -05:00
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