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
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>
10 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
Josh Cummings
f4c0fcb5ef
Add AuthorizationManager to Messaging
...
Closes gh-11076
4 years ago
Josh Cummings
8a03d1fcec
Add AuthorizationManager to Messaging
...
Closes gh-11076
4 years ago
Evgeniy Cheban
5540bbcf0b
createEvaluationContext should defer lookup of Authentication
...
- Added createEvaluationContext method that accepts Supplier<Authentication>
- Refactored classes that use EvaluationContext to use lazy initialization of Authentication
Closes gh-9667
4 years ago
Evgeniy Cheban
362f15534e
createEvaluationContext should defer lookup of Authentication
...
- Added createEvaluationContext method that accepts Supplier<Authentication>
- Refactored classes that use EvaluationContext to use lazy initialization of Authentication
Closes gh-9667
4 years ago
Marcus Da Coregio
b8b0661d73
Lock Dependencies for Release
4 years ago
Marcus Da Coregio
806e05855c
Replace removed context-related operators
...
Closes gh-11194
4 years ago
Josh Cummings
b39f213e64
Revert "Add AuthorizationManager to Messaging"
...
This reverts commit 77a6e014a9 .
4 years ago
Josh Cummings
77a6e014a9
Add AuthorizationManager to Messaging
...
Closes gh-11076
4 years ago
Josh Cummings
cad2972d0a
Polish SecurityContextChannelInterceptorTests
...
Issue gh-10973
4 years ago
Josh Cummings
0be2a03741
Polish SecurityContextChannelInterceptorTests
...
Issue gh-10973
4 years ago
Rob Winch
c67ee6f2a8
javax.servlet:javax.servlet-api -> jakarta.servlet:jakarta.servlet-api
...
Issue gh-10501
4 years ago
Rob Winch
5902b46e9b
Remove jcl-over-slf4j
...
Issue gh-10499
# Conflicts:
# dependencies/spring-security-dependencies.gradle
4 years ago