Josh Cummings
e5694ac7b5
Fallback to Object When Determining Overridden Methods
...
Closes gh-17898
3 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
bf2aaa1b18
Use .equals to Compare Methods
...
Closes gh-17143
7 months ago
Josh Cummings
c3c2bcd6b7
Ignore Serialization in Test Components
...
Since we don't need to ensure the serializability of test components
across versions, we can ignore missing version UIDs when those
test components aren't about testing Java serialization.
Issue gh-17038
8 months ago
DingHao
1e7db094d1
Use correct message prompt
...
Signed-off-by: DingHao <dh.hiekn@gmail.com>
9 months ago
Josh Cummings
456604ab45
Sort Default Advisors and Added Advisors
...
This commit ensures that the default advisors and added advisors
are sorted in the event that this component is not being published
as a Spring bean.
Issue gh-16819
9 months ago
Tran Ngoc Nhan
fcc1bd598d
Sort Advisors AfterSingletonsInstantiated
...
In order to make so that authorization advisors are sorted
only one time and also as part of the configuration lifecycle,
AuthorizationAdvisorProxyFactory now implements
SmartInitializingBean.
Closes gh-16819
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
9 months ago
Rob Winch
adb303e152
Add testRuntimeOnly junit-platform-launcher
...
Closes gh-16755
9 months ago
Josh Cummings
dc2e1af2da
Align Method Traversal with MergedAnnotations
...
Closes gh-16751
9 months ago
Josh Cummings
36ea1b11a7
Fix Compilation Error
...
Issue gh-16697
9 months ago
Josh Cummings
46cd94b5f4
SpEL Propagates Authorization Exceptions
...
Closes gh-16697
10 months ago
Josh Cummings
954101ab0c
Use Thread-Safe Map
...
Issue gh-15906
10 months ago
Josh Cummings
b4c7795699
Support Serialization for Authorization Components
...
Closes gh-16544
10 months ago
Josh Cummings
47fd6befde
Ensure Serialization Compatibility for AuthenticationException
...
Issue gh-16286
11 months ago
Josh Cummings
36716d12ba
Serialization Support of Core Components
...
Issue gh-16276
11 months ago
Josh Cummings
3e4ba737e7
Don't Support Serialzation of Deprecated Access Classes
...
Issue gh-16276
11 months ago
Josh Cummings
d7921daa13
Support Serialization for SecurityConfig
...
Issue gh-16276
11 months ago
Josh Cummings
bbe4f87641
Mark Serialization Support for Events
...
Issue gh-16276
11 months ago
Josh Cummings
45da5c94b6
Support Serialization in Test Classes
...
Issue gh-16276
11 months ago
Josh Cummings
244fd2eb51
Support Serialization in Exceptions
...
Issue gh-16276
11 months ago
Josh Cummings
8735368d9e
Don't Support Serialization of Jackson Modules
...
Issu gh-16276
11 months ago
Toshiaki Maki
5075869418
Fix for JdbcOneTimeTokenService cleanupExpiredTokens failing with PostgreSQL
...
Closes gh-16344
11 months ago
Josh Cummings
b9911fd522
Add serialVersionUID to Authentication classes
...
Issue gh-16276
1 year ago
Joe Grandja
a8c4d6cead
Require Locale argument for toLower/toUpperCase usage
1 year ago
Joe Grandja
a7bf8f7cc6
Require Locale argument for toLower/toUpperCase usage
1 year ago
Josh Cummings
69cbe12a7b
Register Authorization Proxied Type
...
Closes gh-16106
1 year ago
Joe Grandja
0eaffb37e7
Require Locale argument for toLower/toUpperCase usage
1 year ago
Tran Ngoc Nhan
ffed4ea1dc
Polish diamond usage
1 year ago
Max Batischev
9cb81f8ad5
Polish JdbcOneTimeTokenService
1 year ago
Josh Cummings
981fbd5c2c
Polish Tests
...
Closes gh-14768
1 year ago
Max Batischev
ec13b8db4b
Add @FunctionalInterface to AuthorizationEventPublisher
1 year ago
Josh Cummings
95aaf3566f
Use Thread-safe Map
...
Closes gh-15906
1 year ago
Steve Riesenberg
af2b84246b
Fix flaky test
...
Issue gh-15735
1 year ago
kwonyonghyun
b8aa78829c
Improve readability of empty collection checks
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
Munawar Hafiz
aa7ef1192e
Replaces Date().getTime() method with System.currentTimeMillis()
1 year ago
Josh Cummings
b26f2af5d5
Polish
...
Formatting as well as adding a missing defer
Issue gh-15699
1 year ago
Max Batischev
2ca2e56383
Add Reactive One-Time Token Login support
...
Closes gh-15699
1 year ago
Rob Winch
c3a5ae1254
Fix logger checkstyle
1 year ago
Rob Winch
7738e6c895
Add logger.isDebugEnabled()
...
Issue gh-15735
1 year ago
Rob Winch
c4b60cd080
Reduce visibility for JdbcOneTimeTokenServiceTests
...
Issue gh-15735
1 year ago
Rob Winch
650ec3ba82
Use Duration for calculating validity
...
This improves readability.
Issue gh-15735
1 year ago
Rob Winch
e8c71df899
Use private Inner JdbcOneTimeTokenService classes
...
Issue gh-15735
1 year ago
Rob Winch
612b15abcc
JdbcOneTimeTokenService.setCleanupCron
...
Spring Security uses setter methods for optional member variables. Allows
for a null cleanupCron to disable the cleanup.
In a clustered environment it is likely that users do not want all nodes
to be performing a cleanup because it will cause contention on the ott
table.
Another example is if a user wants to invoke cleanUpExpiredTokens with a
different strategy all together, they might want to disable the cron job.
Issue gh-15735
1 year ago
Rob Winch
4787ac254d
cleanUpExpiredTokens->cleanupExpiredTokens
...
Issue gh-15735
1 year ago
Rob Winch
4f328c9503
destroy() shuts down the taskScheduler
...
Issue gh-15735
1 year ago
Max Batischev
0c216f0b59
Add public to setClock method in InMemoryOneTimeTokenService
...
Closes gh-15863
1 year ago