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
36ea1b11a7
Fix Compilation Error
...
Issue gh-16697
9 months ago
Josh Cummings
46cd94b5f4
SpEL Propagates Authorization Exceptions
...
Closes gh-16697
10 months 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
Joe Grandja
0eaffb37e7
Require Locale argument for toLower/toUpperCase usage
1 year ago
Marcus Hert Da Coregio
a0e6c17512
Do not log exception if CasJackson2Module is not present
...
Closes gh-15749
1 year ago
DingHao
5c20505b0e
Support Class Attributes in Annotation Template Processing
...
Closes gh-15721
1 year ago
Josh Cummings
0cab7c8f15
Defer Sorting AuthorizationAdvisors
...
Invoking AnnotationAwareOrderComparator#sort while the
AuthorizationAdvisors are still being computed causes those
advisors to be eagerly instantiated, making components
like ObservationRegistry ineligible for post processing.
This commit defers the sorting of the advisors until
after they are all fully instantiated and available in
the application context.
Closes gh-15658
1 year ago
Daniel Garnier-Moiroux
79fb0113c8
Bump io-spring-javaformat from 0.0.42 to 0.0.43
...
Bumps `io-spring-javaformat` from 0.0.42 to 0.0.43.
Updates `io.spring.javaformat:spring-javaformat-checkstyle` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
Updates `io.spring.javaformat:spring-javaformat-gradle-plugin` from 0.0.42 to 0.0.43
- [Release notes](https://github.com/spring-io/spring-javaformat/releases )
- [Commits](spring-io/spring-javaformat@v0.0.42...v0.0.43)
---
updated-dependencies:
- dependency-name: io.spring.javaformat:spring-javaformat-checkstyle
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: io.spring.javaformat:spring-javaformat-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
---
Manual updates:
- Adhere to rule where `@Deprecated` annotations and `@deprecated` javadoc comments MUST
be used together
Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
Josh Cummings
34d964eb08
Default Handler Resolution to Reflection-Based
...
Closes gh-15496
1 year ago
Josh Cummings
f20ae1a71c
Revert gh-13783
...
This feature unfortunately regresses pre-existing behavior
like that found in gh-15352. As such, this functionality
has been removed.
Closes gh-15352
1 year ago
Hyeon Sung
742c95b1fc
Use instanceof Pattern Matching
2 years ago
MrJovanovic13
e932387714
fix docs error
...
Closes gh-14978
2 years ago
Marcus Hert Da Coregio
08f11f06ab
Revert unnecessary commits from main
...
Issue gh-15016
2 years ago
Marcus Hert Da Coregio
b3c7f3ff19
Rename CompromisedPasswordCheckResult to CompromisedPasswordDecision
...
Issue gh-7395
2 years ago
DingHao
2a6f0cac5a
Fix not exist class in java doc
...
Closes gh-14954
2 years ago
Marcus Hert Da Coregio
2fbbcc4bd0
Polish Method Authorization Denied Handling
...
- Renamed @AuthorizationDeniedHandler to @HandleAuthorizationDenied
- Merged the post processor interface into MethodAuthorizationDeniedHandler , it now has two methods handleDeniedInvocation and handleDeniedInvocationResult
- @HandleAuthorizationDenied now handles AuthorizationDeniedException thrown from the method
Issue gh-14601
2 years ago
Josh Cummings
933ef67637
Polish AuthorizationDeniedException Handling
...
Issue gh-14600
2 years ago
Josh Cummings
50b85aea0d
Handle SpEL AuthorizationDeniedExceptions
...
Closes gh-14600
2 years ago
Marcus Hert Da Coregio
61eba00654
Move HaveIBeenPwnedRestApiPasswordChecker to spring-security-web
...
Prior to this commit, the implementation was placed in spring-security-core, however we do not want to introduce a dependency on spring-web and spring-webflux for that module.
Issue gh-7395
2 years ago
Marcus Hert Da Coregio
8d914ef145
Add @AuthorizationDeniedHandler for Method Authorization Denied Handling
...
Issue gh-14601
2 years ago
Josh Cummings
c8e5fbf21b
Fix Package Tangle
...
Issue gh-14598
2 years ago
YunByungil
e5f7453690
fix: variable naming convention
...
Changed the variable name from MAX_INTITEM_LENGTH to MAX_INT_ITEM_LENGTH to adhere to naming conventions
2 years ago
Josh Cummings
3f7355abc6
Synthesize all annotation attributes
...
Issue gh-14601
2 years ago
Josh Cummings
6f07d63938
Support SpEL Returning AuthorizationDecision
...
Closes gh-14598
2 years ago
Josh Cummings
0a9c482f62
Revert "Support SpEL Returning AuthorizationDecision"
...
This reverts commit 77f2977c55 .
2 years ago
Josh Cummings
77f2977c55
Support SpEL Returning AuthorizationDecision
...
Closes gh-14599
2 years ago
Marcus Hert Da Coregio
d85857f905
Add Authorization Denied Handlers for Method Security
...
Closes gh-14601
2 years ago
Marcus Hert Da Coregio
19d66c0b8a
Introduce AuthorizationResult
2 years ago
Marcus Hert Da Coregio
7d66525e23
Add Compromised Password Checker
...
Closes gh-7395
2 years ago
Josh Cummings
7162046144
Remove Reference to MethodInvocationResult
...
Closes gh-14794
2 years ago
Ali-Hassan
04799c5aac
Update AuthenticationProvider JavaDoc
...
Authentication is an interface, not a class. So, it's not correct
to say "instance of the Authentication class".
2 years ago
Josh Cummings
e1c5dc0e66
Polish JavaDoc
...
Issue gh-14597
2 years ago
Josh Cummings
9898e0e993
Move AuthorizationAdvisorProxyFactory
...
To prevent package tangles
Issue gh-14596
2 years ago
Josh Cummings
12ea8a5738
Add Supplier Support
...
Issue gh-14597
2 years ago
Josh Cummings
795e44d11f
Add Value-Type Ignore Support
...
Issue gh-14597
2 years ago
Josh Cummings
ce54a6db18
Add TestAuthentication convenience method
...
Issue gh-14597
2 years ago
Josh Cummings
d169d5a835
Add AuthorizeReturnObject
...
Closes gh-14597
2 years ago
Marcus Hert Da Coregio
5a7f12f1a9
Check for null Authentication
...
Closes gh-14715
2 years ago
Josh Cummings
c611b7e33b
Add AuthorizationProxyFactory Reactive Support
...
Issue gh-14596
2 years ago
Josh Cummings
f541bce492
Polish AuthorizationAdvisorProxyFactory
...
- Ensure Reasonable Defaults
- Simplify Construction
Issue gh-14596
2 years ago
Josh Cummings
52dfbfb5b3
Add Authorization Proxy Support
...
Closes gh-14596
2 years ago
Marcus Hert Da Coregio
8f42c86a57
Use AuthorizationInterceptorsOrder for Post Authorize Method Interceptors
...
Closes gh-14720
2 years ago
Josh Cummings
c5a4405c54
Polish JavaDoc
...
Issue gh-14521
2 years ago
ruabtmh
09010f3f51
Add ContinueOnError Support For Failed Authentications
...
Closes gh-14521
2 years ago
Josh Cummings
4d383023cb
Add meta-annotation parameter support
...
Closes gh-14480
2 years ago