Commit Graph

7138 Commits

Author SHA1 Message Date
Rob Winch a5f7713d9f adding a test 2018-06-25 10:03:53 -05:00
Rob Winch 069847ad3f Update to Spring Boot 2.0.3.RELEASE
Fixes: gh-5454
2018-06-20 15:48:41 -05:00
Josh Cummings b437ce03b0
HttpHeadersConfigTests groovy->java
Also, slightly modified the approach when asserting headers. In the
previous incarnation, the tests would assert an exact match against
the list of headers, which is more brittle than confirming that the
expected headers are there and the unexpected ones are not.

Now, should Spring Security add other headers that are outside the
purview of the secure headers configuration, the assertions won't
break.

Issue: gh-4939
2018-06-20 07:53:22 -06:00
Joe Grandja 6081451fa3 Polish OAuth2Configurer 2018-06-19 06:10:30 -04:00
Rob Winch 3573167d77 ServerHttpSecurity oauth leverages OidcReactiveAuthenticationManager
Issue: gh-5330
2018-06-18 16:08:07 -05:00
Rob Winch d521d5e066 Add OidcReactiveAuthenticationManager
Fixes: gh-5330
2018-06-18 16:08:07 -05:00
Rob Winch f7a2a41241 Add OidcReactiveOAuth2UserService
Issue: gh-5330
2018-06-18 16:08:07 -05:00
Rob Winch 5ed319b11a Add NimbusReactiveJwtDecoder
Issue: gh-5330
2018-06-18 16:08:07 -05:00
Rob Winch 0d23aad911 Add ReactiveRemoteJWKSource
Issue: gh-5330
2018-06-18 16:08:07 -05:00
Rob Winch 7898ce2ded Add JWKContextJWKSource
Issue: gh-5330
2018-06-18 16:08:07 -05:00
Rob Winch aa0ea4a8eb Add JWKContext
Issue: gh-5330
2018-06-18 16:06:32 -05:00
Rob Winch 923e23d05b Add JWKSelectorFactory
Issue: gh-5330
2018-06-18 16:06:26 -05:00
Rob Winch 3ddde473f2 Extract OidcTokenValidator
Issue: gh-5330
2018-06-18 16:06:19 -05:00
Rob Winch adb8c60173 Extract OidcUserRequestUtils
This logic is shared by both reactive and non-reactive clients.

Issue: gh-5330
2018-06-18 16:06:01 -05:00
Rob Winch 4d1c8f26c5 Add DelegatingReactiveAuthenticationManager
Fixes: gh-5448
2018-06-18 16:03:41 -05:00
Rob Winch a3db6fc993 Polish OidcUserService
Fixes: gh-5449
2018-06-18 16:03:41 -05:00
Rob Winch c3177a84a3 Override toString() in all RequestMatcher
It makes it easier to debug having custom
toString().

Fixes: gh-5446
2018-06-15 11:27:28 -05:00
Rob Winch 71986e5f42 Fix htmlunit
Fixes: gh-5426
2018-06-12 17:12:52 -05:00
Rob Winch 136f0d94f5 Update to Selenium 3.12.0
Fixes: gh-5427
2018-06-12 17:12:52 -05:00
Rob Winch 7bcba97626 Update to htmlunit-driver:2.31.0
Fixes: gh-5428
2018-06-12 17:12:52 -05:00
Rob Winch f6dca7cf6e Update to hibernate-validator:6.0.10.Final
Fixes: gh-5429
2018-06-12 17:12:52 -05:00
Rob Winch 30fbc5557a Update to Hibernate 5.2.17
Fixes: gh-5430
2018-06-12 17:12:52 -05:00
Rob Winch fc024b994c Update to hsqldb:2.4.1
Fixes: gh-5431
2018-06-12 17:12:52 -05:00
Rob Winch 4cb61cdf5e Update to assertj-core:3.10.0
Fixes: gh-5432
2018-06-12 17:12:52 -05:00
Rob Winch d9275d530f Update to htmlunit:2.31
Fixes: gh-5433
2018-06-12 17:12:52 -05:00
Rob Winch 0a237e4000 Update to unboundid-ldapsdk:4.0.6
Fixes: gh-54234
2018-06-12 17:12:52 -05:00
Rob Winch 8046ce5994 Update to oauth2-oidc-sdk:5.62
Fixes: gh-5435
2018-06-12 17:12:52 -05:00
Rob Winch 67cb03857a Update to nimbus-jose-jwt:5.11
Fixes: gh-5436
2018-06-12 17:12:52 -05:00
Rob Winch 3e05c9912a Update to Jackson 2.9.6
Fixes: gh-5424
2018-06-12 17:12:52 -05:00
Rob Winch 4092f5fbad Update GAE to 1.9.64
Fixes: gh-5422
2018-06-12 17:12:52 -05:00
Joe Grandja 02d29887fb Associate Refresh Token to OAuth2AuthorizedClient
Fixes gh-5416
2018-06-12 11:31:43 -04:00
Rob Winch 1137f3b46d Add cross references to ReactorContextTestExecutionListener
Fixes: gh-5418
2018-06-11 17:13:24 -05:00
Rob Winch bb11a81857 Add UserDetailsRepositoryReactiveAuthenticationManager.setScheduler
Fixes: gh-5417
2018-06-11 14:30:29 -05:00
Joe Grandja 4fc6d96073 Rename @OAuth2Client to @RegisteredOAuth2AuthorizedClient
Fixes gh-5360
2018-06-08 17:33:21 -04:00
Joe Grandja 81a73e1f55 Fix package tangle in OAuth2Configurer
Fixes gh-5342
2018-06-08 11:09:16 -04:00
Joe Grandja 81e19ad85e Move oauth2 samples under boot directory
Issue gh-5397
2018-06-06 09:37:36 -04:00
Rob Winch 7ba48e22ec Remove Spring IO Tests
Spring IO Cairo is the last build and it does not use Spring 5.1
dependencies.
2018-06-05 12:51:03 -05:00
Rob Winch 8857730f9f Update to Gradle 4.8
Fixes: gh-5412
2018-06-05 12:31:21 -05:00
Rob Winch dd1b1b9cc3 Use Spring Framework 5.1.0 SNAPSHOT
Fixes: gh-5408
2018-06-05 12:28:51 -05:00
Rob Winch a9e6d7606e Update WebFlux samples to use Spring Boot
Fixes: gh-5411
2018-06-05 11:31:15 -05:00
Joe Grandja 1ee3c765f6 Fix snapshot build
Fixes gh-5402
2018-06-01 11:01:37 -04:00
Joe Grandja fe979aa996 OidcUserService leverages DefaultOAuth2UserService
Fixes gh-5390
2018-05-31 16:17:47 -04:00
Josh Cummings 3332ccbe50
SecurityContextHolderAwareRequestConfig groovy->java
Issue: gh-4939
2018-05-30 17:37:45 -06:00
Joe Grandja de95583509 Move oauth2login samples under oauth2 directory
Fixes gh-5397
2018-05-30 12:16:05 -04:00
Joe Grandja f9f74b1bfc Simplify oauth2login-webflux sample
Fixes gh-5396
2018-05-30 11:53:25 -04:00
Joe Grandja 6c13e18483 Simplify oauth2login sample
Fixes gh-5384
2018-05-30 11:29:28 -04:00
Joe Grandja 82e4abdd32 OAuth2ClientArgumentResolver uses AnnotatedElementUtils
Fixes gh-5335
2018-05-29 21:29:33 -04:00
Joe Grandja 32c33d1def Add OAuth2AuthenticationException constructor that takes only OAuth2Error
Fixes gh-5374
2018-05-29 21:10:34 -04:00
Joe Grandja 48ef7c966d DefaultLoginPageGeneratingFilter escapes OAuth2 ClientRegistrations
Fixes gh-5394
2018-05-29 10:14:50 -04:00
Rob Winch b3ca598679 Add WebClient Bearer token support
Fixes: gh-5389
2018-05-25 15:17:08 -05:00