Commit Graph

205 Commits

Author SHA1 Message Date
Hero Wanders f372f5cf52 Replace OidcSessionStrategy References with OidcSessionRegistry 2024-08-26 15:32:35 -07:00
Josh Cummings f0f04e490e
Merge branch '6.3.x' 2024-08-26 16:25:27 -06:00
Josh Cummings 6ea33ceaea
Merge branch '6.2.x' into 6.3.x 2024-08-26 16:25:12 -06:00
Junhyunny 47723f6d39 Fix code format in OIDC Logout docs 2024-08-26 15:14:02 -07:00
Rob Winch 5bd4db1a13 Use javadoc macro
Closes gh-15386
2024-07-09 22:35:01 -05:00
Ivanov Maxim Romanovich 725e35977b Removed extra import word 2024-06-10 15:27:19 -06:00
Ivanov Maxim Romanovich 5bffa4e454 Fix import for example 2024-06-10 15:27:19 -06:00
Marcus Hert Da Coregio e013d96758 Clarify the behavior of Concurrent Session Management when an IdP is involved
Closes gh-15071
2024-06-05 13:59:24 -03:00
Marcus Hert Da Coregio 76ca0ee52f Merge branch '6.2.x'
Closes gh-15065
2024-05-13 11:23:34 -03:00
Marcus Hert Da Coregio 963cdc7b2a Merge branch '6.1.x' into 6.2.x
Closes gh-15063
2024-05-13 11:22:19 -03:00
Marcus Hert Da Coregio f5b9dc3282 Merge branch '5.8.x' into 6.1.x
Closes gh-15062
2024-05-13 11:22:09 -03:00
Patrick Schmidt 1ebd663253 doc: added hint to declare GrantedAuthorityDefaults as infrastructure bean
Closes gh-14779
2024-05-13 11:19:41 -03:00
Marcus Hert Da Coregio 08f11f06ab Revert unnecessary commits from main
Issue gh-15016
2024-05-08 13:49:18 -03:00
madorb 1ae99be1cf Clarify Package Import
Provide more explict instructions regarding the necessary import
to make the Kotlin DSL work. For some reason it took me 10 minutes
to figure this out based on the existing doc.
2024-04-30 08:48:57 -03:00
Steve Riesenberg 2dd908dff8
Document additional client authenticating methods
Issue gh-11440
Closes gh-14982
2024-04-29 15:07:46 -05:00
MrJovanovic13 1657296bb7 Replace "Spring Boot 2.x" with "Spring Boot"
Closes gh-14917
2024-04-18 16:01:54 -05:00
Sarvajith Adyanthaya b5c9ba6c1c
Update Documentation about Kotlin Coroutine Support
Closes gh-14646
2024-04-12 11:29:38 -05:00
Krishna Chaitanya Surapaneni 89175dfed0 making sure it is in sync with servlet page 2024-03-29 11:16:08 -05:00
Steve Riesenberg 313619fec3
Polish OAuth2 Client docs
Issue gh-14698
2024-03-26 16:00:29 -05:00
Steve Riesenberg f3c745c65b
Add reference documentation for Token Exchange
Closes gh-14698
2024-03-26 16:00:29 -05:00
Steve Riesenberg 22f84cf3f3
Update reactive OAuth2 docs landing page
Closes gh-14758
2024-03-26 16:00:28 -05:00
Steve Riesenberg 9751636735
Polish gh-12281 2024-03-07 16:26:26 -06:00
Daniel Shuy 488901dd4e
Fix Delegation-based Strategy examples
Fix examples not copying userNameAttributeName

Issue gh-12275
Issue gh-12282
Issue gh-14672
2024-03-07 16:26:24 -06:00
Josh Cummings 69527f9a9c
Merge branch '6.2.x' 2024-03-04 15:43:07 -07:00
Josh Cummings 386e0a7b46
Merge branch '6.1.x' into 6.2.x
Closes gh-14682
2024-03-04 15:42:48 -07:00
Josh Cummings 0ab9ad774d
Merge branch '5.8.x' into 6.1.x
Closes gh-14681
2024-03-04 15:42:35 -07:00
Josh Cummings e1c4177cd8
Fix ServerLogoutHandler Order in Docs
Closes gh-14379
2024-03-04 15:42:09 -07:00
Marcus Hert Da Coregio f8ff056eb6 Update Max Sessions on WebFlux
Delete WebSessionStoreReactiveSessionRegistry.java and gives the responsibility to remove the sessions from the WebSessionStore to the handler

Issue gh-6192
2024-02-28 10:06:45 -03:00
Marcus Hert Da Coregio f3bcf7ed5d Revert "Update max sessions docs"
This reverts commit c86fd99c8f.
2024-02-28 08:30:05 -03:00
Marcus Hert Da Coregio c86fd99c8f Update max sessions docs
Add WebSessionStore constructor parameter to the handler

Issue gh-6192
2024-02-27 13:36:43 -03:00
Josh Cummings 16155537a5
Merge branch '6.2.x' 2024-02-26 11:10:49 -07:00
Josh Cummings aedffa7919
Merge branch '6.1.x' into 6.2.x
Closes gh-14653
2024-02-26 11:10:38 -07:00
Josh Cummings ddd5d2e9cd
Fix Observability Typo
Closes gh-14651
2024-02-26 11:09:57 -07:00
Josh Cummings 5188012932
Merge branch '6.2.x' 2023-12-18 12:05:07 -07:00
Josh Cummings edcba77df4
Merge branch '6.1.x' into 6.2.x
Closes gh-14348
2023-12-18 12:04:53 -07:00
Josh Cummings 3f881eb127
Merge branch '5.8.x' into 6.1.x
Closes gh-14347
2023-12-18 12:04:37 -07:00
Josh Cummings 59461d94b0
Clarify RSocket Configuration Docs
Closes gh-13718
2023-12-18 12:02:49 -07:00
Josh Cummings 3b7c971960
Merge branch '6.2.x' 2023-12-11 11:45:33 -07:00
Josh Cummings d130a18d3c
Merge branch '6.1.x' into 6.2.x
Closes gh-14280
2023-12-11 11:45:16 -07:00
Josh Cummings f0772dc788
Merge branch '5.8.x' into 6.1.x
Closes gh-14279
2023-12-11 11:44:44 -07:00
Josh Cummings 74d06f020d
Update to Latest Boot Property
Closes gh-14252
2023-12-11 11:44:08 -07:00
Marcus Da Coregio 57ab15127a Add Max Sessions on WebFlux
Closes gh-6192
2023-12-11 09:48:34 -03:00
Josh Cummings 22000b42e9
Merge remote-tracking branch 'origin/6.1.x' 2023-11-07 16:34:15 -07:00
Josh Cummings 42225371d7
Merge branch '6.0.x' into 6.1.x
Closes gh-14114
2023-11-07 16:33:45 -07:00
Josh Cummings 18c5f4354e
Merge branch '5.8.x' into 6.0.x
Closes gh-14113
2023-11-07 16:31:46 -07:00
Josh Cummings b919ece045
Change Idempotent to Read-Only
Closes gh-13644
2023-11-07 16:25:28 -07:00
Steve Riesenberg 447f40949c
Revert unnecessary merges on 6.1.x
This commit removes unnecessary main-branch merges starting from
9f8db22b77 and adds the following
needed commit(s) that were made afterward:

- 4d6ff49b9d
- ed6ff670d1
- c823b00794
- 44fad21363
2023-10-31 15:22:15 -05:00
Steve Riesenberg 9db33f33c7
Revert unnecessary merges on 6.0.x
This commit removes unnecessary main-branch merges starting from
8750608b5b and adds the following
needed commit(s) that were made afterward:

- 5dce82c48b
2023-10-31 15:11:45 -05:00
Josh Cummings a3227f041c
Polish OAuth2AuthorizationManagers
- Add OAuth2ReactiveAuthorizationManagers
- Code to interfaces
- Align error message with the same in
AuthorityAuthorizationManager
- Adjust expectations in tests to confirm an
appropriately constructed authorizaion manager
- Add JavaDoc and reference documentation

Issue gh-13654
2023-10-02 17:26:06 -06:00
Josh Cummings 6b0d82236d
Fix Documentation Errors
Issue gh-12570
2023-09-18 16:21:37 -06:00
Josh Cummings cb33fd7850
Add OIDC Back-Channel Logout Support
Closes gh-12570
2023-09-16 15:12:21 -06:00
Josh Cummings 3b7e7f63d8
Update Jwt Multi-tenancy Documentation
Issue gh-13427
2023-08-08 10:03:11 -06:00
Marcus Da Coregio 1416b0649e Merge branch '6.0.x' into 6.1.x
Closes gh-13590
2023-07-27 11:25:19 -03:00
Marcus Da Coregio 461d6edd85 Merge branch '5.8.x' into 6.0.x
Closes gh-13589
2023-07-27 11:23:58 -03:00
Marcus Da Coregio 13ca7ac4d4 Referrer-Policy is added by default in Reactive applications
Closes gh-13561
2023-07-27 11:22:21 -03:00
Rob Winch 8407c9ebee Merge branch '6.0.x'
Closes gh-13407
2023-06-18 21:41:16 -05:00
Rob Winch f66a5bab99 Merge branch '5.8.x' into 6.0.x
Closes gh-13406
2023-06-18 21:33:58 -05:00
Rob Winch 7da99acca7 Merge branch '5.7.x' into 5.8.x
Closes gh-13405
2023-06-18 21:32:35 -05:00
Rob Winch 0cf95dbf61 Merge branch '5.6.x' into 5.7.x
Closes gh-13404
2023-06-18 21:31:35 -05:00
Rob Winch 39c43159f4 Convert to Asciidoctor Tabs
Closes gh-13403
2023-06-18 21:30:41 -05:00
Rob Winch 04692d9ee8 Fix Antora Warnings
Closes gh-13210
2023-06-08 17:02:19 -05:00
Josh Cummings b969179b5c
Merge branch '5.7.x' into 5.8.x 2023-05-10 15:53:22 -06:00
Josh Cummings 3469bcb822
Address Antora Warnings 2023-05-10 15:51:49 -06:00
Marcus Da Coregio 42cd19fcee Merge branch '6.0.x'
Closes gh-13103
2023-04-26 15:59:20 -03:00
Marcus Da Coregio 8c5f13657e Merge branch '5.8.x' into 6.0.x
Closes gh-13102
2023-04-26 15:58:25 -03:00
Marcus Da Coregio 5632469a90 Merge branch '5.7.x' into 5.8.x
Closes gh-13101
2023-04-26 15:57:32 -03:00
Marcus Da Coregio e61adcb0cd Clarify that Kotlin DSL needs an import
Closes gh-13092
2023-04-26 15:56:47 -03:00
Josh Cummings 76eba9bd0c
Add withIssuerLocation
Closes gh-10309
2023-04-12 16:36:15 -06:00
Marcus Da Coregio 5db3e54647 Merge branch '6.0.x'
Closes gh-12993
2023-04-11 09:58:20 -03:00
Marcus Da Coregio 34015944f2 Merge branch '5.8.x' into 6.0.x
Closes gh-12992
2023-04-11 09:57:52 -03:00
Marcus Da Coregio 68fd755abc Merge branch '5.7.x' into 5.8.x
Closes gh-12991
2023-04-11 09:57:15 -03:00
Marcus Da Coregio e25117856e Add static imports to code snippets
Closes gh-6597
2023-04-11 09:56:19 -03:00
Wyfrel 3b447b938c fix missing semi-colon java example in observability documentation 2023-03-03 15:04:16 -07:00
Steve Riesenberg 5286b78308
Merge branch '6.0.x'
Closes gh-12684
2023-02-16 13:27:17 -06:00
Steve Riesenberg c4f68d83bf
Document default CsrfTokenRequestHandler in 6.0
Closes gh-12651
2023-02-16 13:26:23 -06:00
Joe Grandja e139f1c2ba Polish gh-12438 2022-12-22 11:16:19 -05:00
Josh Cummings c60c10792c
Fix Observability Opt-out Documentation Typo
Issue gh-12268
2022-11-29 16:24:57 -07:00
Josh Cummings cca999c57d
Merge remote-tracking branch 'origin/5.8.x' 2022-11-01 13:46:08 -06:00
Josh Cummings d29ab8bcae
Merge branch '5.7.x' into 5.8.x 2022-11-01 13:43:40 -06:00
Josh Cummings c94e33b6c8
Merge branch '5.6.x' into 5.7.x 2022-11-01 13:42:35 -06:00
Ger Roza 8315545144 Update RP-Initiated Logout target URLs.
The URLs we're using are not actually pointing to the OIDC RP-Initiated Logout Specs.

Fixes: gh-12081
2022-11-01 12:35:39 -06:00
Josh Cummings fe96a62dfc
Document Observability Support
Issue gh-10964
2022-10-12 20:32:25 -06:00
Daniel Garnier-Moiroux 27059ced87
Default X-Xss-Protection header value to "0"
Closes gh-9631
2022-10-07 17:42:55 -05:00
Steve Riesenberg 6753f9745e
Merge branch '5.8.x'
# Conflicts:
#	config/src/test/kotlin/org/springframework/security/config/web/server/ServerCsrfDslTests.kt
#	docs/modules/ROOT/pages/reactive/exploits/csrf.adoc
2022-10-07 17:29:07 -05:00
Steve Riesenberg f462134e87
Add reactive support for BREACH
Closes gh-11959
2022-10-07 16:34:17 -05:00
Steve Riesenberg 181ee7410b
Change default authority for oauth2Login()
Previously, the default authority was ROLE_USER when using
oauth2Login() for both OAuth2 and OIDC providers.

* Default authority for OAuth2UserAuthority is now OAUTH2_USER
* Default authority for OidcUserAuthority is now OIDC_USER

Documentation has been updated to include this implementation detail.

Closes gh-7856
2022-09-26 10:06:31 -05:00
Josh Cummings 84f765a89c
Merge remote-tracking branch 'origin/5.8.x' into main 2022-08-25 14:46:48 -06:00
Josh Cummings 070dce1baf
Document ReactiveMethodSecurity improvements
Issue gh-9401
2022-08-25 14:36:03 -06:00
Josh Cummings 27ce5936cf
Add Caveat about Spring Security's co-routine support
Closes gh-10920
2022-08-25 14:36:02 -06:00
Joshua Sattler 040111ae9e Remove Configuration meta-annotation from Enable* annotations
Before, Spring Security's @Enable* annotations were meta-annotated with @Configuration.
While convenient, this is not consistent with the rest of the Spring projects and most notably
Spring Framework's @Enable annotations. Additionally, the introduction of support for
@Configuration(proxyBeanMethods=false) in Spring Framework provides a compelling reason to
remove @Configuration meta-annotation from Spring Security's @Enable annotations and allow
users to opt into their preferred configuration mode.

Closes gh-6613

Signed-off-by: Joshua Sattler <joshua.sattler@mailbox.org>
2022-07-30 03:48:42 +02:00
Steve Riesenberg a72c5a55db
Revert "Remove @Configuration from webflux config examples"
This reverts commit aec9effb88.
2022-07-26 16:46:01 -05:00
Joshua Sattler aec9effb88 Remove @Configuration from webflux config examples 2022-07-26 16:34:10 -05:00
Yuriy Savchenko 0f64d4c091 Add Kotlin example for WebTestClient setup docs
Closes gh-9998
2022-07-22 14:04:16 -03:00
Yuriy Savchenko 7c7751635d Add Kotlin example for WebTestClient setup docs
Closes gh-9998
2022-07-22 13:56:41 -03:00
Yuriy Savchenko 5322352427 Add Kotlin example for WebTestClient setup docs
Closes gh-9998
2022-07-22 13:49:21 -03:00
Yuriy Savchenko db9d60e82d Add Kotlin example for WebTestClient setup docs
Closes gh-9998
2022-07-22 13:47:07 -03:00
André Luis Gomes aca3fc2412 Update opaque-token.adoc
Fixing yaml sample in Servlet and Reactive pages
2022-06-01 08:51:44 -03:00
André Luis Gomes 0c31cb21dc Update opaque-token.adoc
Fixing yaml sample in Servlet and Reactive pages
2022-06-01 08:50:56 -03:00
André Luis Gomes 24701b547f Update opaque-token.adoc
Fixing yaml sample in Servlet and Reactive pages
2022-06-01 08:49:47 -03:00
André Luis Gomes b9acdd5058 Update opaque-token.adoc
Fixing yaml sample in Servlet and Reactive pages
2022-06-01 13:43:42 +02:00