Steve Riesenberg
ecf8467cac
Fix tests on JDK 21
...
Issue gh-12790
Issue gh-13811
2 years ago
Steve Riesenberg
d6ff58bb7f
Update Mockito to 5.5.0
...
Closes gh-13810
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
Steve Riesenberg
92256f0522
Support nested suspend calls for Kotlin coroutines
...
Closes gh-13764
2 years ago
Seongguk Jeong
bcd4dcc15c
Refactor equals method
...
Using the accessor method for fields instead of directly access
2 years ago
Seongguk Jeong
8df8d4022e
Fix documentation typo
...
changed "user name" to "username"
2 years ago
Seongguk Jeong
de1357cbd1
Refactor equals method
...
To use the accessor method for username instead of directly accessing the attribute.
2 years ago
Seongguk Jeong
ea19f82b8a
Using pattern matching for instanceof
2 years ago
maimate-dev
7b2cb59dab
Localize AccessDeniedException message
...
Closes gh-13419
2 years ago
Josh Cummings
cf79af2386
Update Kotlin Test Usage
...
Issue gh-13539
2 years ago
Josh Cummings
a08036aee5
Change from AwaitKt to MonoKt
...
Issue gh-13539
2 years ago
Josh Cummings
6c3636d780
Update Removed Usages
...
Issue gh-13544
2 years ago
Josh Cummings
a99dff7de3
Remove Reference to LocalVariableTableParameterNameDiscoverer
...
Issue gh-2572
2 years ago
Josh Cummings
6393702e70
Fix allOf/anyOf Abstain Logic
...
Closes gh-13487
2 years ago
Claudio Nave
52e12ad64b
Replace deprecated methods
3 years ago
Evgeniy Cheban
0cefb27928
Simplify RequestMatcherDelegatingAuthorizationManager.Builder matcher registration
...
Closes gh-11624
3 years ago
Josh Cummings
339185998a
Update JavaDoc
...
Issue gh-12782
3 years ago
kandaguru17
fa2bc745f7
Use AuthoritiesAuthorizationManager in Jsr250AuthorizationManager
...
Closes gh-12782
3 years ago
Krzysztof Krason
9b603b99ab
Using modern Java features
3 years ago
Josh Cummings
97cff7c715
Polish TestingAuthenticationToken
...
Restore List constructor to retain binary compatibility.
3 years ago
Laurent Martelli
f25d76c48f
TestingAuthenticationToken takes broader collection type
...
So that callers do not have to cast.
Closes gh-12953
3 years ago
Josh Cummings
fb910e2997
Prepare for Spring Security 6.2
...
Closes gh-14316
3 years ago
Steve Riesenberg
1f04baa4a3
Polish gh-13290
...
Issue gh-12533
3 years ago
Dmitry Korotych
4def405067
Allow authorities to be overridden in UserBuilder
...
Issue gh-12533
3 years ago
Josh Cummings
05ef215b88
Align Formatting
...
Issue gh-13132
3 years ago
Florian Cramer
9669747245
Ignore synthetic methods when checking for duplicate annotations
...
Closes gh-13132
3 years ago
SeasonPan
a44e91d044
fix javadoc typo
3 years ago
Josh Cummings
9244989b2e
Fix allOf/anyOf Abstain Logic
...
Closes gh-13069
3 years ago
Josh Cummings
599ed3e96b
Polish Format
...
Issue gh-13079
3 years ago
Josh Cummings
73a543d318
Handle Empty Role
...
Closes gh-13079
3 years ago
Marcus Da Coregio
54117d7d27
Fix test suffix to align with checkstyle
3 years ago
Yuanhang Guo
c69df9fba0
Fix javadoc typo in ReactiveAuthorizationManager
...
Closes gh-12978
3 years ago
Josh Cummings
25ff3d69bd
Polish WebFlux Observation contextualName
...
Issue gh-12156
3 years ago
Petr Svoboda
44c4a4ae86
Add new DaoAuthenticationProvider constructor
...
Add a new constructor to the DaoAuthenticationProvider, which allows
providing a custom PasswordEncoder to prevent instantiation of the
default delegating PasswordEncoder in the default constructor.
This provides a way to instantiate the DaoAuthenticationProvider on JDKs
where the default delegating PasswordEncoder cannot be instantiated due
to limited JCE providers for compliance reasons (e.g., FIPS).
Closes gh-12874
3 years ago
Josh Cummings
607e40d366
Polish ObservationConvention Configuration
...
Change to setObservationConvention so that it reads more clearly
when used, for example `authenticationManager.setObservationConvention`
is clearer than `authenticationManager.setConvention`.
Change unit test names to follow team conventions.
Issue gh-12534
3 years ago
Josh Cummings
f1b14de3ba
Format ObservationConvention Configuration
...
Issue gh-12534
3 years ago
Braunson
8d933fcb03
Support Customizing Observation Conventions
...
Closes gh-12534
3 years ago
Josh Cummings
a7562ad950
Update io.spring.javaformat to 0.0.38
...
Closes gh-12891
3 years ago
bist
094bf1b527
Validate hasRole Input
...
There are no check for role prefix in AuthorizeHttpRequestsConfigurer#XXXrole
methods. This PR adds check for the same. Now the configuration
will fail if role/s start with prefix for hasRole and hasAnyRole methods.
Closes #12581
3 years ago
Pascal Verdage
659b65a666
Fix javadox typo
3 years ago
Marcus Da Coregio
52ed165476
Move classpath checks to class member variable
...
Closes gh-11437
3 years ago
stillya
3229bfa40f
Add empty authorities by default
...
Closes gh-12533
3 years ago
Josh Cummings
4d2dab9b6b
Lookup Parent Observation
...
Closes gh-12524
3 years ago
Evgeniy Cheban
782b792e7b
SecuredAuthorizationManager should allow customizing underlying authorization manager
...
Closes gh-12233
3 years ago
Evgeniy Cheban
3369cf5fe9
Consider replacing SecurityExpressionRoot.AuthenticationSupplier with SingletonSupplier
...
Closes gh-12487
3 years ago
Evgeniy Cheban
1bbbd046c3
Polish gh-12231
...
- Update copyright header
- Use Set.of instead of HashSet in AuthorityAuthorizationManager
- Align roleHierarchy test name with other tests in AuthoritiesAuthorizationManagerTests
3 years ago
Evgeniy Cheban
e0d676c03f
SecuredAuthorizationManager should cache annotation's value
...
Closes gh-12232
3 years ago
Guillaume Husta
36d83f863a
Fix Javadoc since tag for class ExpressionAuthorizationDecision
...
Closes gh-12411
3 years ago
Evgeniy Cheban
855282ac3b
Add Authority String AuthorizationManager
...
Closes gh-12231
3 years ago
Josh Cummings
14a48ea939
Fix formatting
...
Issue gh-12143
3 years ago