Commit Graph

854 Commits

Author SHA1 Message Date
Rob Winch d231441cc0 EnableWebFluxSecurityTests uses SpringTestRule
This will hopefully resolve the periodic failures in
EnableWebFluxSecurityTests
2017-10-18 15:14:43 -05:00
Rob Winch 9d46af3d7c Introduce SpringTestContext
This adds support for testing different configurations per method.
2017-10-18 15:14:43 -05:00
Joe Grandja 7b8d131386 Fix package tangles -> OAuth2/Oidc AuthenticationProvider's
Fixes gh-4614
2017-10-16 20:56:32 -04:00
Johnny Lim 25052214ae Polish 2017-10-16 18:33:27 -05:00
Rob Winch a74f7c6faa Fix CSRF / DefaultLoginPageGeneratingFilter package tangle
Issue: gh-4636
2017-10-16 16:36:49 -05:00
Rob Winch 7fd1cff3ce Fix PrePostAdviceReactiveMethodInterceptor tangle
Issue: gh-4636
2017-10-16 16:36:43 -05:00
Rob Winch 579282437b Move GlobalAuthenticationConfigurerAdapter
Issue: gh-4636
2017-10-16 16:36:33 -05:00
Joe Grandja a7d054c9f3 Remove AuthorizationGrantAuthenticator 2017-10-16 13:43:11 -04:00
Joe Grandja 3c824dc44b Fix package tangles -> OAuth2UserService
Fixes gh-4614
2017-10-13 18:59:41 -04:00
Joe Grandja cfa4858b04 Fix package tangles -> AuthorizationGrantTokenExchanger
Fixes gh-4614
2017-10-13 16:35:48 -04:00
Joe Grandja c441f99567 Polish oauth2-client 2017-10-13 07:09:00 -04:00
Rob Winch 211e8eae90 Remove formLogin() and httpBasic() from defaults 2017-10-12 16:41:01 -05:00
Rob Winch 5fae710d69 Polish ServerHttpSecurityConfigurationBuilder
Fix copyright
2017-10-12 16:20:18 -05:00
Rob Winch 30487c3b4b Polish ServerHttpSecurity testing 2017-10-12 15:54:54 -05:00
Rob Winch 015cc2203e Fix ServerHttpSecurity 2017-10-12 15:54:54 -05:00
bbelovic 91d9404828 Fixed typo in HttpSecurity.authorizeRequests javadoc 2017-10-12 07:36:37 -05:00
Joe Grandja 18df9a869e Move config AuthorizationCodeGrantConfigurer -> OAuth2LoginConfigurer 2017-10-11 17:39:21 -04:00
Rob Winch 247f737bc8 Move HttpBasicServerAuthenticationEntryPoint
Move it up a package as www is too sparse. This is different than servlet
based support, but we also are now using a generic AuthenticationWebFilter

Fixes gh-4617
2017-10-11 16:24:14 -05:00
Rob Winch 7271a427e8 SecurityContextServerRepository->ServerSecurityContextRepository
Issue gh-4615
2017-10-11 13:58:28 -05:00
Rob Winch 792944eee7 HttpSecurity->ServerHttpSecurity
Issue gh-4615
2017-10-11 13:58:24 -05:00
Rob Winch 185d3032f5 LogoutHandler->ServerLogoutHandler
Issue gh-4615
2017-10-11 13:58:21 -05:00
Rob Winch c9ce528206 AuthenticationFailureHandler->ServerAuthenticationFailureHandler
Issue gh-4615
2017-10-11 13:58:18 -05:00
Rob Winch 897e7111e3 AccessDeniedHandler->ServerAccessDeniedHandler
Issue gh-4615
2017-10-11 13:58:14 -05:00
Rob Winch a5af2a07d7 HttpHeadersWriter->ServerHttpHeadersWriter
Issue gh-4615
2017-10-11 13:58:09 -05:00
Rob Winch 2982b82b2d AuthenticationSuccessHandler->ServerAuthenticationSuccessHandler
Issue gh-4615
2017-10-11 13:58:06 -05:00
Rob Winch b858985b0e AuthenticationReactorContextFilter->AuthenticationReactorContextWebFilter
Issue gh-4615
2017-10-11 13:58:02 -05:00
Rob Winch bfcc2a602d SecurityContextRepository->SecurityContextServerRepository
Issue gh-4615
2017-10-11 13:57:59 -05:00
Rob Winch e99e2a9f09 PrePostAdviceMethodInterceptor->PrePostAdviceReactiveMethodInterceptor
Issue gh-4615
2017-10-11 13:57:54 -05:00
Rob Winch d0de8d40dd WebFilterChainFilter -> WebFilterChainProxy
Issue gh-4615
2017-10-11 13:57:50 -05:00
Rob Winch cfc5572b7a AuthenticationEntryPoint->ServerAuthenticationEntryPoint
Issue gh-4615
2017-10-11 13:57:46 -05:00
Rob Winch 8d4a73cf3f Use Server<Description>AuthenticationConverter
Issue gh-4615
2017-10-11 13:57:43 -05:00
Rob Winch 5502856095 UserDetailsRepositoryAuthenticationManager->UserDetailsRepositoryReactiveAuthenticationManager
Issue gh-4615
2017-10-11 13:57:35 -05:00
Rob Winch 4681697581 UserDetailsRepository->ReactiveUserDetailsService
Issue gh-4615
2017-10-11 13:57:30 -05:00
Rob Winch f1bc82dcef AuthenticatedAuthorizationManager->AuthenticatedReactiveAuthorizationManager
Issue gh-4615
2017-10-11 13:57:26 -05:00
Rob Winch 866ce5eaec AuthorityAuthorizationManager->AuthorityReactiveAuthorizationManager
Issue gh-4615
2017-10-11 13:57:08 -05:00
Joe Grandja d840090cb0 Add support for implicit grant type
Fixes gh-4500
2017-10-11 13:54:59 -04:00
Joe Grandja 6963b3c5d5 Expose login page config for oauth2Login
Fixes gh-4570
2017-10-10 19:05:57 -04:00
Joe Grandja da0a7afa38 Polish AuthorizationCodeAuthenticationFilter
Fixes gh-4599
2017-10-10 14:39:47 -04:00
Joe Grandja efa4bf409c Remove AuthorizationCodeRequestRedirectFilter. setAuthorizationRequestMatcher 2017-10-10 14:38:06 -04:00
Joe Grandja 6b16fa0d8c Polish OAuth Security Configurers 2017-10-10 14:38:06 -04:00
Rob Winch 23f56f568c Update MockitJunitRunner import
Issue: gh-4608
2017-10-09 16:13:33 -05:00
Rob Winch 445834784a Update to Mockito 2.10.0
Issue: gh-4608
2017-10-09 16:13:11 -05:00
Rob Winch 370fc48afe Polish LogoutBuilder
Issue gh-4603
2017-10-06 16:37:11 -05:00
shazin.sadakath@gmail.com 79e749790f Add Reactive LogoutBuilder
Fixes gh-4541
2017-10-06 16:36:19 -05:00
Rob Winch c77cc72cd3 Fix EnableWebFluxSecurityTests
Fixes gh-4604
2017-10-06 16:28:57 -05:00
Joe Grandja 926ad45f21 Add default config for common OAuth2 Providers
Fixes gh-4597
2017-10-06 10:17:32 -04:00
Joe Grandja 29d36e4d16 Remove OAuth2ClientTemplatePropertiesLoader
Fixes gh-4598
2017-10-05 20:15:28 -04:00
Joe Grandja 1b7e761be4 Remove SecurityTokenRepository from AuthorizationCodeAuthenticationProvider constructor
Fixes gh-4591
2017-10-05 17:05:56 -04:00
Joe Grandja eb320bfed4 AuthorizationCodeAuthenticationProcessingFilter -> AuthorizationCodeAuthenticationFilter 2017-10-05 16:40:12 -04:00
Joe Grandja 5c14e48b18 Add OAuth2UserAuthenticationProvider
Moved logic from AuthorizationCodeAuthenticationProvider
to OAuth2UserAuthenticationProvider (new) related to
loading user attributes via OAuth2UserService.

This re-factor is part of the work required for Issue gh-4513
2017-10-05 15:15:35 -04:00