46 Commits

Author SHA1 Message Date
Josh Cummings
76eba9bd0c
Add withIssuerLocation
Closes gh-10309
2023-04-12 16:36:15 -06:00
Joe Grandja
e139f1c2ba Polish gh-12438 2022-12-22 11:16:19 -05:00
Josh Cummings
cca999c57d
Merge remote-tracking branch 'origin/5.8.x' 2022-11-01 13:46:08 -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
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
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
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
b9acdd5058 Update opaque-token.adoc
Fixing yaml sample in Servlet and Reactive pages
2022-06-01 13:43:42 +02:00
Steve Riesenberg
f0168c6c27
Add support for customizing claims in JWT Client Assertion
Closes gh-9855
2022-03-17 09:53:16 -05:00
Steve Riesenberg
428216b322 Add support for customizing claims in JWT Client Assertion
Closes gh-9855
2022-03-17 09:50:25 -05:00
Joe Grandja
54b033078b Allow configuring PKCE for confidential clients
Closes gh-6548
2022-03-16 13:36:10 -04:00
Joe Grandja
a2ffc88294 Allow configuring PKCE for confidential clients
Closes gh-6548
2022-03-16 13:33:12 -04:00
Yuriy Savchenko
f64181ab41 Update docs to use multi-tenancy
Closes gh-10572
2022-02-14 17:18:48 +01:00
Yuriy Savchenko
77ba94e1db Update docs to use multi-tenancy
Closes gh-10572
2022-02-14 11:07:42 +01:00
Joe Grandja
525f40490c Allow Jwt assertion to be resolved
Closes gh-9812
2022-01-10 10:59:14 -05:00
Joe Grandja
214cfe807e Allow Jwt assertion to be resolved
Closes gh-9812
2022-01-10 10:42:10 -05:00
Rob Winch
2fb056b5c1 Merge Clean up Reference Documentation
Closes gh-9668
2021-12-13 16:57:36 -06:00
Steve Riesenberg
32ec8c3ae4 Fix Reactive OAuth2 Kotlin DSL examples
Closes gh-10580
2021-12-07 13:58:24 +01:00
Steve Riesenberg
7ec3b55ab3 Fix Reactive OAuth2 Kotlin DSL examples
Closes gh-10580
2021-12-07 13:48:11 +01:00
Steve Riesenberg
1896a5e669 Fix Reactive OAuth2 Kotlin DSL examples
Closes gh-10580
2021-12-06 13:05:50 +01:00
Joe Grandja
4f185724a3 Polish gh-10479 2021-11-12 15:09:50 -05:00
Joe Grandja
eceb9ed479 Polish gh-10479 2021-11-12 15:08:11 -05:00
Steve Riesenberg
0e6722800d Polish gh-10479 2021-11-11 14:24:30 -06:00
Steve Riesenberg
7d806b668f Separate OAuth 2.0 Client Reactive Docs
Related gh-10367
2021-11-11 14:24:29 -06:00
Steve Riesenberg
1246d5839d Revamp OAuth 2.0 Login Reactive documentation
Related gh-8174
2021-11-11 14:24:29 -06:00
Steve Riesenberg
9887b282ce Polish gh-10479 2021-11-11 14:05:55 -06:00
Steve Riesenberg
83f76fa1f6 Separate OAuth 2.0 Client Reactive Docs
Related gh-10367
2021-11-11 10:41:12 -06:00
Steve Riesenberg
0c12aeb7a1 Revamp OAuth 2.0 Login Reactive documentation
Related gh-8174
2021-11-11 10:41:12 -06:00
Josh Cummings
75abf0cf78 Fix Broken Link
Issue gh-10367
2021-11-05 12:52:41 -06:00
Josh Cummings
4a9637483a Separate OAuth 2.0 Client Reactive Docs
Issue gh-10367
2021-11-05 12:45:46 -06:00
Josh Cummings
82696918ae Separate OAuth 2.0 Client Servlet Docs
Issue gh-10367
2021-11-05 12:45:46 -06:00
Josh Cummings
50196537e1 Separate OAuth 2.0 Client Reactive Docs
Issue gh-10367
2021-11-04 12:45:39 -06:00
Josh Cummings
8c508d6afa Separate OAuth 2.0 Client Servlet Docs
Issue gh-10367
2021-11-04 11:33:58 -06:00
Josh Cummings
6d2d3b9a69 Separate Resource Server Reactive Docs
Issue gh-10367
2021-10-29 13:06:38 -06:00
Joe Grandja
ce09f3eff4 Polish gh-10373 2021-10-28 09:06:30 -04:00
Josh Cummings
4b0e74aac4 Separate Resource Server Servlet Docs
Issue gh-10367
2021-10-27 10:02:05 -06:00
Rob Winch
d40e8f6732 Fix Antora warnings 2021-10-26 20:05:06 -05:00
Steve Riesenberg
47087ba9c5 Revamp OAuth 2.0 Client reactive documentation
Related gh-8174
2021-10-14 14:35:25 -05:00
Alexander Schwartz
f561499683 Fix Antora cross-references that lead to other pages.
Also using AsciiDoc style listings instead of Markdown style listings, and using explicit section IDs on all cross-references.
2021-10-06 09:53:15 -06:00
Rob Winch
e681e44268 overview/ -> ../ 2021-09-23 15:50:11 -05:00
Rob Winch
1f90df6a14 mkdir -p build/ids
find -name "*.adoc" |  xargs -I{file} awk -v file={file} '/\[\[/ {  gsub("\[|\]", ""); id=$0; gsub("./docs/modules/ROOT/pages/", "", file); gsub("\[|\]", ""); id=$0;getline;text=$0; sub("^=+ ","", text); print file > "build/ids/"id".id"; print text > "build/ids/"id".text" }' {file}

find docs/modules -name "*.adoc"|while read adoc_file_to_replace; do
  echo "Replacing $adoc_file_to_replace"
  for id_file in build/ids/*.id; do
    id=$(basename $id_file | sed 's/\.id$//')
    xref_page=$(cat $id_file)
    if [[ "$adoc_file_to_replace" -ef "./docs/modules/ROOT/pages/$xref_page" ]]
    then
      echo "  - Skipping same page refid $id "
    else
      sed -i -E "s%<<$id(|,([^,>]+))>>%xref:${xref_page}#${id}[\2]%g" $adoc_file_to_replace
    fi
  done
done
2021-09-23 15:49:43 -05:00
Rob Winch
f5274926cf Fix up reactive/oauth2/index.adoc links 2021-09-23 15:47:21 -05:00
Rob Winch
c3dfb1711d Remove includes 2021-09-23 15:45:22 -05:00
Rob Winch
f01a13aa52 Antora
mkdir -p docs/modules/ROOT/
mkdir -p docs/modules/ROOT/pages/
git checkout antora-2.x docs/antora.yml
git checkout antora-2.x docs/modules/ROOT/nav.adoc
mv docs/manual/src/docs/asciidoc/images docs/modules/ROOT/
mv docs/manual/src/docs/asciidoc/_includes/* docs/modules/ROOT/pages/
cp ~/code/rwinch/spring-reference/*antora* ~/code/spring-projects/spring-security/
mv docs/modules/ROOT/pages/about docs/modules/ROOT/pages/overview
2021-09-23 15:45:22 -05:00