150 Commits

Author SHA1 Message Date
Marcus Da Coregio
ff6fd78d64 Merge branch '5.7.x' into 5.8.x 2022-09-01 09:39:10 -03:00
Marcus Da Coregio
0a08a23423 Merge branch '5.6.x' into 5.7.x 2022-09-01 09:38:33 -03:00
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
Steve Riesenberg
8474acebf2
Merge branch '5.8.x' 2022-08-29 15:12:48 -05:00
he1ex-tG
568277f8bc
Mistake in Kotlin code representation is fixed 2022-08-29 15:11:10 -05:00
Marcus Da Coregio
0c549ee147 Use SHA256 by default in Remember Me
Closes gh-11520
2022-07-25 10:33:12 -03:00
Marcus Da Coregio
f45c4d4b8e Add SHA256 as an algorithm option for Remember Me token hashing
Closes gh-8549
2022-07-15 10:41:03 -03:00
Marcus Da Coregio
dda98f333c Polish
Make encodingAlgorithm final and add it to the constructor
Add since tags
Add more tests
2022-07-15 10:34:36 -03:00
Marcus Da Coregio
e17fe8ced9 Add SHA256 as an algorithm option for Remember Me token hashing
Closes gh-8549
2022-07-15 10:34:36 -03:00
sKai.fun
a3e996a66b Fix title render issue of Digest Authentication document
Closes gh-11272
2022-06-01 17:33:41 -05:00
sKai.fun
953b54f63d Fix title render issue of Digest Authentication document
Closes gh-11272
2022-06-01 15:15:03 -05:00
sKai.fun
6b1d5ec6ae Fix title render issue of Digest Authentication document
Closes gh-11272
2022-06-01 15:13:06 -05:00
Rob Winch
9a9a43a0c0 ForceEagerSessionCreationFilter
Closes gh-11109
2022-04-15 14:18:25 -05:00
Rob Winch
aaf78330b1 ForceEagerSessionCreationFilter
Closes gh-11109
2022-04-15 14:16:35 -05:00
Rob Winch
972039e65c Add SecurityContextHolderFilter
Closes gh-9635
2022-03-12 13:31:04 -06:00
Rob Winch
87ed31a99c Add SecurityContextHolderFilter
Closes gh-9635
2022-03-11 17:22:23 -06:00
Rob Winch
ae7d56d65b Add Persistence to documentation
Closes gh-10962
2022-03-11 13:43:11 -06:00
Rob Winch
6e45a376cd Remove "Hi ... there" From Docs
Close gh-10963
2022-03-11 13:42:38 -06:00
Rob Winch
e4f1826622 Remove "Hi ... there" From Docs
Close gh-10963
2022-03-11 13:41:19 -06:00
Rob Winch
b71b2f81e1 Add Persistence to documentation
Closes gh-10962
2022-03-11 13:41:19 -06:00
Eleftheria Stein
a2d1965c25 Add DEFAULT_USER_SCHEMA_DDL_LOCATION constant
Closes gh-10837
2022-02-15 11:30:45 +01:00
Eleftheria Stein
c6b185465d Add DEFAULT_USER_SCHEMA_DDL_LOCATION constant
Closes gh-10837
2022-02-15 11:24:23 +01:00
Eleftheria Stein
4142f06259 Replace WebSecurityConfigurerAdapter with SecurityFilterChain in docs
Closes gh-10003
2022-02-08 18:10:58 +01:00
Eleftheria Stein
4492e5b667 Replace WebSecurityConfigurerAdapter with SecurityFilterChain in docs
Closes gh-10003
2022-02-08 16:12:10 +01:00
Eleftheria Stein
99c488c6ae Polish LDAP reference docs
Issue gh-10789
2022-01-28 17:15:37 +01:00
Eleftheria Stein
869fc8c96c Use LDAP AuthenticationManager factory in reference docs
Closes gh-10789
2022-01-28 17:13:04 +01:00
Eleftheria Stein
e280061538 Polish LDAP reference docs
Issue gh-10789
2022-01-28 17:04:39 +01:00
Eleftheria Stein
d5824521e8 Use LDAP AuthenticationManager factory in reference docs
Closes gh-10789
2022-01-28 17:03:56 +01:00
Rob Winch
f94090a59b Remove spring-security-openid
Closes gh-10773
2022-01-21 16:55:19 -06:00
Rob Winch
2fb056b5c1 Merge Clean up Reference Documentation
Closes gh-9668
2021-12-13 16:57:36 -06:00
Josh Cummings
7708418fae Separate OAuth 2.0 Login Servlet Docs
Issue gh-10367
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
3db13de1e2 Separate OAuth 2.0 Login Servlet Docs
Issue gh-10367
2021-11-04 11:55:53 -06:00
Josh Cummings
869e379099 Separate Namespace Servlet Docs
Issue gh-10367
2021-11-01 17:49:15 -06:00
Marcus Da Coregio
caf4c47105 Remove CAS module
Closes gh-10441
2021-11-01 09:02:43 -03:00
Marcus Da Coregio
db60df2f9c Update to Spring Framework 6.0
Issue gh-10360
2021-11-01 09:02:42 -03:00
Josh Cummings
f02a7d2b28 Separate Testing Servlet Docs
Issue gh-10367
2021-10-29 12:34:29 -06:00
Rob Winch
7a99542662 Docs Use Section Summary where appropriate
Closes gh-10449
2021-10-28 14:02:38 -05:00
Rob Winch
77dc3d1a0e Move to servlet/configurations/* 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
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