Commit Graph

7441 Commits

Author SHA1 Message Date
Joe Grandja 2c078c5dd9 Remove expiresAt constructor-arg in OAuth2RefreshToken
Fixes gh-5854
2018-09-19 10:47:30 -04:00
Rob Winch ece5de3f99 Polish What's New
Issue: gh-5857
2018-09-19 09:45:13 -05:00
Joe Grandja 8b0a3a760c Use providedSessionAuthenticationStrategy
Fixes gh-5763
2018-09-19 07:04:49 -04:00
John Lin f5e2ca1b6e Fix truncated javadoc for Secured
Fixes: gh-5861
2018-09-18 21:34:02 -05:00
Rob Winch 62db88ce6a Add WebFlux CORS Reference
Fixes: gh-5870
2018-09-18 21:24:36 -05:00
Rob Winch 501c008526 Add WebFlux Redirect to HTTPS Reference
Fixes: gh-5869
2018-09-18 21:12:37 -05:00
Rob Winch db9248e05a Polish WebFlux HTTP Headers Reference
Issue: gh-5868
2018-09-18 20:30:45 -05:00
Rob Winch 7b7f579746 What's New Links to WebFlux sections
Issue: gh-5857
2018-09-18 17:23:03 -05:00
Rob Winch 54d07b6b8b Add WebFlux HTTP Headers Reference
Fixes: gh-5868
2018-09-18 17:09:41 -05:00
Josh Cummings a7f94b2188
Separate Servlet and WebFlux Feature Lists
Issue: gh-5857
2018-09-18 12:05:20 -06:00
Josh Cummings 2a83e34db5
Remove NOTE bookmarks
Originally, there were two references to "[[NOTE]]" which was
confusing since Asciidoc can't have two bookmarks of the same name.

Changed these to "[NOTE]" so they would display the "note" component
in the docs.

Issue: gh-5866
2018-09-18 12:05:19 -06:00
Rob Winch 87243ea453 Add WebFlux Resource Server Reference
Fixes: gh-5866
2018-09-18 10:58:56 -05:00
Rob Winch 83af2df131 Add WebFlux @RegisteredOAuth2AuthorizedClient Reference
Fixes: gh-5864
2018-09-18 10:25:06 -05:00
Rob Winch 1e1b8ab3e7 Add WebFlux OAuth2 Client Reference
Fixes: gh- 5865
2018-09-18 10:24:59 -05:00
Rob Winch a44d07ecf4 Fix OAuth2 Login Reference Format
Issue: gh-5836
2018-09-18 09:42:09 -05:00
Rob Winch 3ecefab957 Add WebFlux OAuth2 Login Reference
Fixes: gh-5863
2018-09-18 09:41:45 -05:00
Rob Winch 12c17e837b Remove JDK 10/11 from Jenkinsfile
This is necessary until we can figure out how to fix the build.

Issue: gh-5860
2018-09-17 22:40:45 -05:00
Rob Winch 735d755bb1 Add WebClient OAuth2 Documentation
Fixes: gh-5859
2018-09-17 22:26:33 -05:00
Rob Winch cc8935e904 Fix Reactive OIDC to add refresh token
Fixes: gh-5858
2018-09-17 21:21:36 -05:00
Rob Winch 72301e548a Reactive OAuth2 DSL Customizations
Fixes: gh-5855
2018-09-17 21:21:36 -05:00
Rob Winch 385bdfc055 OAuth2AuthorizationCodeGrantWebFilter works with /{action}/
This ensures that the same URL can work for both log in and
authorization code which prevents having to create additional registrations
on the client and potentially on the server (GitHub only allows a single
valid redirect URL).

Fixes: gh-5856
2018-09-17 21:21:36 -05:00
Josh Cummings 26afc18b66
What's New in Spring Security 5.1
An initial skeleton pointing to the various sections of Spring
Security that received an update in Spring Security 5.1

Issue: gh-5857
2018-09-17 16:37:47 -06:00
Josh Cummings b3d33708d1
JAXB for Authorization Server Sample
For Java 9+ compatibility

Issue: gh-5833
2018-09-14 09:21:37 -06:00
Rob Winch 9c749bf556 Fix SwitchUserFilter matchers
Fixes: gh-4249
2018-09-14 09:45:41 -05:00
Rob Winch 8b19f7a71a AntPathRequestMatcher supports UrlPathHelper
Fixes: gh-5846
2018-09-14 09:45:41 -05:00
Josh Cummings 17dd95d525
Polish Authorization Server Sample
Change primary user's username to "subject" to align with
oauth2resourceserver sample.
2018-09-13 16:21:10 -06:00
Josh Cummings f2140dd5f5
Authorization Server Sample
A simple Authorization Server sample based off of the Legacy
Authorization Server project, spring-security-oauth2.

This project is mostly useful as a utility for other samples whose
usage would be clearer if an Authorization Server were introduced.

Note that this server is a barebones OAuth 2.0 Authorization Server
configuration, but is still useful for understanding how to set up an
Authorization Server using spring-security-oauth2.

Fixes: gh-5833
2018-09-13 15:24:32 -06:00
Rob Winch c21b2f31c6 Polish resourceserver samples
- Use ${mockserver.url} instead of mock://
- Consistency between reactive/imperative samples

Fixes: gh-5844
2018-09-13 14:31:23 -05:00
Rob Winch f68141d42a Update to Spring Boot 2.1.0.M3
Fixes: gh-5843
2018-09-13 10:27:16 -05:00
Rob Winch f5c73a566a Fixes: gh-5841 2018-09-13 09:23:13 -05:00
Rob Winch 68bc649a45 Fix XsdDocumentedTests
Issue: gh-5836
2018-09-12 19:56:30 -05:00
Rob Winch 5b8d66e911 Extract Preface
Issue: gh-5836
2018-09-12 17:04:41 -05:00
Rob Winch 57359058dd Separate Servlet and WebFlux
Fixes: gh-5836
2018-09-12 16:48:41 -05:00
Joe Grandja ed9cd478ba Polish
Issue gh-5776
2018-09-12 11:57:53 -04:00
Joe Grandja 8746e71b9a Use OAuth2AuthorizationException in authorization flows 2018-09-11 14:53:42 -05:00
Joe Grandja ef02ab2f8a DefaultOAuth2UserService handles OAuth2AuthorizationException 2018-09-11 14:53:42 -05:00
Joe Grandja 7474d6524e DefaultAuthorizationCodeTokenResponseClient throws OAuth2AuthorizationException 2018-09-11 14:53:42 -05:00
Joe Grandja 56b4576396 DefaultClientCredentialsTokenResponseClient throws OAuth2AuthorizationException
Fixes gh-5726
2018-09-11 14:53:42 -05:00
Joe Grandja e56c048db3 Remove OAuth2ClientException 2018-09-11 14:53:42 -05:00
Joe Grandja b3282957a8 Add OAuth2AuthorizationException 2018-09-11 14:53:42 -05:00
Jisoo Youn 3f3a3e8351 Fix convention 2018-09-11 13:57:23 -05:00
Johnny Lim 42327a0aec Polish OAuth2ResourceServerConfigurerTests 2018-09-10 13:24:16 -06:00
Rob Winch e5e91204fc Next development version
Issue: gh-5823
2018-09-07 15:57:04 -05:00
Rob Winch 8c4ff64db0 Release Spring Security 5.1.0.RC2
Fixes: gh-5823
2018-09-07 15:56:22 -05:00
Rob Winch 26e577b0fa UnauthenticatedServerOAuth2AuthorizedClientRepository->UnAuthenticatedServerOAuth2AuthorizedClientRepository
Issue: gh-5817
2018-09-07 15:29:35 -05:00
Rob Winch 11ea92ef1c Add UnauthenticatedServerOAuth2AuthorizedClientRepository
Fixes: gh-5817
2018-09-07 15:28:40 -05:00
Rob Winch 96d85ad2b5 Polish HttpsRedirectWebFilter
Issue: gh-5749
2018-09-07 14:29:46 -05:00
Josh Cummings 2c982a4168 Reactive Redirect to Https
This introduces the capability to configure Reactive Spring Security
to upgrade requests to HTTPS

Fixes: gh-5749
2018-09-07 14:25:58 -05:00
Johnny Lim f164f2f869
Polish FilterComparator
Extracts STEP incrementing into a separate helper class
2018-09-07 10:30:57 -06:00
Joe Grandja d4576a2502 Update to Spring 5.1.0.RC3
Fixes gh-5798
2018-09-07 12:19:56 -04:00