Josh Cummings
bcc1cfc28a
Restore OAuth2AuthorizedClientRepository Test Instrumentation
...
Closes gh-13113
3 years ago
Amal Krishna
8bec14009e
Fix typo in SecurityMockMvcResultMatchers.java
...
Change the first parameter's name of the AuthenticatedMatcher.withAuthentication() method from assesrtAuthentication to assertAuthentication
3 years ago
Marcus Da Coregio
54117d7d27
Fix test suffix to align with checkstyle
3 years ago
Steve Riesenberg
440748ec65
Add test support for Xor CSRF tokens
...
Issue gh-4001
3 years ago
Steve Riesenberg
475b3bb6bb
Add deferred CsrfTokenRepository.loadDeferredToken
...
* Move DeferredCsrfToken to top-level and implement Supplier<CsrfToken>
* Move RepositoryDeferredCsrfToken to top-level and make package-private
* Add CsrfTokenRepository.loadToken(HttpServletRequest, HttpServletResponse)
* Update CsrfFilter
* Rename CsrfTokenRepositoryRequestHandler to CsrfTokenRequestAttributeHandler
Issue gh-11892
Closes gh-11918
3 years ago
Steve Riesenberg
46696a9226
CsrfTokenRequestHandler extends CsrfTokenRequestResolver
...
Closes gh-11896
3 years ago
Rob Winch
d94677f87e
CsrfTokenRequestAttributeHandler -> CsrfTokenRequestHandler
...
This renames CsrfTokenRequestAttributeHandler to CsrfTokenRequestHandler and
moves usage from CsrfFilter into CsrfTokenRequestHandler.
Closes gh-11892
3 years ago
aSemy
6e2e8c41b5
typo fitler -> filter
3 years ago
aSemy
e7880b1815
Javadoc typo 'sue' -> 'use'
3 years ago
mariusz
b478e5bc93
gh-6899: @WithMockUser as metaannotation
3 years ago
Josh Cummings
f86992a0af
Add SecurityContextHolderStrategy Test Support
...
Issue gh-11061
Issue gh-11444
4 years ago
Marcus Da Coregio
b8b0661d73
Lock Dependencies for Release
4 years ago
Rob Winch
6e6d472da4
Add test support for SecurityContextHolderFilter
...
Issue gh-9635
4 years ago
Rob Winch
87ed31a99c
Add SecurityContextHolderFilter
...
Closes gh-9635
4 years ago
Norbert Nowak
ac9c29b2a0
Add UsernamePasswordAuthenticationToken factory methods
...
- unauthenticated factory method
- authenticated factory method
- test for unauthenticated factory method
- test for authenticated factory method
- make existing constructor protected
- use newly factory methods in rest of the project
- update copyright dates
Closes gh-10790
4 years ago
giger85
304ef2302c
Replace StringUtils class completely
...
Issue gh-9925
Closes gh-10805
4 years ago
giger85
8f01efb9e3
Replace StringUtils class completely
...
Issue gh-9925
Closes gh-10805
4 years ago
giger85
4a3654a95b
Replace StringUtils class completely
...
Issue gh-9925
Closes gh-10805
4 years ago
Rob Winch
04f3bbcefa
javax.xml.bind:jaxb-api -> jakarta.xml.bind:jakarta.xml.bind-api
...
Issue gh-10501
4 years ago
Rob Winch
c67ee6f2a8
javax.servlet:javax.servlet-api -> jakarta.servlet:jakarta.servlet-api
...
Issue gh-10501
4 years ago
Rob Winch
0e8c03401b
javax.xml.bind:jaxb-api -> jakarta.xml.bind:jakarta.xml.bind-api
...
Issue gh-10501
4 years ago
Rob Winch
8f64bb6c8c
javax.servlet:javax.servlet-api -> jakarta.servlet:jakarta.servlet-api
...
Issue gh-10501
4 years ago
Eleftheria Stein
3389cf3ffc
Revert "Lock dependencies"
...
This reverts commit 83bb4603f8 .
4 years ago
Marcus Da Coregio
cfbf28b8ba
Revert "Lock Dependencies for Release"
...
This reverts commit 3d4e90ba2a .
4 years ago
Eleftheria Stein
83bb4603f8
Lock dependencies
4 years ago
Marcus Da Coregio
3d4e90ba2a
Lock Dependencies for Release
4 years ago
Eleftheria Stein
7e34c6a045
Fix reactive resource server tests
...
Closes gh-10660
4 years ago
Eleftheria Stein
923a14c3f5
Fix reactive resource server tests
...
Closes gh-10660
4 years ago
Steve Riesenberg
0704c709dc
Revert "Lock Dependencies for Release"
...
This reverts commit 03c2c49d66 .
4 years ago
Steve Riesenberg
03c2c49d66
Lock Dependencies for Release
4 years ago
Steve Riesenberg
c83bd075a2
Revert "Lock Dependencies for Release"
...
This reverts commit bedb569f0d .
4 years ago
Steve Riesenberg
bedb569f0d
Lock Dependencies for Release
4 years ago
Joe Grandja
5c8cd23a2d
Revert "Lock dependencies"
...
This reverts commit fc53f81d2e .
4 years ago
Eleftheria Stein
fc53f81d2e
Lock dependencies
4 years ago
Marcus Da Coregio
02b2fcc6f0
Restore ManagementConfigurationPlugin
...
Issue gh-9615
4 years ago
Marcus Da Coregio
d2e5f2ae0d
Update Gradle to 7.2
...
Closes gh-9615
4 years ago
Marcus Hert da Coregio
ab098f171d
Propagate TestSecurityContextHolder to SecurityContextHolder
...
Create SecurityMockMvcResultHandlers to define security related MockMvc ResultHandlers
Create a method to allow copying the SecurityContext from the TestSecurityContextHolder to SecurityContextHolder
Closes gh-9565
4 years ago
Joe Grandja
ec6b2203ca
Revert "Lock Dependencies for Release"
...
This reverts commit 067bdd0dd9 .
4 years ago
Joe Grandja
067bdd0dd9
Lock Dependencies for Release
4 years ago
Marcus Da Coregio
c706a103f9
Revert "Lock Dependencies"
...
This reverts commit 1533f098d2 .
4 years ago
Marcus Da Coregio
1533f098d2
Lock Dependencies
4 years ago
Dávid Kováč
3ff825576b
Move and rename OAuth2IntrospectionClaimAccessor/Names
...
Introduced OAuth2TokenIntrospectionClaimAccessor and OAuth2TokenIntrospectionClaimNames
with copied implementation from OAuth2IntrospectionClaimAccessor/Names.
OAuth2IntrospectionClaimAccessor and OAuth2IntrospectionClaimNames are
now deprecated.
Also method getScopes() returning list of scopes was introduced
and getScope() is now deprecated.
Closes gh-9647
4 years ago
Rob Winch
f73f213f50
Remove DependencySetPlugin
...
Closes gh-10070
4 years ago
Rob Winch
c838d3a25c
Use SpringExtension instead of rules
5 years ago
Rob Winch
e998d4ec8a
Fix serialization due to mocking
5 years ago
Rob Winch
b6ff4d3674
Fix mockito UnnecessaryStubbingException
5 years ago
Rob Winch
3e93b024d6
openrewrite Junit Migration
5 years ago
Rob Winch
14240b2559
Remove Powermock
...
Powermock does not support JUnit5 yet, so we need to remove it
to support JUnit 5. Additionally, maintaining additional libraries
adds extra work for the team.
Mockito now supports final classes and static method mocking. This
commit replaces Powermock with mockito-inline.
Closes gh-6025
5 years ago
Marcus Da Coregio
b0d22d1a03
Revert "Lock Dependencies"
...
This reverts commit eb300c78bd .
5 years ago
Steve Riesenberg
c17767883f
Revert "Lock Dependencies for Release"
...
This reverts commit d71be4ca28 .
5 years ago