Josh Cummings
d04f7071c2
Add Missing Serialization Samples
...
Closes gh-17038
8 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
Josh Cummings
bc9ae1eed6
Improve NPE Handling
8 months ago
Josh Cummings
216680bb50
Update Deprecated Spring Jdbc Usage
8 months ago
Josh Cummings
2ad859a63c
Add Missing Deprecation Markers
8 months ago
Josh Cummings
5841e35cae
Invert AuthorizeReturnObjectMethodInterceptor Dependency
...
Closes gh-16922
8 months ago
minseok.park
88a38013bb
Add validation for auth checks in AbstractUserDetailsAuthenticationProvider
...
Add assertions to validate that preAuthenticationChecks and
postAuthenticationChecks are not null during initialization.
This allows errors to be detected earlier in the application lifecycle.
Closes PR-16710
Signed-off-by: minseok.park <minseok.park@hyosung.com>
9 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
Josh Cummings
56e757a2a1
Provide Authentication to AuthenticationExceptions
...
Issue gh-16444
9 months ago
Josh Cummings
60bed7f68a
Polish AuthenticationRequest Property
...
- Add getter for reading the request
- Update BadCredentialsMixing to ignore authentication
- Allow exception to be mutable
Issue gh-16444
9 months ago
amm0124
3b6aca0d9c
Add authRequest field to AuthenticationException
...
Store the authentication request details in the `authRequest` field of
`AuthenticationException` when an authentication exception occurs.
Closes gh-16444
Signed-off-by: amm0124 <amm0124@naver.com>
9 months ago
Josh Cummings
7f22a3459f
Polish Tests
...
Issue gh-16444
9 months ago
DingHao
10ed5009e6
Method Security templates support use deep non-aliased attributes
...
Closes gh-16498
Signed-off-by: DingHao <dh.hiekn@gmail.com>
9 months ago
Max Batischev
ed79efc5fa
Add support ResolvableTypeProvider to authorization events
...
Closes gh-16700
Signed-off-by: Max Batischev <mblancer@mail.ru>
9 months ago
Josh Cummings
85b48f8392
Deprecate AccessDecisionManager
...
Closes gh-11302
9 months ago
Josh Cummings
8e9634d25c
Deprecate ConfigAttribute
...
Closes gh-16774
9 months ago
Josh Cummings
89bd670fb1
Deprecate SecurityConfig
...
Closes gh-16773
9 months ago
Josh Cummings
989aee244b
Deprecate SecurityMetadataSource
...
Closes gh-16772
9 months ago
DingHao
96b9820e19
Annotation parameter scan finds first-level conflicts
...
Closes PR-16312
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
Steve Riesenberg
0938ca01a4
Add support for automatic context-propagation with Micrometer
...
Closes gh-16665
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
46cd94b5f4
SpEL Propagates Authorization Exceptions
...
Closes gh-16697
10 months ago
Max Batischev
fa35c5b4d8
Make DefaultOneTimeToken Serializable
...
Closes gh-16617
Signed-off-by: Max Batischev <mblancer@mail.ru>
10 months ago
Josh Cummings
954101ab0c
Use Thread-Safe Map
...
Issue gh-15906
10 months ago
Josh Cummings
ae2894ab25
Update Copyright
...
Issue gh-16600
10 months ago
dae won
45b51fe3c8
Add grantedAuthorityMapper as a class member
...
- Add unit tests for setGrantedAuthorityMapper method
Signed-off-by: dae won <eodnjs01477@gmail.com>
10 months ago
dae won
cb07031259
Add unit tests for setUserDetailsMapper method
...
Signed-off-by: dae won <eodnjs01477@gmail.com>
10 months ago
dae won
22511aac7f
Refactor mapToUser method visibility to private
...
Signed-off-by: dae won <eodnjs01477@gmail.com>
10 months ago
dae won
6ac3426e39
Add userDetailsMapper as a class member
...
Signed-off-by: dae won <eodnjs01477@gmail.com>
10 months ago
dae won
e8fe003c4c
Make mapToUser and mapToGrantedAuthority protected in JdbcUserDetailsManager
...
- Closes gh-16540
Signed-off-by: dae won <eodnjs01477@gmail.com>
10 months ago
Josh Cummings
43ddf73ddb
Polish Exception Message
...
This error message provides more context around which credentials failed.
Issue gh-16494
10 months ago
Max Batischev
08f71461b4
Add Support BadCredentialsException to OneTimeTokenAuthenticationProvider
...
Closes gh-16494
Signed-off-by: Max Batischev <mblancer@mail.ru>
10 months ago
Josh Cummings
6fdfeb3413
Polish Debug Messages
...
Issue gh-16484
10 months ago
tejas-teju
291162a195
Add debug messages for auth exceptions in ProviderManager
...
Issue gh-16484
Signed-off-by: tejas-teju <tejas8196@gmail.com>
10 months ago
Tran Ngoc Nhan
5d089f680e
Consistently NonNull annotation
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
10 months ago
Josh Cummings
b4c7795699
Support Serialization for Authorization Components
...
Closes gh-16544
11 months ago
Josh Cummings
47fd6befde
Ensure Serialization Compatibility for AuthenticationException
...
Issue gh-16286
11 months ago
dae won
6a94a294ea
Lazily compose debug message in AbstractUserDetailsAuthenticationProvider
...
Closes gh-16495
Signed-off-by: dae won <eodnjs01477@gmail.com>
11 months ago
tejas-teju
e724ea16a4
Update UsernameNotFoundException message
...
Closes gh-16497
Signed-off-by: tejas-teju <tejas8196@gmail.com>
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
Max Batischev
474b5e151a
Add Support GenerateOneTimeTokenRequestResolver
...
Closes gh-16291
Signed-off-by: Max Batischev <mblancer@mail.ru>
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