Tran Ngoc Nhan
dcd7490ddd
Polish javadoc
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
5 months ago
Rob Winch
a5c38bdc94
Fix AuthorizationManager T Nullability
...
Previously AuthorizationManager declared the generic's Nullability
incorrectly. This commit marks it properly.
Closes gh-17667
5 months ago
Josh Cummings
eeb383ac46
Fix Checkstyle
...
Issue gh-17623
5 months ago
Josh Cummings
6d1a886f92
Deprecate SERIAL_VERSION_UID
...
Closes gh-17623
5 months ago
Josh Cummings
6f1232ce79
Address Checkstyle
...
Issue gh-17447
Signed-off-by: Josh Cummings <3627351+jzheaux@users.noreply.github.com>
5 months ago
Mike Heath
93cb01612b
Add ExpressionTemplateValueProvider
...
Closes gh-17447
Signed-off-by: Mike Heath <michael.heath@familysearch.org>
5 months ago
Tran Ngoc Nhan
1a56023f7f
Use Spring Framework Nullability Annotations
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
5 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
Rob Winch
7c887d2da1
Add nullability to spring-security-core
...
Closes gh-17534
5 months ago
Josh Cummings
c312d18191
Add Publishing Predicate
...
Closes gh-17503
6 months ago
Tran Ngoc Nhan
242956a63c
Remove deprecated elements from DaoAuthenticationProvider
...
Closes gh-17298
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
6 months ago
Tran Ngoc Nhan
e52987d03c
Remove RoleHierarchyImpl Deprecations
...
Closes gh-17297
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
6 months ago
Tran Ngoc Nhan
d8043dc8a7
Remove PrePostTemplateDefaults
...
Closes gh-17296
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
6 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
Rob Winch
00ead7f24d
Update to Kotlin 2.2
6 months ago
Evgeniy Cheban
092bbfc8e7
ReactiveAuthorizationManager replace deprecated #check calls with #authorize
...
Closes gh-16936
Signed-off-by: Evgeniy Cheban <mister.cheban@gmail.com>
7 months ago
Evgeniy Cheban
b0cecb37d2
Replace deprecated #check calls with #authorize
...
Closes gh-16936
Signed-off-by: Evgeniy Cheban <mister.cheban@gmail.com>
7 months ago
dae won
9654e51bd4
Include UsernameNotFoundException in BadCredentialsException
...
Closes gh-16496
Signed-off-by: dae won <eodnjs01477@gmail.com>
7 months ago
Josh Cummings
215547f8c8
Use UsernameNotFoundException Factory
...
Issue gh-17179
7 months ago
Josh Cummings
da2d9aa868
Add Username Property to Exception
...
Closes gh-17179
7 months ago
dae won
8612e952fe
Make AuthorizationProxyFactory#proxy Generic
...
Closes gh-16706
Signed-off-by: dae won <eodnjs01477@gmail.com>
7 months ago
Tran Ngoc Nhan
8e2067bb3e
Remove deprecated `MemberCategory#DECLARED_FIELDS`
...
Issue gh-16889
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
7 months ago
Tran Ngoc Nhan
88369cd252
Polish
...
Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
7 months ago
Josh Cummings
c972de5369
Use .equals to Compare Methods
...
Closes gh-17143
8 months ago
Josh Cummings
bf2aaa1b18
Use .equals to Compare Methods
...
Closes gh-17143
8 months ago
Junhyeok Lee
e30dc42d1e
Update JdbcUserDetailsManager Javadoc and author
...
Signed-off-by: Junhyeok Lee <jhl221123@naver.com>
8 months ago
Junhyeok Lee
0722c2dc41
Implement UserDetailsPasswordService in JdbcUserDetailsManager
...
Signed-off-by: Junhyeok Lee <jhl221123@naver.com>
8 months ago
huhdy32
817938fa49
Add NullReturningMethodAuthorizationDeniedHandler
...
This implementation of MethodAuthorizationDeniedHandler returns null
when authorization is denied.
Closes gh-16705
Signed-off-by: huhdy32 <mong3268@gmail.com>
8 months ago
Shenker93
de622d1082
Improve JdbcUserDetailsManager.userExists method
8 months ago
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
9 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
10 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
10 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>
10 months ago
Josh Cummings
7f22a3459f
Polish Tests
...
Issue gh-16444
10 months ago
DingHao
10ed5009e6
Method Security templates support use deep non-aliased attributes
...
Closes gh-16498
Signed-off-by: DingHao <dh.hiekn@gmail.com>
10 months ago
Max Batischev
ed79efc5fa
Add support ResolvableTypeProvider to authorization events
...
Closes gh-16700
Signed-off-by: Max Batischev <mblancer@mail.ru>
10 months ago
Josh Cummings
85b48f8392
Deprecate AccessDecisionManager
...
Closes gh-11302
10 months ago
Josh Cummings
8e9634d25c
Deprecate ConfigAttribute
...
Closes gh-16774
10 months ago
Josh Cummings
89bd670fb1
Deprecate SecurityConfig
...
Closes gh-16773
10 months ago
Josh Cummings
989aee244b
Deprecate SecurityMetadataSource
...
Closes gh-16772
10 months ago