Skip to content

Fix attribute name in http.adoc #16730

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
913 commits
Select commit Hold shift + click to select a range
9d2ca3d
Merge branch '6.3.x'
github-actions[bot] Oct 28, 2024
d5cb411
Update reactive OAuth2 docs
sjohnr Oct 28, 2024
ea5bc28
Polish OAuth2 docs
sjohnr Oct 28, 2024
a793dca
Merge branch '6.3.x'
jzheaux Oct 28, 2024
1782668
Bump com.fasterxml.jackson:jackson-bom from 2.18.0 to 2.18.1
dependabot[bot] Oct 29, 2024
7ba8986
Bump org-bouncycastle from 1.78.1 to 1.79
dependabot[bot] Oct 30, 2024
1d32263
Bump org.seleniumhq.selenium:selenium-java from 4.25.0 to 4.26.0
dependabot[bot] Oct 31, 2024
8a6e129
Add Warning Message for Missing Leading Slashes
jzheaux Oct 31, 2024
9384030
Merge branch '6.3.x'
github-actions[bot] Nov 4, 2024
345ecca
Merge branch '6.3.x'
github-actions[bot] Nov 4, 2024
e242643
Bump @antora/collector-extension in /docs
dependabot[bot] Nov 4, 2024
358d761
Bump org.hsqldb:hsqldb from 2.7.3 to 2.7.4
dependabot[bot] Nov 4, 2024
cedd589
Bump com.webauthn4j:webauthn4j-core
dependabot[bot] Nov 4, 2024
14d8c25
Merge branch '6.3.x'
github-actions[bot] Nov 4, 2024
f4bb989
Merge branch '6.3.x'
github-actions[bot] Nov 4, 2024
87bd62b
Merge branch '6.3.x'
github-actions[bot] Nov 4, 2024
571c7c8
Fix typo
ngocnhan-tran1996 Nov 1, 2024
4ec5beb
Update authentication.adoc
Limm-jk Oct 31, 2024
380e856
Merge branch '6.3.x'
sjohnr Nov 4, 2024
c2a43fd
Bump org.htmlunit:htmlunit from 4.5.0 to 4.6.0
dependabot[bot] Nov 7, 2024
41c606b
Bump org.seleniumhq.selenium:htmlunit3-driver from 4.25.0 to 4.26.0
dependabot[bot] Nov 7, 2024
f46e56d
Improve Error Message for Conflicting Filter Chains
jzheaux Oct 25, 2024
055ec57
Fix not exist class in WebFilterChainProxy java doc
kse-music Oct 27, 2024
c61ccd9
Bump org.hibernate.orm:hibernate-core from 6.6.1.Final to 6.6.2.Final
dependabot[bot] Nov 8, 2024
5a95952
Merge branch '6.3.x'
rwinch Nov 11, 2024
7b51eab
Initialize OpenSAML in OpenSamlAssertingPartyMetadataRepository
Nov 10, 2024
b211c57
Merge branch '6.3.x'
github-actions[bot] Nov 12, 2024
e60db49
Merge branch '6.3.x'
github-actions[bot] Nov 12, 2024
1423641
Bump io.micrometer:micrometer-observation from 1.13.6 to 1.13.7
dependabot[bot] Nov 12, 2024
77907c1
Bump io.projectreactor:reactor-bom from 2023.0.11 to 2023.0.12
dependabot[bot] Nov 13, 2024
b3c10b6
Bump io.micrometer:micrometer-observation from 1.13.7 to 1.14.0
dependabot[bot] Nov 13, 2024
a4a3876
Merge branch '6.3.x'
github-actions[bot] Nov 13, 2024
346d479
Merge branch '6.3.x'
github-actions[bot] Nov 13, 2024
8f1c892
Remove unnecessary parentheses and add static final field
nomoreFt Oct 4, 2024
e5529ff
Improve documentation about CredentialsContainer
Chu3laMan Aug 11, 2024
f115984
Polish gh-15554
sjohnr Nov 13, 2024
aec5afb
Fix assertions in NimbusReactiveJwtDecoderTests
dcolazin Oct 17, 2024
ca1f891
Polish gh-15937
sjohnr Nov 13, 2024
a152636
webauthn: introduce DefaultResourcesFilter#webauthn
Kehrlann Oct 22, 2024
de7c452
webauthn: use DefaultResourcesFilter#webauthn
Kehrlann Oct 22, 2024
2639ac6
webauthn: introduce WebAuthnConfigurer#disableDefaultRegistrationPage
Kehrlann Nov 13, 2024
4e63d02
Bump org.springframework.ldap:spring-ldap-core from 3.2.7 to 3.2.8
dependabot[bot] Nov 15, 2024
4f7b872
Bump com.webauthn4j:webauthn4j-core
dependabot[bot] Nov 15, 2024
66847dd
Merge branch '6.3.x'
github-actions[bot] Nov 15, 2024
6a02f24
Bump org.springframework:spring-framework-bom from 6.2.0-RC3 to 6.2.0
dependabot[bot] Nov 15, 2024
cdbe5f4
Merge branch '6.3.x'
github-actions[bot] Nov 15, 2024
9667f9f
Merge branch '6.3.x'
github-actions[bot] Nov 15, 2024
6e495b8
Merge branch '6.3.x'
github-actions[bot] Nov 15, 2024
52de894
Fix NPE in IpAddressMatcher
sjohnr Nov 14, 2024
3a29819
Add hasText assertion to IpAddressMatcher constructor
sjohnr Nov 15, 2024
83a7915
Polish IpAddressMatcher
sjohnr Nov 15, 2024
8971fb9
Merge branch '6.3.x'
sjohnr Nov 15, 2024
69cbe12
Register Authorization Proxied Type
jzheaux Nov 15, 2024
35c0351
Repair Data SecurityHintsRegistrar Test
jzheaux Nov 15, 2024
cd609ac
Document passkeys dependencies
rwinch Nov 15, 2024
6057fdf
Merge branch '6.3.x'
github-actions[bot] Nov 18, 2024
3686f28
Bump @antora/collector-extension in /docs
dependabot[bot] Nov 18, 2024
7f7667d
Merge branch '6.3.x'
github-actions[bot] Nov 18, 2024
5104fb9
Bump org.springframework.data:spring-data-bom from 2024.0.5 to 2024.1.0
dependabot[bot] Nov 18, 2024
8813855
Bump com.webauthn4j:webauthn4j-core
dependabot[bot] Nov 18, 2024
1465549
Bump io.micrometer:micrometer-observation from 1.14.0 to 1.14.1
dependabot[bot] Nov 18, 2024
37cb6d4
Bump io.freefair.gradle:aspectj-plugin from 8.10.2 to 8.11
dependabot[bot] Nov 18, 2024
ccbe94c
Merge branch '6.3.x'
github-actions[bot] Nov 18, 2024
ba0ac6a
Merge branch '6.3.x'
github-actions[bot] Nov 18, 2024
98cdb20
Merge branch '6.3.x'
github-actions[bot] Nov 18, 2024
c2cfe92
Merge branch '6.3.x'
jgrandja Nov 18, 2024
13816b7
Release 6.4.0
github-actions[bot] Nov 18, 2024
620136f
Next development version
sjohnr Nov 18, 2024
992b9d5
Merge branch '6.3.x'
jzheaux Nov 18, 2024
5c7237b
Merge branch '6.3.x'
jzheaux Nov 18, 2024
4743250
Merge branch '6.3.x'
sjohnr Nov 18, 2024
04baead
Update Antora Spring UI to v0.4.18
github-actions[bot] Nov 16, 2024
b712c24
Merge branch '6.3.x'
sjohnr Nov 18, 2024
4787efb
Update What's New
jzheaux Nov 18, 2024
30c9860
Add What's New Link to Landing Pages
jzheaux Nov 18, 2024
91832bf
Add EnableWebSecurity + EnableWebSocketSecurity Test
jzheaux Nov 20, 2024
b896a74
Resolve Observation Bean Name Collisions
ngocnhan-tran1996 Nov 17, 2024
59b7b55
Release 6.4.1
github-actions[bot] Nov 20, 2024
93ce7e9
Next development version
github-actions[bot] Nov 20, 2024
77233da
Merge branch '6.3.x'
sjohnr Nov 20, 2024
24ccac3
Fix typo in documentation
martin-tarjanyi Nov 9, 2024
026b500
Bump org.hibernate.orm:hibernate-core from 6.6.2.Final to 6.6.3.Final
dependabot[bot] Nov 22, 2024
d1e6806
Spelling error in opensaml.adoc
OrangeDog Nov 22, 2024
aa635b0
Another spelling issue
OrangeDog Nov 22, 2024
315aafd
Merge remote-tracking branch 'origin/6.3.x'
jzheaux Nov 23, 2024
748a521
Merge branch '6.3.x'
github-actions[bot] Nov 25, 2024
2de19cd
Merge branch '6.3.x'
github-actions[bot] Nov 25, 2024
409d552
Bump @antora/collector-extension in /docs
dependabot[bot] Nov 25, 2024
46fe012
Add RuntimeHints for webauthn Javascript resource
Kehrlann Nov 25, 2024
a550215
Add RSocket and WebFlux Observation Tests
jzheaux Nov 25, 2024
2b5a2ee
Address Observation Bean Name Collisions
jzheaux Nov 25, 2024
c16b2c2
Bump org.seleniumhq.selenium:selenium-java from 4.26.0 to 4.27.0
dependabot[bot] Nov 26, 2024
14be740
Merge branch '6.3.x'
sjohnr Nov 26, 2024
f5eccf7
Fix OAuth2 documentation: Corrected OAuth2ClientHttpRequestIntercepto…
harpreets789 Nov 26, 2024
7752999
Merge branch '6.3.x'
github-actions[bot] Nov 27, 2024
e4155ba
Bump org.jfrog.buildinfo:build-info-extractor-gradle
dependabot[bot] Nov 27, 2024
ff7dbb4
Bump com.fasterxml.jackson:jackson-bom from 2.18.1 to 2.18.2
dependabot[bot] Nov 28, 2024
fd5c5a8
Bump @antora/collector-extension from 1.0.0-rc.1 to 1.0.0 in /docs
dependabot[bot] Dec 2, 2024
4fadcad
Merge branch '6.3.x'
github-actions[bot] Dec 2, 2024
ea53a49
Merge branch '6.3.x'
github-actions[bot] Dec 2, 2024
27e2640
Bump com.webauthn4j:webauthn4j-core
dependabot[bot] Dec 2, 2024
24a42a9
Bump org.seleniumhq.selenium:htmlunit3-driver from 4.26.0 to 4.27.0
dependabot[bot] Dec 2, 2024
e947678
Bump org.htmlunit:htmlunit from 4.6.0 to 4.7.0
dependabot[bot] Dec 2, 2024
c97edf2
Fix typo in documentation: change 'select the write' to 'select the r…
harpreets789 Nov 27, 2024
5329030
Bump org.gradle.wrapper-upgrade from 0.11.4 to 0.12
dependabot[bot] Dec 4, 2024
dc82a6e
Remove the cache since UniqueSecurityAnnotationScanner has cached ann…
kse-music Dec 2, 2024
cc2506b
Fix: Correct OpenSAML 5.x Documentation
harpreets789 Dec 1, 2024
9c3b119
webauthn registerCredential returns transports
rwinch Dec 4, 2024
8c0ea3e
Add Deprecated ObjectPostProcessor constructor
ngocnhan-tran1996 Dec 4, 2024
2ed1caf
Restore Deprecated ObjectPostProcessor Usage
jzheaux Dec 4, 2024
5966baf
Update copyright headers
ngocnhan-tran1996 Dec 4, 2024
d3a95c5
Merge branch '6.3.x'
jzheaux Dec 5, 2024
96b3c77
Merge branch '6.3.x'
jzheaux Dec 5, 2024
d39e329
Add @inheritDoc to sessionIdChanged method
12OneTwo12 Dec 5, 2024
39cd8d9
Update copyright headers
ngocnhan-tran1996 Nov 26, 2024
32e1d4c
Improve AuthorizationManager configuration error messages
Spikhalskiy Nov 30, 2024
3e20f7b
Polish Error Messages
jzheaux Dec 5, 2024
05ffdca
Fix phrasing for clarity in the docs.
MuhammadNFadhil Nov 26, 2024
a446968
Fix phrasing for clarity in the docs.
MuhammadNFadhil Nov 26, 2024
4dd00fe
Merge branch '6.3.x'
jzheaux Dec 6, 2024
7ad3cfc
Bump antora from 3.2.0-alpha.6 to 3.2.0-alpha.8 in /docs
dependabot[bot] Dec 9, 2024
bbc1fa0
Bump @antora/collector-extension from 1.0.0 to 1.0.1 in /docs
dependabot[bot] Dec 9, 2024
b95e63e
Merge branch '6.3.x'
github-actions[bot] Dec 9, 2024
cb1c23f
Merge branch '6.3.x'
github-actions[bot] Dec 9, 2024
7faf7ef
Merge branch '6.3.x'
github-actions[bot] Dec 9, 2024
892bcbd
Merge branch '6.3.x'
github-actions[bot] Dec 9, 2024
f613ff2
Bump org.gretty:gretty from 4.1.5 to 4.1.6
dependabot[bot] Dec 9, 2024
aa85ebc
Remove Extraneous Field
jzheaux Dec 9, 2024
a18475c
Merge branch '6.3.x'
jzheaux Dec 9, 2024
b168ec5
Merge branch '6.3.x'
jzheaux Dec 9, 2024
40f8ac6
Fix Documentation Typos
ngocnhan-tran1996 Nov 9, 2024
f565b23
Restore Method Parameter Inheritance Support
kse-music Dec 9, 2024
4cbaabb
Added Testing
jzheaux Dec 10, 2024
d1a4fac
Use Tabs for Maven and Gradle Snippets
harpreets789 Dec 8, 2024
a731af1
Polish
jzheaux Dec 10, 2024
55ea78d
Update GA Release Guidance
jzheaux Dec 10, 2024
593211d
Bump io.micrometer:micrometer-observation from 1.14.1 to 1.14.2
dependabot[bot] Dec 11, 2024
74e1777
Bump io.projectreactor:reactor-bom from 2023.0.12 to 2023.0.13
dependabot[bot] Dec 11, 2024
9901530
Merge branch '6.3.x'
github-actions[bot] Dec 11, 2024
cb4c7e5
Merge branch '6.3.x'
rwinch Dec 11, 2024
99cc65d
webauthn: add webdriver test
Kehrlann Oct 21, 2024
d7d5253
Change attestation in PublicKeyCredentialCreationOptions to none
ynojima Dec 10, 2024
682c408
Merge branch '6.3.x'
sjohnr Dec 12, 2024
ee1ede8
Update document regarding PublicKeyCredentialCreationOptions.attestat…
ynojima Dec 12, 2024
49e7a3e
Revert "Include 5.8.x on Dependabot Auto Merge Forward"
sjohnr Dec 12, 2024
cb08e37
Remove 5.8.x and 6.2.x dependabot configuration
sjohnr Dec 12, 2024
180ac54
Remove exclusion that is no longer used
sjohnr Dec 12, 2024
3008ccc
Merge branch '6.3.x'
github-actions[bot] Dec 12, 2024
511bcc2
Bump org.springframework.ldap:spring-ldap-core from 3.2.8 to 3.2.10
dependabot[bot] Dec 12, 2024
d290c5c
Merge branch '6.3.x'
github-actions[bot] Dec 12, 2024
103a98f
Bump org.springframework:spring-framework-bom from 6.2.0 to 6.2.1
dependabot[bot] Dec 12, 2024
47b5ab4
Add 6.4.x Serialization Files
jzheaux Dec 12, 2024
82cc3ad
Arrange Class Generators by Module
jzheaux Dec 12, 2024
f7b9b72
Include Classes Listed in Generator Map
jzheaux Dec 12, 2024
7592483
Add Test to Report Missing serialVersionUID
jzheaux Dec 12, 2024
7e83fd5
Add Test Saml 2.0 Test Objects
jzheaux Dec 12, 2024
809d8a8
Bump gradle/gradle-build-action from 2 to 3
dependabot[bot] Dec 13, 2024
2a76a09
Disable Flaky WebAuthnWebDriverTests
rwinch Dec 13, 2024
fb95406
Fix WebAuthnWebdriverTests
Kehrlann Dec 13, 2024
e3cd433
Add Serial Version
jzheaux Dec 13, 2024
b9911fd
Add serialVersionUID to Authentication classes
jzheaux Dec 12, 2024
018e1ae
Added Serialization Values
jzheaux Dec 12, 2024
5ee1586
Remove Unexposed Inner Classes from Serialization Test
jzheaux Dec 14, 2024
e4dde52
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Dec 16, 2024
57a06ea
Bump org.springframework.data:spring-data-bom from 2024.1.0 to 2024.1.1
dependabot[bot] Dec 16, 2024
5fe6d92
Release 6.4.2
github-actions[bot] Dec 16, 2024
ac0ca0c
Next development version
github-actions[bot] Dec 16, 2024
64964ca
Merge branch '6.3.x' into 6.4.x
sjohnr Dec 16, 2024
bf6a2fa
Bump org.junit:junit-bom from 5.11.3 to 5.11.4
dependabot[bot] Dec 16, 2024
841c03f
Add Serializable Compatilibity to Saml 2.0 Exceptions
jzheaux Dec 17, 2024
27c2a8a
Add Serializable Compatibility to Web Authentication Exceptions
jzheaux Dec 17, 2024
6e7c62c
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Dec 19, 2024
e188552
Bump org.hibernate.orm:hibernate-core from 6.6.3.Final to 6.6.4.Final
dependabot[bot] Dec 19, 2024
4bc3693
Bump ch.qos.logback:logback-classic from 1.5.12 to 1.5.13
dependabot[bot] Dec 19, 2024
05076db
Merge branch '6.3.x' into 6.4.x
jzheaux Dec 19, 2024
b7b650c
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Dec 20, 2024
e63b031
Bump ch.qos.logback:logback-classic from 1.5.13 to 1.5.14
dependabot[bot] Dec 20, 2024
431a60d
Bump io.mockk:mockk from 1.13.13 to 1.13.14
dependabot[bot] Dec 23, 2024
811d95c
Bump ch.qos.logback:logback-classic from 1.5.14 to 1.5.15
dependabot[bot] Dec 23, 2024
292ae2c
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Dec 23, 2024
beab697
Bump com.webauthn4j:webauthn4j-core
dependabot[bot] Jan 2, 2025
2edc7b1
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Jan 6, 2025
5fa960d
Bump ch.qos.logback:logback-classic from 1.5.15 to 1.5.16
dependabot[bot] Jan 6, 2025
d457e0b
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Jan 13, 2025
882766e
Fix Kotlin webAuthn {}
franticticktick Jan 11, 2025
decf4de
Add Support disableDefaultRegistrationPage to WebAuthnDsl
franticticktick Jan 11, 2025
b9b29ed
Bump io.mockk:mockk from 1.13.14 to 1.13.16
dependabot[bot] Jan 13, 2025
5075869
Fix for JdbcOneTimeTokenService cleanupExpiredTokens failing with Pos…
making Dec 25, 2024
ca2c617
Bump io.micrometer:micrometer-observation from 1.14.2 to 1.14.3
dependabot[bot] Jan 14, 2025
6f379aa
Add Serializable to Csrf Components
jzheaux Jan 14, 2025
feea103
Formatting
jzheaux Jan 14, 2025
8735368
Don't Support Serialization of Jackson Modules
jzheaux Jan 15, 2025
8e59fa1
Don't Support Serialization for Jackson (De)serializers
jzheaux Jan 15, 2025
244fd2e
Support Serialization in Exceptions
jzheaux Jan 15, 2025
2e5c5ff
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Jan 15, 2025
ce38162
Bump io.projectreactor:reactor-bom from 2023.0.13 to 2023.0.14
dependabot[bot] Jan 15, 2025
b4befb4
Merge branch '6.3.x' into 6.4.x
sjohnr Jan 15, 2025
60dbeba
Bump org.springframework:spring-framework-bom from 6.2.1 to 6.2.2
dependabot[bot] Jan 17, 2025
5bf42bb
webauthn: ensure allowCredentials[].id is an ArrayBuffer
Kehrlann Jan 17, 2025
45da5c9
Support Serialization in Test Classes
jzheaux Jan 17, 2025
bbe4f87
Mark Serialization Support for Events
jzheaux Jan 17, 2025
46aa65d
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Jan 20, 2025
331812d
Bump org.hibernate.orm:hibernate-core from 6.6.4.Final to 6.6.5.Final
dependabot[bot] Jan 20, 2025
42a49bb
Bump org.springframework.data:spring-data-bom from 2024.1.1 to 2024.1.2
dependabot[bot] Jan 20, 2025
3209930
Add TestBytes
rwinch Jan 21, 2025
1cbe6ac
checkstyleNohttp maxHeapSize=1g
rwinch Jan 21, 2025
028c212
fix flakey test in WebAuthnWebDriverTests
Kehrlann Jan 21, 2025
bb8e757
Fix GenerateOneTimeTokenWebFilter double publish of chain.filter(...)
Kehrlann Jan 21, 2025
d97e01d
Merge branch '6.3.x' into 6.4.x
sjohnr Jan 22, 2025
751b558
TestOneTimeTokenGenerationSuccessHandler.lastToken to non-static vari…
rwinch Jan 23, 2025
e557c72
Implement Serializable for WebAuthnAuthentication
ngocnhan-tran1996 Jan 18, 2025
d043884
Support Serialization
jzheaux Jan 23, 2025
d7921da
Support Serialization for SecurityConfig
jzheaux Jan 23, 2025
3e4ba73
Don't Support Serialzation of Deprecated Access Classes
jzheaux Jan 23, 2025
36716d1
Serialization Support of Core Components
jzheaux Jan 23, 2025
e1e5970
Support Serialization for LDAP Components
jzheaux Jan 23, 2025
f4d2b61
Merge branch '6.3.x' into 6.4.x
jzheaux Jan 24, 2025
47fc2bf
Merge branch '6.3.x' into 6.4.x
jzheaux Jan 24, 2025
28615e7
Remove Stray Import
jzheaux Jan 24, 2025
fbebd03
Merge branch '6.3.x' into 6.4.x
jzheaux Jan 27, 2025
291fae8
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Feb 3, 2025
ca3c763
Bump org.hibernate.orm:hibernate-core from 6.6.5.Final to 6.6.6.Final
dependabot[bot] Feb 3, 2025
eb4befa
Bump com.webauthn4j:webauthn4j-core
dependabot[bot] Feb 3, 2025
bcc4b41
Make RelyingPartyRegistration Serializable
ngocnhan-tran1996 Dec 21, 2024
5ff8712
Make Saml2AuthenticationToken Serializable
jzheaux Jan 31, 2025
e31f04b
`withValue` used incorrectly
neveler Feb 3, 2025
47fd6be
Ensure Serialization Compatibility for AuthenticationException
jzheaux Feb 3, 2025
007d7da
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Feb 4, 2025
876f677
Bump io.rsocket:rsocket-bom from 1.1.4 to 1.1.5
dependabot[bot] Feb 4, 2025
b4c7795
Support Serialization for Authorization Components
jzheaux Feb 5, 2025
4776446
Add Missing Serialzed AuthorizationDeniedException
jzheaux Feb 5, 2025
3e496c0
Bump io.micrometer:micrometer-observation from 1.14.3 to 1.14.4
dependabot[bot] Feb 11, 2025
8ebd893
Bump org.hibernate.orm:hibernate-core from 6.6.6.Final to 6.6.7.Final
dependabot[bot] Feb 11, 2025
5a30d98
Bump io.projectreactor:reactor-bom from 2023.0.14 to 2023.0.15
dependabot[bot] Feb 12, 2025
62c7ff3
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Feb 12, 2025
17ca1de
Merge branch '6.3.x' into 6.4.x
jgrandja Feb 12, 2025
879b44f
Make PublicKeyCredentialRequestOptions Serializable
franticticktick Feb 12, 2025
0ce72d0
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Feb 14, 2025
8e752fc
Bump org.springframework.ldap:spring-ldap-core from 3.2.10 to 3.2.11
dependabot[bot] Feb 14, 2025
4c06d98
Bump com.nimbusds:oauth2-oidc-sdk from 9.43.5 to 9.43.6
dependabot[bot] Feb 14, 2025
309daf5
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Feb 14, 2025
9e1a573
Bump org.springframework:spring-framework-bom from 6.2.2 to 6.2.3
dependabot[bot] Feb 14, 2025
b5a4218
Make WebAuthnAuthenticationRequestToken Serializable
franticticktick Feb 14, 2025
9468126
Make AuthenticatorAttestation Serializable
jzheaux Feb 14, 2025
efe50dd
Merge branch '6.3.x' into 6.4.x
github-actions[bot] Feb 17, 2025
6fcbc0e
Bump org.hibernate.orm:hibernate-core from 6.6.7.Final to 6.6.8.Final
dependabot[bot] Feb 17, 2025
d2f825b
Bump org.springframework.data:spring-data-bom from 2024.1.2 to 2024.1.3
dependabot[bot] Feb 17, 2025
e7431a3
Release 6.4.3
github-actions[bot] Feb 18, 2025
bf32b10
Merge branch '6.3.x' of https://github.com/spring-projects/spring-sec…
ngocnhan-tran1996 Mar 20, 2025
245aa25
Fix typo
ngocnhan-tran1996 Mar 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .github/dependabot.template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,5 @@ updates:
schedule:
interval: weekly
ignore:
- dependency-name: "sjohnr/*"
- dependency-name: "spring-io/*"
- dependency-name: "spring-security-release-tools/*"
53 changes: 13 additions & 40 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,7 @@ registries:
url: https://repo.spring.io/milestone
updates:
- package-ecosystem: gradle
target-branch: 5.8.x
directory: /
schedule:
interval: daily
time: '03:00'
timezone: Etc/UTC
labels:
- 'type: dependency-upgrade'
registries:
- spring-milestones
ignore:
- dependency-name: com.nimbusds:nimbus-jose-jwt
- dependency-name: org.python:jython
- dependency-name: org.apache.directory.server:*
- dependency-name: org.junit:junit-bom
update-types:
- version-update:semver-major
- dependency-name: org.mockito:mockito-bom
update-types:
- version-update:semver-major
- dependency-name: '*'
update-types:
- version-update:semver-major
- version-update:semver-minor
- package-ecosystem: gradle
target-branch: 6.2.x
target-branch: 6.3.x
directory: /
schedule:
interval: daily
Expand Down Expand Up @@ -82,17 +57,15 @@ updates:
- dependency-name: '*'
update-types:
- version-update:semver-major
- version-update:semver-minor

- package-ecosystem: github-actions
target-branch: 5.8.x
target-branch: 6.3.x
directory: /
schedule:
interval: weekly
labels:
- 'type: task'
- 'in: build'
ignore:
- dependency-name: sjohnr/*
- package-ecosystem: github-actions
target-branch: main
directory: /
Expand All @@ -101,8 +74,6 @@ updates:
labels:
- 'type: task'
- 'in: build'
ignore:
- dependency-name: sjohnr/*
- package-ecosystem: github-actions
target-branch: docs-build
directory: /
Expand All @@ -111,27 +82,29 @@ updates:
labels:
- 'type: task'
- 'in: build'
ignore:
- dependency-name: sjohnr/*

- package-ecosystem: npm
target-branch: docs-build
directory: /
schedule:
interval: weekly
labels:
- 'type: task'
- 'in: build'

- package-ecosystem: npm
target-branch: main
directory: /docs
schedule:
interval: weekly
labels:
- 'type: task'
- 'in: build'
- package-ecosystem: npm
target-branch: 6.2.x
directory: /docs
schedule:
interval: weekly
- package-ecosystem: npm
target-branch: 5.8.x
target-branch: 6.3.x
directory: /docs
schedule:
interval: weekly
labels:
- 'type: task'
- 'in: build'
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
toolchain: 17
with:
java-version: ${{ matrix.java-version }}
test-args: --refresh-dependencies -PforceMavenRepositories=snapshot -PisOverrideVersionCatalog -PtestToolchain=${{ matrix.toolchain }} -PspringFrameworkVersion=6.1.+ -PreactorVersion=2023.0.+ -PspringDataVersion=2023.1.+ --stacktrace
test-args: --refresh-dependencies -PforceMavenRepositories=snapshot -PisOverrideVersionCatalog -PtestToolchain=${{ matrix.toolchain }} -PspringFrameworkVersion=6.2.+ -PreactorVersion=2023.0.+ -PspringDataVersion=2024.0.+ --stacktrace
secrets: inherit
check-samples:
name: Check Samples
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-build-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
java-version: '17'
distribution: 'temurin'
- name: Build with Gradle
run: ./gradlew clean build -PskipCheckExpectedBranchVersion --continue
run: ./gradlew clean build -PskipCheckExpectedBranchVersion --continue --scan
generate-docs:
name: Generate Docs
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
# List of active maintenance branches.
branch: [ main, 6.2.x, 6.1.x, 5.8.x ]
branch: [ main, 6.3.x, 6.2.x, 5.8.x ]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/update-antora-ui-spring.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Update Antora UI Spring

on:
schedule:
- cron: '0 10 * * *' # Once per day at 10am UTC
workflow_dispatch:

permissions:
pull-requests: write
issues: write
contents: write

jobs:
update-antora-ui-spring:
runs-on: ubuntu-latest
name: Update on Supported Branches
strategy:
matrix:
branch: [ '5.8.x', '6.2.x', '6.3.x', 'main' ]
steps:
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@852920ba3fb1f28b35a2f13201133bc00ef33677
name: Update
with:
docs-branch: ${{ matrix.branch }}
token: ${{ secrets.GITHUB_TOKEN }}
antora-file-path: 'docs/antora-playbook.yml'
update-antora-ui-spring-docs-build:
runs-on: ubuntu-latest
name: Update on docs-build
steps:
- uses: spring-io/spring-doc-actions/update-antora-spring-ui@852920ba3fb1f28b35a2f13201133bc00ef33677
name: Update
with:
docs-branch: 'docs-build'
token: ${{ secrets.GITHUB_TOKEN }}
4 changes: 3 additions & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,11 @@ Please see our https://github.com/spring-projects/.github/blob/main/CODE_OF_COND
See https://docs.spring.io/spring-security/reference/getting-spring-security.html[Getting Spring Security] for how to obtain Spring Security.

== Documentation
Be sure to read the https://docs.spring.io/spring-security/site/docs/current/reference/htmlsingle/[Spring Security Reference].
Be sure to read the https://docs.spring.io/spring-security/reference/[Spring Security Reference].
Extensive JavaDoc for the Spring Security code is also available in the https://docs.spring.io/spring-security/site/docs/current/api/[Spring Security API Documentation].

You may also want to check out https://docs.spring.io/spring-security/reference/whats-new.html[what's new in the latest release].

== Quick Start
See https://docs.spring.io/spring-security/reference/servlet/getting-started.html[Hello Spring Security] to get started with a "Hello, World" application.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@
package org.springframework.security.acls.domain;

import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Set;

import org.springframework.security.access.AccessDeniedException;
import org.springframework.security.access.hierarchicalroles.NullRoleHierarchy;
import org.springframework.security.access.hierarchicalroles.RoleHierarchy;
import org.springframework.security.acls.model.Acl;
import org.springframework.security.acls.model.Sid;
import org.springframework.security.acls.model.SidRetrievalStrategy;
Expand Down Expand Up @@ -59,6 +62,8 @@ public class AclAuthorizationStrategyImpl implements AclAuthorizationStrategy {

private SidRetrievalStrategy sidRetrievalStrategy = new SidRetrievalStrategyImpl();

private RoleHierarchy roleHierarchy = new NullRoleHierarchy();

/**
* Constructor. The only mandatory parameter relates to the system-wide
* {@link GrantedAuthority} instances that can be held to always permit ACL changes.
Expand Down Expand Up @@ -100,7 +105,9 @@ public void securityCheck(Acl acl, int changeType) {
}

// Iterate this principal's authorities to determine right
Set<String> authorities = AuthorityUtils.authorityListToSet(authentication.getAuthorities());
Collection<? extends GrantedAuthority> reachableGrantedAuthorities = this.roleHierarchy
.getReachableGrantedAuthorities(authentication.getAuthorities());
Set<String> authorities = AuthorityUtils.authorityListToSet(reachableGrantedAuthorities);
if (acl.getOwner() instanceof GrantedAuthoritySid
&& authorities.contains(((GrantedAuthoritySid) acl.getOwner()).getGrantedAuthority())) {
return;
Expand Down Expand Up @@ -162,4 +169,14 @@ public void setSecurityContextHolderStrategy(SecurityContextHolderStrategy secur
this.securityContextHolderStrategy = securityContextHolderStrategy;
}

/**
* Sets the {@link RoleHierarchy} to use. The default is to use a
* {@link NullRoleHierarchy}
* @since 6.4
*/
public void setRoleHierarchy(RoleHierarchy roleHierarchy) {
Assert.notNull(roleHierarchy, "roleHierarchy cannot be null");
this.roleHierarchy = roleHierarchy;
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public boolean isGranted(List<Permission> permission, List<Sid> sids, boolean ad
public boolean isSidLoaded(List<Sid> sids) {
// If loadedSides is null, this indicates all SIDs were loaded
// Also return true if the caller didn't specify a SID to find
if ((this.loadedSids == null) || (sids == null) || (sids.size() == 0)) {
if ((this.loadedSids == null) || (sids == null) || sids.isEmpty()) {
return true;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -140,7 +140,7 @@ public Permission buildFromName(String name) {

@Override
public List<Permission> buildFromNames(List<String> names) {
if ((names == null) || (names.size() == 0)) {
if ((names == null) || names.isEmpty()) {
return Collections.emptyList();
}
List<Permission> permissions = new ArrayList<>(names.size());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;

import org.springframework.security.access.hierarchicalroles.RoleHierarchyImpl;
import org.springframework.security.acls.model.Acl;
import org.springframework.security.authentication.TestingAuthenticationToken;
import org.springframework.security.core.GrantedAuthority;
Expand All @@ -34,6 +35,7 @@
import org.springframework.security.core.context.SecurityContextHolderStrategy;
import org.springframework.security.core.context.SecurityContextImpl;

import static org.assertj.core.api.Assertions.assertThatNoException;
import static org.mockito.BDDMockito.given;
import static org.mockito.Mockito.verify;

Expand Down Expand Up @@ -86,6 +88,15 @@ public void securityCheckWhenAclOwnedByGrantedAuthority() {
this.strategy.securityCheck(this.acl, AclAuthorizationStrategy.CHANGE_GENERAL);
}

@Test
public void securityCheckWhenRoleReachableByHierarchyThenAuthorized() {
given(this.acl.getOwner()).willReturn(new GrantedAuthoritySid("ROLE_AUTH_B"));
this.strategy = new AclAuthorizationStrategyImpl(new SimpleGrantedAuthority("ROLE_SYSTEM_ADMIN"));
this.strategy.setRoleHierarchy(RoleHierarchyImpl.fromHierarchy("ROLE_AUTH > ROLE_AUTH_B"));
assertThatNoException()
.isThrownBy(() -> this.strategy.securityCheck(this.acl, AclAuthorizationStrategy.CHANGE_GENERAL));
}

@Test
public void securityCheckWhenCustomSecurityContextHolderStrategyThenUses() {
given(this.securityContextHolderStrategy.getContext()).willReturn(this.context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ public class PreAuthorizeAspectTests {

private PrePostSecured prePostSecured = new PrePostSecured();

private MultipleInterfaces multiple = new MultipleInterfaces();

@BeforeEach
public final void setUp() {
MockitoAnnotations.initMocks(this);
Expand Down Expand Up @@ -110,6 +112,12 @@ public void nestedDenyAllPreAuthorizeDeniesAccess() {
.isThrownBy(() -> this.secured.myObject().denyAllMethod());
}

@Test
public void multipleInterfacesPreAuthorizeAllows() {
// aspectj doesn't inherit annotations
this.multiple.securedMethod();
}

interface SecuredInterface {

@PreAuthorize("hasRole('X')")
Expand Down Expand Up @@ -177,4 +185,19 @@ void denyAllMethod() {

}

interface AnotherSecuredInterface {

@PreAuthorize("hasRole('Y')")
void securedMethod();

}

static class MultipleInterfaces implements SecuredInterface, AnotherSecuredInterface {

@Override
public void securedMethod() {
}

}

}
8 changes: 6 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,14 @@ develocity {
}

nohttp {
source.exclude "buildSrc/build/**"
source.exclude "buildSrc/build/**", "javascript/.gradle/**", "javascript/package-lock.json", "javascript/node_modules/**", "javascript/build/**", "javascript/dist/**"
source.builtBy(project(':spring-security-config').tasks.withType(RncToXsd))
}

tasks.named('checkstyleNohttp') {
maxHeapSize = '1g'
}

tasks.register('cloneRepository', IncludeRepoTask) {
repository = project.getProperties().get("repositoryName")
ref = project.getProperties().get("ref")
Expand All @@ -120,7 +124,7 @@ wrapperUpgrade {
gradle {
'spring-security' {
repo = 'spring-projects/spring-security'
baseBranch = '6.1.x' // runs only on 6.1.x and the update is merged forward to main
baseBranch = '6.2.x' // runs only on 6.2.x and the update is merged forward to main
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
import org.gradle.api.plugins.JavaPlatformPlugin;
import org.gradle.api.plugins.JavaPlugin;
import org.gradle.api.publish.PublishingExtension;
import org.gradle.api.publish.VariantVersionMappingStrategy;
import org.gradle.api.publish.VersionMappingStrategy;
import org.gradle.api.publish.maven.MavenPublication;
import org.gradle.api.publish.maven.plugins.MavenPublishPlugin;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -23,7 +23,6 @@
import org.gradle.api.artifacts.MinimalExternalModuleDependency;
import org.gradle.api.artifacts.VersionCatalog;
import org.gradle.api.artifacts.VersionCatalogsExtension;
import org.gradle.api.file.RegularFile;
import org.gradle.api.file.RegularFileProperty;
import org.gradle.api.plugins.JavaBasePlugin;
import org.gradle.api.provider.Property;
Expand All @@ -36,7 +35,6 @@
import org.gradle.api.tasks.TaskProvider;
import org.gradle.api.tasks.VerificationException;

import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.util.Optional;
Expand Down
Loading
Loading