Josh Cummings
c43afbf5e1
Format Lambda Expressions
...
This commit updats lambda expressions so that
their variable is surrounded in parentheses.
Issue gh-13067
6 months ago
Tran Ngoc Nhan
92c2e21522
Use Spring Framework Url attribute
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Tran Ngoc Nhan
396b04f355
Update reference Spring Framwork links
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Steve Riesenberg
9b1e9c5db9
Polish and sync java and kotlin configuration docs
...
Issue gh-15029
2 years ago
Steve Riesenberg
5e2209aeef
Fix xref link
...
Issue gh-15029
2 years ago
Steve Riesenberg
2482e8e446
Polish gh-15029
2 years ago
Abimael Sergio
046a1fc811
Update description of securityMatcher and multiple filter chains
...
Closes gh-14419
2 years ago
Siddharth1605
e11ed2d313
Updated the Configuration examples in docs
...
Closes gh-14384
2 years ago
Steve Riesenberg
63556b6636
Polish java.adoc
...
Issue gh-14384
2 years ago
Josh Cummings
c336ca49fb
Update Spring MVC Docs
...
Closes gh-14220
2 years ago
Steve Riesenberg
9db33f33c7
Revert unnecessary merges on 6.0.x
...
This commit removes unnecessary main-branch merges starting from
8750608b5b and adds the following
needed commit(s) that were made afterward:
- 5dce82c48b
2 years ago
Guillaume Husta
a8fcfaa428
Doc : typo in Custom DSLs section
...
Method 'configure' was renamed 'filterChain'
2 years ago
Marcus Da Coregio
1ff5eb6b57
Add with() method to apply SecurityConfigurerAdapter
...
This method is intended to replace .apply() because it will not be possible to chain configurations when .and() gets removed
Closes gh-13204
3 years ago
Johannes Graf
8af3b5afe4
Fix documentation part of Multiple HttpSecurity Instances
...
`http.antMatcher()` is not longer available and was replaced with
`http.securityMatcher()`, so use this in the Java Config Multiple
HttpSecurity Instances example, too
3 years ago
Rob Winch
a5069d7e35
Fix Add @Configuration to @Enable*Security Usage
...
Issue gh-6613
3 years ago
Joshua Sattler
040111ae9e
Remove Configuration meta-annotation from Enable* annotations
...
Before, Spring Security's @Enable* annotations were meta-annotated with @Configuration .
While convenient, this is not consistent with the rest of the Spring projects and most notably
Spring Framework's @Enable annotations. Additionally, the introduction of support for
@Configuration(proxyBeanMethods=false) in Spring Framework provides a compelling reason to
remove @Configuration meta-annotation from Spring Security's @Enable annotations and allow
users to opt into their preferred configuration mode.
Closes gh-6613
Signed-off-by: Joshua Sattler <joshua.sattler@mailbox.org>
3 years ago
Eleftheria Stein
759d983d62
Fix formatting in reference docs
4 years ago
Eleftheria Stein
d4d6ddbaae
Fix formatting in reference docs
4 years ago
Eleftheria Stein
4142f06259
Replace WebSecurityConfigurerAdapter with SecurityFilterChain in docs
...
Closes gh-10003
4 years ago
Eleftheria Stein
4492e5b667
Replace WebSecurityConfigurerAdapter with SecurityFilterChain in docs
...
Closes gh-10003
4 years ago
Josh Cummings
b60020a40c
Use authorizeHttpRequests in Docs
...
Issue gh-8900
4 years ago
Josh Cummings
812d6f7b18
Use authorizeHttpRequests in Docs
...
Issue gh-8900
4 years ago
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.
4 years ago
Rob Winch
77dc3d1a0e
Move to servlet/configurations/*
4 years ago
Rob Winch
0b587dcef1
Reduce folders
4 years ago
Rob Winch
32331185dc
Fix local anchor
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
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
af4cc03dec
Fix some typos and mistakes in docs
4 years ago
Jay Bryant
7171521b47
Further changes based on feedback
...
Mostly restoring the formatting of admonitions.
5 years ago
Jay Bryant
a6d0719177
Various fixes
...
Fixes to make the build work.
5 years ago
Jay Bryant
849aaa4f3e
Change to main
...
The switch to main triggered some conflicts, which I have fixed in this commit.
5 years ago
Jay Bryant
9219cbf9d1
Editing pass
...
I went through everything to get it to fit with Spring's docuemntation standard.
Lots of small changes for punctuation, grammar, usage, voice, and so on.
Also added some links, mostly to the API Javadoc.
5 years ago
Rob Winch
006b9b9607
master->main
...
Closes gh-9683
5 years ago
Eleftheria Stein
90b48554e4
Fix Custom DSL sample in docs
5 years ago
Eleftheria Stein
1ca47f5cd0
Fix typo in Java configuration docs
6 years ago
Eleftheria Stein
1e33627d87
Use standard lambda syntax in documentation
...
Fixes: gh-7774
6 years ago
David Eisner
56f5242595
Fix minor typo.
6 years ago
Josh Cummings
4fa1d08e20
Restructure Docs
...
Issue gh-5935
6 years ago