mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-05 17:27:25 +00:00
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
10 lines
363 B
Plaintext
10 lines
363 B
Plaintext
[[servlet-exploits]]
|
|
= Protection Against Exploits
|
|
|
|
This section discusses Servlet specific support for xref:overview/features/exploits/index.adoc#exploits[Spring Security's protection against common exploits].
|
|
|
|
* xref:servlet/exploits/csrf.adoc[]
|
|
* xref:servlet/exploits/headers.adoc[]
|
|
* xref:servlet/exploits/http.adoc[]
|
|
* xref:servlet/exploits/firewall.adoc[]
|