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
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
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
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
496fcbb102
Add OAuth2 resource server WebFlux samples
...
Issue gh-8172
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
Eleftheria Stein
12a8795c3d
Fix typo in resource server docs
5 years ago
Rob Winch
ca1252be94
Replace whitelist with allowlist
...
Issue gh-8676
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
419d7264f9
Add Docs for Custom Bearer Token Header
...
Issue gh-8337
6 years ago
Rob Winch
2909d46060
Fix Asciidoctor Warnings
...
Closes gh-7973
6 years ago
Josh Cummings
a90e579350
Add JwtIssuerReactiveAuthenticationManagerResolver
...
Fixes gh-7857
6 years ago
Eleftheria Stein
1e33627d87
Use standard lambda syntax in documentation
...
Fixes: gh-7774
6 years ago
Rob Winch
04b6096d19
Fix Asciidoctor Warnings
...
Issue gh-7801
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
Josh Cummings
f43996b99f
Add OAuth2AuthenticatedPrincipal Link
...
Fixes gh-7406
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
Josh Cummings
f22fdf1bc0
Align OAuth Reactive/Servlet Resource Server Docs
...
Fixes gh-7430
Fixes gh-7425
Fixes gh-7460
6 years ago
Eleftheria Stein
0b4502b2c5
Remove exceptions from lambda security configuration
...
Fixes: gh-7128
6 years ago
Eleftheria Stein
a288ce4b00
Support nested builder in DSL for reactive apps
...
Fixes: gh-7107
7 years ago
Luca Graf
c43e632a6d
Fix typo in OAuth2TokenValidator doc
...
Fixes gh-6925
7 years ago
RusZh
0c2a7e03f7
Update resource-server.adoc
...
Fix typo in the code sample
7 years ago
Bryan Kelly
5abe6ca718
Missing spring: prefix on jwk-set-uri example
7 years ago
Josh Cummings
78e27ca17f
Update Reactive Resource Server Docs
...
Resource Server documentation for both Servlet and Reactive now have a
similar feel and offer deeper exposure to common use cases.
Fixes: gh-6054
7 years ago
Josh Cummings
2a83e34db5
Remove NOTE bookmarks
...
Originally, there were two references to "[[NOTE]]" which was
confusing since Asciidoc can't have two bookmarks of the same name.
Changed these to "[NOTE]" so they would display the "note" component
in the docs.
Issue: gh-5866
7 years ago
Rob Winch
87243ea453
Add WebFlux Resource Server Reference
...
Fixes: gh-5866
7 years ago