Commit Graph

6404 Commits

Author SHA1 Message Date
Rob Winch 9d46af3d7c Introduce SpringTestContext
This adds support for testing different configurations per method.
2017-10-18 15:14:43 -05:00
Joe Grandja a77bdb0c5d Make AuthorizationRequest serializable
Fixes gh-4627
2017-10-18 15:55:37 -04:00
Rob Winch d7d6400971 DefaultStateGenerator->Base64StringKeyGenerator
Rename and move DefaultStateGenerator since it is more generic than just
OAuth.

Fixes gh-4645
2017-10-18 11:29:04 -05:00
Rob Winch d554b06a43 OAuth use ConcurrentHashMap
Fixes gh-4647
2017-10-17 22:17:09 -05:00
Rob Winch b764c666c6 Fix jwt package tangles
JWT is part of OAuth2, so it should be a subpackage of oauth2.

Fixes gh-4614
2017-10-17 21:06:27 -05:00
Rob Winch c5abcd1fcd DefaultAuthorizationRequestUriBuilder uses StringUtils
Fixes gh-4642
2017-10-17 20:24:43 -05:00
Joe Grandja 7b8d131386 Fix package tangles -> OAuth2/Oidc AuthenticationProvider's
Fixes gh-4614
2017-10-16 20:56:32 -04:00
Rob Winch 983d019ee8 Polish
Add back explicit casting to ensure compatibility if
overloaded methods are added.

Issue: gh-4632
2017-10-16 18:33:40 -05: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
Rob Winch 1dc49276f8 Fix P tangle
Issue: gh-4636
2017-10-16 16:36:15 -05:00
Rob Winch 06c87d0079 Update to Spring Data Kay-BUILD-SNAPSHOT
Fixes gh-4634
2017-10-16 16:30:59 -05:00
Rob Winch d574d61abe Update to Reactor Bismuth-BUILD-SNAPSHOT
Fixes gh-4635
2017-10-16 16:30:59 -05:00
Rob Winch 96f6368214 Update to Spring Framework 5.0.1.BUILD-SNAPSHOT
Fixes gh-4633
2017-10-16 16:30:59 -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 ea64d10d95 Polish jwt-jose 2017-10-13 07:09:00 -04:00
Joe Grandja c441f99567 Polish oauth2-client 2017-10-13 07:09:00 -04:00
Joe Grandja d4d7199a6d Polish oauth2-core 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
Rob Winch 8c7fa85107 Polish ServerLogoutSuccessHandler
Extract to be used by LogoutWebFilter

Issue: gh-4616
2017-10-12 14:29:51 -05:00
Andreas Gebhardt 0c830f9ba8 fix JavaDoc typo on `BasicAuthenticationEntryPoint` 2017-10-12 07:42:58 -05:00
Hanson, Tristan 53cb6c17e4 gh-4482 - Updating docs for `ConcurrentSessionFilter` configuration example 2017-10-12 07:41:11 -05:00
bbelovic 91d9404828 Fixed typo in HttpSecurity.authorizeRequests javadoc 2017-10-12 07:36:37 -05:00
Joe Grandja df474e04d8 Move logic from AuthorizationCodeAuthenticationFilter to OAuth2UserAuthenticationProvider 2017-10-11 17:39:21 -04:00
Joe Grandja 18df9a869e Move config AuthorizationCodeGrantConfigurer -> OAuth2LoginConfigurer 2017-10-11 17:39:21 -04:00
Joe Grandja ca5b62abb5 Move AuthorizationResponseConverter logic to AuthorizationCodeAuthenticationFilter 2017-10-11 17:39:21 -04:00
Rob Winch 364de19048 ServerAuthenticationSuccessHandler consistent parameter order
Previously it started with Authentication while all the other APIs started
with ServerWebExchange

Fixes gh-4619
2017-10-11 16:24:14 -05:00
Rob Winch 78d2069c46 ServerAuthenticationSuccessHandler.success->onAuthenticationSuccess
Fixes gh-4618
2017-10-11 16:24:14 -05: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 7bd7aeed6d Polish 2017-10-11 16:13:02 -05:00
Rob Winch 1298d446f1 Polish ServerLogoutSuccessHandler
Fix license header
2017-10-11 15:27:33 -05:00
Rob Winch dc3f4c6221 Add ServerLogoutSuccessHandler
Fixes gh-4616
2017-10-11 15:08:07 -05:00
Rob Winch 6366be9435 Polish LogoutWebFilter 2017-10-11 14:52:34 -05:00
Rob Winch af0a6efaab Polish SecurityContextServerLogoutHandler 2017-10-11 14:18:43 -05:00
Rob Winch fd40efd6b2 Ignore classes/ 2017-10-11 13:58:31 -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