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
Marcus Hert Da Coregio
08f11f06ab
Revert unnecessary commits from main
...
Issue gh-15016
2 years ago
Steve Riesenberg
9751636735
Polish gh-12281
2 years ago
Daniel Shuy
488901dd4e
Fix Delegation-based Strategy examples
...
Fix examples not copying userNameAttributeName
Issue gh-12275
Issue gh-12282
Issue gh-14672
2 years ago
Joao Silva
c5d1683690
Fixes logout link in advanced oauth2 servlet configuration (was pointing to the reactive page)
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
Josh Cummings
af6fce4a71
Fix Documentation Errors
...
Issue gh-12570
(cherry picked from commit 6b0d82236d )
2 years ago
Josh Cummings
6b0d82236d
Fix Documentation Errors
...
Issue gh-12570
2 years ago
Josh Cummings
cb33fd7850
Add OIDC Back-Channel Logout Support
...
Closes gh-12570
2 years ago
Rob Winch
39c43159f4
Convert to Asciidoctor Tabs
...
Closes gh-13403
3 years ago
Rob Winch
04692d9ee8
Fix Antora Warnings
...
Closes gh-13210
3 years ago
Josh Cummings
3469bcb822
Address Antora Warnings
3 years ago
Ger Roza
8315545144
Update RP-Initiated Logout target URLs.
...
The URLs we're using are not actually pointing to the OIDC RP-Initiated Logout Specs.
Fixes: gh-12081
3 years ago
Steve Riesenberg
181ee7410b
Change default authority for oauth2Login()
...
Previously, the default authority was ROLE_USER when using
oauth2Login() for both OAuth2 and OIDC providers.
* Default authority for OAuth2UserAuthority is now OAUTH2_USER
* Default authority for OidcUserAuthority is now OIDC_USER
Documentation has been updated to include this implementation detail.
Closes gh-7856
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
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
Steve Riesenberg
73e1506e5e
Consistency update for servlet docs
4 years ago
Steve Riesenberg
ab794bf67a
Consistency update for servlet docs
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
Josh Cummings
7708418fae
Separate OAuth 2.0 Login Servlet Docs
...
Issue gh-10367
4 years ago
Josh Cummings
82696918ae
Separate OAuth 2.0 Client Servlet Docs
...
Issue gh-10367
4 years ago
Josh Cummings
76ebbb84f7
Separate Namespace Servlet Docs
...
Issue gh-10367
4 years ago
Josh Cummings
3db13de1e2
Separate OAuth 2.0 Login Servlet Docs
...
Issue gh-10367
4 years ago
Josh Cummings
8c508d6afa
Separate OAuth 2.0 Client Servlet Docs
...
Issue gh-10367
4 years ago
Josh Cummings
869e379099
Separate Namespace Servlet Docs
...
Issue gh-10367
4 years ago
Rob Winch
e681e44268
overview/ -> ../
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
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
Marcus Da Coregio
f9a7ae0a6f
Update links to point to migrated samples
...
Closes gh-9816
5 years ago
Marcus Da Coregio
0aa93b18d6
Update links to point to migrated samples
...
Closes gh-9816
5 years ago
Eleftheria Stein
56fd50fa2f
Add remaining servlet Kotlin examples
...
Issue gh-8172
5 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
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
Joe Grandja
58e3235093
Deprecate ClientAuthenticationMethod BASIC and POST
...
Closes gh-9220
5 years ago
Eleftheria Stein
a9fe2cb377
Add servlet OAuth2 login Kotlin samples
...
Issue gh-8172
5 years ago
Joe Grandja
8146b1fdda
Deprecate CustomUserTypesOAuth2UserService
...
Closes gh-8908
5 years ago
Joe Grandja
0ed919f072
Deprecate ClientRegistration.redirectUriTemplate
...
Closes gh-8906
5 years ago
Joe Grandja
c1abc9b134
Polish gh-8501
6 years ago
Thomas Vitale
78fa859798
Add issuerUri to ClientRegistration.providerDetails
...
- Add "issuerUri" attribute to ClientRegistration.providerDetails for OpenID Connect Discovery 1.0 or OAuth 2.0 Authorization Server Metadata.
- Validate OidcIdToken "iss" claim against the OpenID Provider "issuerUri" value.
- Update documentation for client registration: it includes issuer-uri property now.
Fixes gh-8326
6 years ago
Joe Grandja
4c040e9e8e
Revert "Fix links in oauth2 doc"
...
This reverts commit 138e676b45 .
6 years ago
Joe Grandja
946de2a51e
Revert "Fix links in oauth2 doc"
...
This reverts commit ad5bfc868c .
6 years ago
wassan128
138e676b45
Fix links in oauth2 doc
6 years ago
wassan128
ad5bfc868c
Fix links in oauth2 doc
6 years ago
komuro.hiraku
8c5c142d59
Fix userNameAttribute property case style
...
Fixes gh-8169
6 years ago
komuro.hiraku
10c66d282a
Fix userNameAttribute property case style
...
Fixes gh-8169
6 years ago