Rob Winch
939a5581f2
Antora remove unnecessary logging
2021-11-11 16:07:43 -06:00
Rob Winch
3c39761ca1
Add --stacktrace Antora argument
2021-11-11 16:01:17 -06:00
Rob Winch
c93595969e
Add Spring Security 5.6.0-RC1
2021-11-11 16:01:17 -06:00
Steve Riesenberg
a3e658872c
Update What's New for 5.6
2021-11-11 15:20:19 -06:00
Steve Riesenberg
9887b282ce
Polish gh-10479
2021-11-11 14:05:55 -06:00
Rob Winch
cba5d3239e
Fix versions
2021-11-11 13:38:48 -06:00
Rob Winch
4f88bb8e5f
Antora Playbook
2021-11-11 13:37:08 -06:00
Steve Riesenberg
ab794bf67a
Consistency update for servlet docs
2021-11-11 10:41:12 -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
09a14bf8a0
Port Missing Integration Docs
...
Closes gh-10465
2021-11-10 16:08:57 -07:00
Josh Cummings
812d6f7b18
Use authorizeHttpRequests in Docs
...
Issue gh-8900
2021-11-10 16:08:57 -07:00
Josh Cummings
03504e2233
Update What's New Links
2021-11-10 16:08:57 -07:00
Josh Cummings
75abf0cf78
Fix Broken Link
...
Issue gh-10367
2021-11-05 12:52:41 -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
3db13de1e2
Separate OAuth 2.0 Login Servlet Docs
...
Issue gh-10367
2021-11-04 11:55:53 -06:00
Josh Cummings
8c508d6afa
Separate OAuth 2.0 Client Servlet Docs
...
Issue gh-10367
2021-11-04 11:33:58 -06:00
Steve Riesenberg
b27c7e17f4
Document parameters converter in oauth2 client servlet docs
...
Closes gh-10467
2021-11-03 17:09:44 -05:00
Steve Riesenberg
49f3c0ce53
Document authentication helper method in WebClient integration
...
Closes gh-10120
2021-11-03 15:57:12 -05:00
Josh Cummings
869e379099
Separate Namespace Servlet Docs
...
Issue gh-10367
2021-11-01 17:49:15 -06:00
Rob Winch
c705a093a2
Quote the version for antora.yml
2021-11-01 15:35:37 -05:00
Rob Winch
e4a465a704
Put nav in generated docs
2021-11-01 10:27:34 -05:00
Rob Winch
e2c5772b3d
Use explicit version from antora.yml
2021-11-01 09:58:23 -05: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
Marcus Da Coregio
b2e6c60d94
Remove remoting technologies support
...
Closes gh-10366
2021-11-01 09:02:42 -03:00
Josh Cummings
11aa02c6fb
Separate SAML 2.0 Login Docs
...
Issue gh-10367
2021-10-29 15:06:54 -06:00
Josh Cummings
6d2d3b9a69
Separate Resource Server Reactive Docs
...
Issue gh-10367
2021-10-29 13:06:38 -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
Josh Cummings
b4ffe154d7
Separate Testing Reactive Docs
...
Issue gh-10367
2021-10-29 10:09:04 -06:00
Rob Winch
7a99542662
Docs Use Section Summary where appropriate
...
Closes gh-10449
2021-10-28 14:02:38 -05:00
Joe Grandja
b77cb8d0cb
Remove redundant docs for Reactive OAuth2 Client
...
Issue gh-10373
2021-10-28 09:23:32 -04: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
Rob Winch
9357c2f05d
antora.component.version extract major.minor only
2021-10-26 15:22:40 -05:00
Rob Winch
144af074b7
Use a dynamic version for Antora
2021-10-26 14:20:35 -05:00
Rob Winch
863bee2bc7
Revert 6.0 generated version
2021-10-25 21:16:05 -05:00
Rob Winch
dbf8e9ecce
Use 6.0 for generated docs
2021-10-25 21:11:35 -05:00
Rob Winch
0c105ff44f
Use ROOT component name
2021-10-25 10:48:53 -05:00
Rob Winch
f27ad296d0
Generated docs use version URL
2021-10-21 10:11:11 -05:00
Rob Winch
ecd7301893
Use version in docs URL
2021-10-21 10:10:24 -05:00
Rob Winch
a8c7ac9010
Add Antora based docs in whats-new
2021-10-18 21:11:47 -05:00
Steve Riesenberg
47087ba9c5
Revamp OAuth 2.0 Client reactive documentation
...
Related gh-8174
2021-10-14 14:35:25 -05:00
Steve Riesenberg
a487ef2d74
Add JwtEncoder to What's New in 5.6
2021-10-14 14:26:48 -05:00
Marcus Da Coregio
c82722c412
Update What's New in 5.6
2021-10-14 09:27:39 -03:00
Steve Riesenberg
00f466a431
Update What's New in 5.6
2021-10-13 12:06:47 -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
14fd213557
Better consistency between reactive and servlet
2021-09-23 15:50:14 -05: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
ab63ebbbee
Add link to authorization from features.
2021-09-23 15:50:14 -05:00
Rob Winch
176e6b6000
Add additional info to overview
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
0d339aeda6
Add Reactive Getting Started Page
2021-09-23 15:50:14 -05:00
Rob Winch
7537aa5124
Add generic authorization page
2021-09-23 15:50:14 -05:00
Rob Winch
a1c7a39bd3
Fix Firewall link in nav
2021-09-23 15:50:14 -05:00
Rob Winch
d52aab88af
Update nav text Project Modules
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
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
heqiang
131078dcae
Fix typo in digest.adoc
...
Closes gh-10304
2021-09-21 14:45:43 -04: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
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
Ashley Scopes
729418ad7a
Fix typo in headers asciidoc
2021-09-15 15:05:08 -06:00
Dmitriy Bogdanov
fe274e7553
Fix some list punctuation and capitalization in docs
2021-09-15 10:49:02 -06:00
Dmitriy Bogdanov
31a8f8c4df
Fix the use of "s" with code blocks in docs
2021-09-15 10:49:02 -06:00
Dmitriy Bogdanov
af4cc03dec
Fix some typos and mistakes in docs
2021-09-15 10:49:02 -06:00
Anthony Lofton
8cba9fbf9d
Updated test.adoc SecurityMockServerConfigurers method references
...
Updated all references to SecurityMockServerConfigurers to refer to
correct methods.
Added documentation for mockJwt to include the
SecurityMockServerConfigurers class.
2021-09-14 15:04:08 -03:00
Josh Cummings
4f06fc6ed1
Add Saml2LogoutConfigurer
...
Closes gh-9497
2021-09-13 16:39:48 -06:00
Josh Cummings
c63d618b26
Add Single Logout Support
...
Closes gh-8731
2021-09-13 16:39:48 -06:00
Josh Cummings
6488295cad
Add RelyingPartyRegistrationResolver
...
Closes gh-9486
2021-09-13 16:39:48 -06:00
Josh Cummings
f5a525e740
Add Registration to Saml2Authentication
...
Closes gh-9487
2021-09-13 16:39:48 -06:00
heqiang
3443eac829
Fix typo in index.adoc
2021-09-13 16:32:32 +02:00
Marcus Da Coregio
6fae98a6f4
Update docs to point to ACL samples
...
Closes gh-10110
2021-09-06 11:14:57 -03:00
Josh Cummings
989c1419d5
Clarify OAuth 2.0 Resource Server Multitenancy Snippet
...
Closes gh-10233
2021-09-03 16:54:41 -06:00
Ayush Kohli
1cfe84922c
Add Java examples to session management docs
...
Closes gh-8979
2021-08-26 10:14:48 +02:00