46 Commits

Author SHA1 Message Date
Underground Hill
8b74bf9742 Updated reference to architecture page
In the context of Servlet Authentication page, "Architecture" should probably link to "Servlet Authentication Architecture" page
2022-09-01 09:38:10 -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
Josh Cummings
d7077b441a
Correct access(String) reference
Closes gh-11280
2022-05-27 15:00:15 -06:00
Josh Cummings
101f11ba94
Improve ContextConfiguration Docs
Point to updated Spring Reference

Issue gh-10934
2022-05-27 13:12:56 -06:00
Josh Cummings
18b903f6e3
Polish ExtendWith Docs
Use spring-framework-reference-url placeholder

Issue gh-10934
2022-05-27 13:12:56 -06:00
nor-ek
038266a94f
Update JUnit 5 annotations in documentation
- replace Before with BeforeEach
- replace RunWith with ExtendWith

Closes gh-10934
2022-05-27 13:12:55 -06:00
Johannes Graf
4ee5800ec9
use okta as registration id
looks like `ping` is some registration id used in the past.

Closes gh-11034
2022-03-30 14:41:03 -06:00
Rob Winch
6e45a376cd Remove "Hi ... there" From Docs
Close gh-10963
2022-03-11 13:42:38 -06:00
Talerngpong Virojwutikul
45a88fc391 add Kotlin examples for Spring Data Integration of servlet application 2022-02-18 08:49:27 -03:00
Ken Dombeck
55cccbf727 Fix broken link to SAML2 login example 2022-02-03 10:20:45 -06:00
Josh Cummings
20c252982e Remove SAML 2.0 Logout Default
Closes gh-10607
2022-01-14 15:29:50 -07:00
Josh Cummings
16a21264d0 Polish AuthRequestConverter Sample Doc
Issue gh-10364
2021-11-18 13:36:31 -07:00
Norbert Nowak
1c0f092176 Fix AuthnRequestConverter Sample Typos
Closes gh-10364
2021-11-18 13:26:53 -07:00
Jeff Maxwell
32d79f3f4e Fix setJWTClaimSetJWSKeySelector Typo
Closes gh-10504
2021-11-16 15:33:42 -07:00
Jeff Maxwell
088a24cf59 Fix jwtDecoder Documentation Usage
Closes gh-10505
2021-11-16 15:18:42 -07:00
Josh Cummings
6b6f473a1b Added authorizeHttpRequests Docs
Closes gh-10442
2021-11-15 16:23:18 -07:00
Steve Riesenberg
73e1506e5e Consistency update for servlet docs 2021-11-11 14:24:29 -06:00
Josh Cummings
310a50587c Port Missing Integration Docs
Closes gh-10465
2021-11-10 16:09:50 -07:00
Josh Cummings
b60020a40c Use authorizeHttpRequests in Docs
Issue gh-8900
2021-11-10 16:09:50 -07:00
Josh Cummings
7708418fae Separate OAuth 2.0 Login Servlet 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
Steve Riesenberg
e350c8a852 Document parameters converter in oauth2 client servlet docs
Closes gh-10467
2021-11-05 12:45:46 -06:00
Steve Riesenberg
efa2fab061 Document authentication helper method in WebClient integration
Closes gh-10120
2021-11-05 12:45:46 -06:00
Josh Cummings
76ebbb84f7 Separate Namespace Servlet Docs
Issue gh-10367
2021-11-05 12:45:46 -06:00
Josh Cummings
11aa02c6fb Separate SAML 2.0 Login Docs
Issue gh-10367
2021-10-29 15:06:54 -06:00
Josh Cummings
f02a7d2b28 Separate Testing Servlet Docs
Issue gh-10367
2021-10-29 12:34:29 -06:00
Josh Cummings
f39d272a86 Separate SAML Docs
Issue gh-10367
2021-10-29 11:30:41 -06:00
Rob Winch
7a99542662 Docs Use Section Summary where appropriate
Closes gh-10449
2021-10-28 14:02:38 -05:00
Josh Cummings
4b0e74aac4 Separate Resource Server Servlet Docs
Issue gh-10367
2021-10-27 10:02:05 -06: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
77dc3d1a0e Move to servlet/configurations/* 2021-09-23 15:50:14 -05:00
Rob Winch
ca2bc958df Create features/integrations 2021-09-23 15:50:14 -05:00
Rob Winch
d6ada7fb18 Remove /servlet/hello/index.adoc
This is now /servlet/getting-started.adoc
2021-09-23 15:50:14 -05:00
Rob Winch
e368734557 Update "Big Picture" to Architecture 2021-09-23 15:50:14 -05:00
Rob Winch
a7f3f54a33 architecture/index.adoc -> ../architecture.adoc
BASE_DIR=docs/modules/ROOT/pages

git --no-pager diff HEAD~1 --diff-filter=R -M | sed -Ez "s%(\nrename to|rename from |similarity index [^\n]+|diff[^\n]+|$BASE_DIR/)%%g" | grep "\S" | while read rename_from_to; do
  from=$(echo $rename_from_to | cut -f 1 -d " ")
  to=$(echo $rename_from_to | cut -f 2 -d " ")
  echo "processing rename from $from to $to"
  find "$BASE_DIR/../" -name "*.adoc" | while read adoc_file; do
    sed -i -E "s%xref:$from%xref:$to%g" "$adoc_file"
  done
done
2021-09-23 15:50:14 -05:00
Rob Winch
583761f916 unpwd->passwords folder 2021-09-23 15:50:14 -05:00
Rob Winch
0b587dcef1 Reduce folders 2021-09-23 15:50:13 -05:00
Rob Winch
e681e44268 overview/ -> ../ 2021-09-23 15:50:11 -05:00
Rob Winch
32331185dc Fix local anchor 2021-09-23 15:49:45 -05:00
Rob Winch
29a7669101 rg "xref:\S+?#\S+\[\]" docs/modules -l -g "*.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
      text_file=$(echo $id_file | sed 's/\.id$/.text/')
      default_text=$(cat $text_file)
      sed -i -E "s%xref:${xref_page}#${id}\[\]%xref:${xref_page}#${id}[$default_text]%g" $adoc_file_to_replace
    fi
  done
done
2021-09-23 15:49:45 -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
d2affef356 Fix images
- Move images into assets/
- Remove figures form antora.yml
- Add :figures: to each page that uses it
2021-09-23 15:47:21 -05:00
Rob Winch
88ac7a5d2e Fixup servlet/authentication/architecture/index.adoc 2021-09-23 15:47:21 -05:00
Rob Winch
b8a362a60f Remove include servlet/saml2/index.adoc 2021-09-23 15:47:20 -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