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
4 years ago
Rob Winch
583761f916
unpwd->passwords folder
4 years ago
Rob Winch
0b587dcef1
Reduce folders
4 years ago
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
4 years ago
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
4 years ago
Rob Winch
d2affef356
Fix images
...
- Move images into assets/
- Remove figures form antora.yml
- Add :figures: to each page that uses it
4 years ago
Rob Winch
c3dfb1711d
Remove includes
4 years ago
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
4 years ago
Dmitriy Bogdanov
31a8f8c4df
Fix the use of "s" with code blocks in docs
4 years ago
Josh Cummings
989c1419d5
Clarify OAuth 2.0 Resource Server Multitenancy Snippet
...
Closes gh-10233
4 years ago
dmitrilc
a4431264e6
Update oauth2-resourceserver.adoc
...
fix the name of the parameter, from failure to badCredentials
Replaces AuthenticationFailureEvent
Remove AuthenticationFailureEvent Reference
Closes gh-10062
4 years ago
Luke Quinane
e30b45c6fb
Fix typos
5 years ago
Eleftheria Stein
da9d7414bd
Add remaining Kotlin samples to reference docs
...
Closes gh-8172
5 years ago
Marcus Hert da Coregio
bbf5614a9c
Fix Broken Links in Docs
...
Closes gh-9869
5 years ago
Marcus Da Coregio
0aa93b18d6
Update links to point to migrated samples
...
Closes gh-9816
5 years ago
Eleftheria Stein
e3416640a7
Fix Resource Server clock skew default value in docs
...
Closes gh-6611
5 years ago
Josh Cummings
366146ff80
Polish JWT Signature Algorithm Discovery
...
- Moved support to JwtDecoders and ReactiveJwtDecoders since there is
already the expectation that those classes make an outbound connection
to complete configuration. Since there's no outbound connection when
configuring a NimbusJwtDecoder or NimbusReactiveJwtDecoder, it would be
more intrusive to change that.
Closes gh-7160
5 years ago
Eleftheria Stein
44399a5256
Add servlet OAuth2 resource server Kotlin samples
...
Issue gh-8172
5 years ago
Eleftheria Stein
7a5d9ce287
Fix typos in reference docs
5 years ago
Phillip Webb
8d80166aaf
Update exception variable names
...
Consistently use `ex` for caught exception and `cause` for Exception
constructor arguments.
Issue gh-8945
5 years ago
Eleftheria Stein
cf48f986f6
Fix typo in resource server documentation
5 years ago
Eleftheria Stein
d839e4dd71
Fix typos in resource server docs
...
- Use withJwkSetUri instead of fromJwkSetUri
- Use ES512 instead of EC512
- Use NimbusReactiveOpaqueTokenIntrospector instead of NimbusOpaqueTokenIntrospector in reactive
- User authorizeExchange instead of authorizeRequests
5 years ago
Rob Winch
ca1252be94
Replace whitelist with allowlist
...
Issue gh-8676
6 years ago
Jean-Pierre Bergamin
fbd3cfa40e
Fix code snippets to configure timeouts
...
Issue: gh-8487
6 years ago
Jean-Pierre Bergamin
6d5d883518
Use Opaquetoken properties to configure timeouts
...
Improve the documentation to show how to re-use the Opaquetoken properties of `OAuth2ResourceServerProperties` to set up basic auth in the configured `RestTemplate`.
6 years ago
Philipp Gerhard
b9b89035f6
Documented dependencies opaque Resource Server
...
Extended the documentation for the opaque Resource Server in order to clearly state which dependencies are required in order for the minimal deployment to work. Replaced dead link for Contribute guidelines in README.adoc
Closes gh-8391
6 years ago
Josh Cummings
13b2b00093
Add JwtAuthenticationConverter docs
...
Issue gh-8185
6 years ago
Josh Cummings
ad8c49acae
Add Docs
...
Issue gh-8332
6 years ago
Josh Cummings
419d7264f9
Add Docs for Custom Bearer Token Header
...
Issue gh-8337
6 years ago
Josh Cummings
81ad2958bd
Clarify ServerBearerExchangeFilterFunction Docs
...
Fixes gh-8220
6 years ago
Josh Cummings
e62b8a7585
Add Figures to Resource Server Docs
...
Fixes gh-8182
6 years ago
Josh Cummings
dcacd06360
Polish Resource Server JWT Docs
...
Issue gh-5935
6 years ago
Josh Cummings
8872d8b7d0
Polish Resource Server Multi-tenancy Docs
...
Issue gh-7532
6 years ago
Josh Cummings
933104d2d6
Document JwtGrantedAuthoritiesConverter Features
...
Fixes gh-8176
6 years ago
Josh Cummings
3b80c2e345
Document AuthenticationEventPublisher
...
Fixes gh-8081
6 years ago
Josh Cummings
5b1838fd73
Add Resource Server XML snippets
...
Fixes gh-8077
6 years ago
Josh Cummings
93b8c656d8
Document JwtClaimValidator
...
Fixes gh-8076
6 years ago
Eleftheria Stein
603eb1e647
Add OAuth2 Kotlin samples to docs
...
Issue: gh-5558
6 years ago
Rob Winch
2909d46060
Fix Asciidoctor Warnings
...
Closes gh-7973
6 years ago
Eleftheria Stein
1e33627d87
Use standard lambda syntax in documentation
...
Fixes: gh-7774
6 years ago
Josh Cummings
de87675f6d
Add JwtIssuerAuthenticationManagerResolver
...
Fixes gh-7724
6 years ago
Rafael Renan Pacheco
96d82ecbf2
Fix docs that cause unchecked assignment and NPE
6 years ago
Eleftheria Stein
f109388211
Use lambda DSL in all samples in documentation
...
Issue: gh-7774
6 years ago
Rafael Renan Pacheco
0295b51e78
Fix var typo and code readability
6 years ago
Josh Cummings
63647e9546
Add Resource Server Multi-tenancy Docs
...
Fixes: gh-7532
6 years ago
Josh Cummings
f43996b99f
Add OAuth2AuthenticatedPrincipal Link
...
Fixes gh-7406
6 years ago
Josh Cummings
5d0e80c85c
Polish BearerTokenResolver Docs
...
Issue gh-6254
6 years ago
Josh Cummings
4fa1d08e20
Restructure Docs
...
Issue gh-5935
6 years ago
Josh Cummings
124d9964d7
Document Bearer Token Propagation
...
Fixes gh-7461
6 years ago
Josh Cummings
3a9ee46719
Document RFC 8414 Support
...
Fixes gh-7462
6 years ago