Rob Winch
7f5b008266
Add spring-security-docs-generated to local-antora-playbook.yml
2021-09-23 15:50:14 -05:00
Rob Winch
be9ff16583
Remove Asciidoctor from the build in favor of Antora
2021-09-23 15:50:14 -05:00
Rob Winch
871bc1c42c
The next version of Security is 5.6
2021-09-23 15:50:14 -05:00
Rob Winch
7e2eb6894f
Use component name of ''
...
This makes it so that the URL contains security in the root of the deploy
folder. We will do this until we decide to add projects other than the
security related projects.
2021-09-23 15:50:14 -05:00
Rob Winch
52bfae5e27
Servlet Authentication no a link in nav
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
e4ce7249cc
Generate antora.yml and push to spring-security-docs-generated
2021-09-23 15:50:14 -05:00
Rob Winch
a0e9c67482
Fix antora version
2021-09-23 15:50:13 -05:00
Rob Winch
0b587dcef1
Reduce folders
2021-09-23 15:50:13 -05:00
Rob Winch
2da377ec88
Fix antora security version
2021-09-23 15:50:13 -05:00
Rob Winch
e681e44268
overview/ -> ../
2021-09-23 15:50:11 -05:00
Rob Winch
a64a694c60
Indent testing subsections in nav.adoc
2021-09-23 15:49:45 -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
f5274926cf
Fix up reactive/oauth2/index.adoc links
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
59e7a10732
Add dispatch
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
heowc
7b73b94198
Fix typo
2021-09-22 16:29:50 -06:00
bishoy basily
860690491a
Add setBodyExtractor
...
Closes gh-10260
2021-09-22 15:32:19 -06:00
Josh Cummings
c3ba2332da
Wire BeanResolver into DefaultMethodSecurityExpressionHandler
...
Closes gh-10305
2021-09-22 14:14:29 -06:00
Josh Cummings
7b599d4770
Share JWKSource Instances
...
Closes gh-10312
2021-09-22 13:28:08 -06:00
Josh Cummings
4e7c9bee46
Add Supplier JwtDecoders
...
Closes gh-9991
2021-09-22 10:58:55 -06:00
heqiang
131078dcae
Fix typo in digest.adoc
...
Closes gh-10304
2021-09-21 14:45:43 -04:00
Steve Riesenberg
a5e4807912
Next Development Version
2021-09-20 13:13:33 -05:00
Steve Riesenberg
e9449beb5f
Release 5.6.0-M3
2021-09-20 11:47:26 -05:00
Marcus Da Coregio
220de60142
Update What's New in 5.6
2021-09-20 12:18:27 -03:00
Josh Cummings
f0fd09bf79
Update What's New in 5.6
2021-09-20 09:09:45 -06:00
Rob Winch
c58fbf0596
Update org.springframework to 5.3.10
...
Closes gh-10297
2021-09-17 16:40:58 -05:00
Rob Winch
f736d4dd76
Update org.mockito to 3.12.4
...
Closes gh-10296
2021-09-17 16:40:58 -05:00
Rob Winch
0de2baeabb
Update junit-bom to 5.8.0
...
Closes gh-10294
2021-09-17 16:40:58 -05:00
Rob Winch
7f3dee175c
Update org.jetbrains.kotlinx to 1.5.2
...
Closes gh-10293
2021-09-17 16:40:58 -05:00
Rob Winch
e846fb43f8
Update org.jetbrains.kotlin to 1.5.30
...
Closes gh-10292
2021-09-17 16:40:58 -05:00
Rob Winch
de6b32ce77
Update hibernate-entitymanager to 5.5.7.Final
...
Closes gh-10291
2021-09-17 16:40:58 -05:00
Rob Winch
d3c5c6add3
Update io.spring.nohttp to 0.0.10
...
Closes gh-10290
2021-09-17 16:40:58 -05:00
Rob Winch
af61fae68a
Update io.projectreactor to 2020.0.11
...
Closes gh-10288
2021-09-17 16:40:58 -05:00
Rob Winch
62db842865
Update com.nimbusds to 9.15
...
Closes gh-10287
2021-09-17 16:40:58 -05:00
Rob Winch
86c445f491
Update nebula-project-plugin to 8.2.0
...
Closes gh-10286
2021-09-17 16:40:58 -05:00
Rob Winch
7e334f8abc
Update jackson-bom to 2.12.5
...
Closes gh-10283
2021-09-17 16:40:58 -05:00
Rob Winch
963d40a7cd
Update logback-classic to 1.2.6
...
Closes gh-10282
2021-09-17 16:40:58 -05:00
Steve Riesenberg
d207d03bf7
Update What's New for 5.6
2021-09-17 14:40:57 -05:00
Marcus Hert da Coregio
ab098f171d
Propagate TestSecurityContextHolder to SecurityContextHolder
...
Create SecurityMockMvcResultHandlers to define security related MockMvc ResultHandlers
Create a method to allow copying the SecurityContext from the TestSecurityContextHolder to SecurityContextHolder
Closes gh-9565
2021-09-17 16:39:53 -03:00
Marcus Da Coregio
017c218bbd
Update What's New section
...
Adds the SAML 2.0 Single Logout Support and the new Saml2AuthenticationRequestRepository
2021-09-17 13:57:23 -03:00
Marcus Da Coregio
0364518b69
Update Saml2LoginConfigurer to pick up Saml2AuthenticationTokenConverter bean
...
Closes gh-10268
2021-09-17 08:13:19 -03:00
Eleftheria Stein
1e76b11b3c
Remove duplicate entry from test LDIF file
...
Closes gh-10274
2021-09-16 10:26:06 +02:00