Rob Winch
b864be92d8
Update to Reactor 2025.0.0-SNAPSHOT
...
To prepare for the release we should update to Reactor
2025.0.0-SNAPSHOT to fix any issues that are present.
Closes gh-18041
2 months ago
Josh Cummings
3182883e2e
Move Messaging Access API
...
Issue gh-17847
3 months ago
Josh Cummings
eedcec9d5c
Move Core Access API
...
Issue gh-17847
3 months ago
Steve Riesenberg
eeb4574bb3
Add AuthorizationManagerFactory
...
Signed-off-by: Steve Riesenberg <5248162+sjohnr@users.noreply.github.com>
3 months ago
Rob Winch
be64c67af5
Enable Null checking in spring-security-web via JSpecify
...
Closes gh-16882
4 months ago
Rob Winch
49f308adb0
Use Supplier<? extends @Nullable Authentication>
...
Previously Supplier<@Nullable Authentication> was used. This prevented
Supplier<Authentication> from being used. The code now uses
Supplier<? extends @Nullable Authentication> which allows for both
Supplier<@Nullable Authentication> and Supplier<Authentication>.
Closes gh-17814
4 months ago
Rob Winch
f6cb0bd610
Merge Use 2004-present Copyright Header
...
The original merge into main did not apply the changes. This fixes it.
Closes gh-17635
5 months ago
Rob Winch
392129b616
Use 2004-present Copyright Header
...
The Spring portfolio is changing to use <inception-year>-present in
the copyright headers to simplify keeping headers up to date. This
commit updates the headers and the checkstyle accordingly.
The commit updated etc/checkstyle/header.txt
It also updated the copyright headers using the following find/replace:
Find: (Copyright \d{4})\s*(\-\d{4})? the original author or authors.
Replace: Copyright 2004-present the original author or authors.
Closes gh-17633
5 months ago
Josh Cummings
686cc5fc1f
Remove PathMatcher Messaging Components
...
Closes gh-17501
5 months ago
Josh Cummings
684775b46a
Use PathPatternMessageMatcher By Default
...
Issue gh-17501
5 months ago
Tran Ngoc Nhan
e52987d03c
Remove RoleHierarchyImpl Deprecations
...
Closes gh-17297
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
5 months ago
Tran Ngoc Nhan
9312fb7004
Remove Deprecated AuthorizationDecision Elements
...
Closes gh-17299
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
6 months ago
Evgeniy Cheban
b0cecb37d2
Replace deprecated #check calls with #authorize
...
Closes gh-16936
Signed-off-by: Evgeniy Cheban <mister.cheban@gmail.com>
6 months ago
Josh Cummings
3f7f3dabe7
Correct JavaDoc Class Reference
8 months ago
Josh Cummings
44d553946e
PathPatternMessageMatcher Polish
...
Issue gh-16500
Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
9 months ago
Pat McCusker
33272ef0f4
Add PathPatternMessageMatcher
...
Closes gh-16500
Signed-off-by: Pat McCusker <patmccusker14@gmail.com>
9 months ago
Pat McCusker
df897cd2c7
Add the MatchResult class to MessageMatcher
...
Closes gh-16766
Signed-off-by: Pat McCusker <patmccusker14@gmail.com>
9 months ago
Rob Winch
adb303e152
Add testRuntimeOnly junit-platform-launcher
...
Closes gh-16755
9 months ago
Max Batischev
58a665e5aa
Add Support SingleResultAuthorizationManager
...
Closes gh-16590
Signed-off-by: Max Batischev <mblancer@mail.ru>
9 months ago
Josh Cummings
4cbaabb239
Added Testing
...
Issue gh-16177
1 year ago
DingHao
f565b23b51
Restore Method Parameter Inheritance Support
...
Closes gh-16177
1 year ago
DingHao
dc82a6e97e
Remove the cache since UniqueSecurityAnnotationScanner has cached annotations internally
1 year ago
Tran Ngoc Nhan
31f8caec5f
Polish diamond operator usage
1 year ago
Josh Cummings
9ce5a76e8c
Polish AuthorizationManager#authorize
...
Issue gh-14843
1 year ago
Max Batischev
e7644925f8
Add AuthorizationResult support for AuthorizationManager
...
Closes gh-14843
1 year ago
Josh Cummings
702538ebce
AuthorizationEventPublisher Accepts AuthorizationResult
...
Closes gh-15915
Co-authored-by: Max Batischev <mblancer@mail.ru>
1 year ago
Josh Cummings
626610a975
Polish Annotation API
...
Rename to a class that isn't focused on the synthesis implementation detail.
Also add Security to the front of the name to clarify that it is only intended
for security annotations, reminiscent of SecurityMetadataSource.
Refine method signatures to better articulate supported use cases.
Issue gh-15286
1 year ago
DingHao
ed16c86115
Improve @CurrentSecurityContext meta-annotations
...
Closes gh-15551
1 year ago
Josh Cummings
08b8b09066
Update Copyright
...
Issue gh-15286
1 year ago
DingHao
2c02d8aec7
Update Copyright
1 year ago
DingHao
9aaf959400
Improve @AuthenticationPrincipal meta-annotations
...
Closes gh-15286
1 year ago
Steve Riesenberg
dcb8c563e8
Fix ArrayIndexOutOfBoundsException
...
Issue gh-13310
Closes gh-15184
2 years ago
Marcus Hert Da Coregio
08f11f06ab
Revert unnecessary commits from main
...
Issue gh-15016
2 years ago
Rob Winch
750cb30ce4
Add AuthenticationTrustResolver.isAuthenticated
2 years ago
Nermin Karapandzic
6e1bcfed11
Add argument resolver for SecurityContext
...
Closes gh-13425
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
abilan
df5b7294db
Propagate SecurityContext in ChannelInterceptor
...
Add `SecurityContextPropagationChannelInterceptor` that
propagates the current security context through the
Spring Messaging API.
Namely, it adds the current security context into any
message before it is sent and then populates the security
context when that message is received, typically in a
separate thread.
2 years ago
Marcus Da Coregio
64e2a2ff8b
Apply updated Code Style
...
Closes gh-13881
2 years ago
Tim te Beek
9df9cb5aed
refactor: AssertJ best practices
...
Use this link to re-run the recipe: https://app.moderne.io/recipes/builder/bGVuS?organizationId=RGVmYXVsdA%3D%3D
Co-authored-by: Moderne <team@moderne.io>
2 years ago
Josh Cummings
6c3636d780
Update Removed Usages
...
Issue gh-13544
2 years ago
Krzysztof Krason
9b603b99ab
Using modern Java features
3 years ago
Josh Cummings
97b53f0472
Read Extracted Variables
...
Closes gh-12540
3 years ago
Josh Cummings
aea13b656e
Add Testing
...
Issue gh-12540
3 years ago
Steve Riesenberg
c306df9b46
Add XorCsrfChannelInterceptor
...
Issue gh-12378
3 years ago
Evgeniy Cheban
ba50c50b4b
Add remaining methods from ExpressionUrlAuthorizationConfigurer to MessageMatcherDelegatingAuthorizationManager
...
- Added fullyAuthenticated
- Added rememberMe
- Added anonymous
Closes gh-11509
3 years ago
Evgeniy Cheban
5ecd513a57
Add remaining methods from ExpressionUrlAuthorizationConfigurer to MessageMatcherDelegatingAuthorizationManager
...
- Added fullyAuthenticated
- Added rememberMe
- Added anonymous
Closes gh-11509
3 years ago
Josh Cummings
1e498df39b
Use SecurityContextHolderStrategy for Messaging
...
Issue gh-11060
4 years ago
Josh Cummings
b05fed8b9d
Use SecurityContextHolderStrategy for Messaging
...
Issue gh-11060
4 years ago
j3graham
29ba67b6d7
Remove dependency on commons-codec by using java.util.Base64
...
Closes gh-11318
4 years ago
j3graham
f3c96fa9cd
Remove dependency on commons-codec by using java.util.Base64
...
Closes gh-11318
4 years ago