Josh Cummings
146d0b6358
Revert "Lock Dependency Versions for 5.4.0-M2"
...
This reverts commit 68538897c8 .
6 years ago
Josh Cummings
68538897c8
Lock Dependency Versions for 5.4.0-M2
6 years ago
Rob Winch
dac7806cf5
Test beforeTestMethod delays creation of SecurityContext
...
Issue gh-6591
6 years ago
Markus Gabriel
97ee6d66f1
Fix SecurityContext creation for TEST_EXECUTION
...
Currently, there is support for setting up a SecurityContext after @Before by
using TestExecutionEvent.TEST_EXECUTION. The current implementation, however,
already creates the SecurityContext in @Before and just does not set it yet.
This leads to issues like #6591 . For the case of @WithUserDetails , the
creation of the SecurityContext already looks up a user from the repository.
If the user was inserted in @Before , the user is not found despite using
TestExecutionEvent.TEST_EXECUTION. This commit changes the creation of the
SecurityContext to happen after @Before if using
TestExecutionEvent.TEST_EXECUTION.
Closes gh-6591
6 years ago
Dávid Kovács
fa9898dd6d
formLogin() and login() implement Mergable
...
This is necessary so that default requests like Spring REST Docs work.
Closes gh-7572
6 years ago
Dávid Kovács
c16db27670
formLogin() and login() implement Mergable
...
This is necessary so that default requests like Spring REST Docs work.
Closes gh-7572
6 years ago
Dávid Kovács
88028d82ed
formLogin() and login() implement Mergable
...
This is necessary so that default requests like Spring REST Docs work.
Closes gh-7572
6 years ago
Josh Cummings
bbd2a9ebae
Revert "Lock Dependencies for 5.3.3.RELEASE"
...
This reverts commit 116bfe01e6 .
6 years ago
Josh Cummings
116bfe01e6
Lock Dependencies for 5.3.3.RELEASE
6 years ago
Josh Cummings
900f551890
Inject TestOAuth2AuthorizedClientRepository
...
Fixes gh-8603
6 years ago
Joe Grandja
86ca6b013c
Unlock dependencies
...
This reverts commit 206960cf44 .
6 years ago
Joe Grandja
206960cf44
Lock dependencies for 5.4.0-M1
6 years ago
Joe Grandja
413dfc8679
Unlock dependencies
...
This reverts commit a61145f74c .
6 years ago
Joe Grandja
a61145f74c
Lock dependencies for 5.3.2.RELEASE
6 years ago
Dávid Kovács
1f1ddeb025
SecurityMockMvcConfigurer$DelegateFilter is not null-safe
...
This commit adds null-check to getter method, so instead of NPE an IllegalStateException will be thrown with additional details.
Fixes gh-7745
6 years ago
Joe Grandja
a78872f268
Unlock dependencies for 5.3.1.RELEASE
...
This reverts commit 88c02684bb .
6 years ago
Joe Grandja
88c02684bb
Lock dependencies for 5.3.1.RELEASE
6 years ago
Markus Engelbrecht
75f22285c6
Fix typo 'properites' in documentation
...
Fixes gh-8095
6 years ago
Markus Engelbrecht
e6ad3d5508
Fix typo 'properites' in documentation
...
Fixes gh-8095
6 years ago
Markus Engelbrecht
d81321bc29
Fix typo 'properites' in documentation
...
Fixes gh-8095
6 years ago
Josh Cummings
6eadf7b140
Unlock dependencies for 5.3.0.RELEASE
...
This reverts commit 147d7dadd7 .
6 years ago
Josh Cummings
147d7dadd7
Lock dependencies for 5.3.0.RELEASE
6 years ago
Josh Cummings
85b0e468ad
Add missing calls to principalName
...
Issue gh-8054
6 years ago
Josh Cummings
2064214f39
Add principal name to oauth2Client Test Support
...
Fixes gh-8054
6 years ago
Josh Cummings
3bc1b7a933
Simplify opaqueToken support
...
Remove scopes convenience method to alleviate potential confusion with
the "scope" attribute.
Issue gh-7827
Issue gh-7712
6 years ago
Josh Cummings
689fc9df0c
Align Test Support Claims
...
Make all sub claims 'user' and all scopes 'read' to align with
existing support for JWT
Issue gh-7828
Issue gh-7789
Issue gh-7680
Issue gh-7618
6 years ago
Josh Cummings
30adabb685
Simplify oauth2Login Test Support
...
Remove nameAttributeKey as this is easily done by constructing
a DefaultOAuth2User instance.
Issue gh-7789
Issue gh-7828
6 years ago
Josh Cummings
bd593a3431
Add Opaque Token WebTestClient Support
...
Fixes gh-7827
6 years ago
Josh Cummings
ffb5a3a0d4
Add oauth2Client WebTestClient Support
...
Fixes gh-7910
6 years ago
Eleftheria Stein
84b8a5abd7
Unlock dependencies for next development version
...
This reverts commit 064616f1ef .
6 years ago
Eleftheria Stein
064616f1ef
Lock dependencies for 5.3.0.RC1
6 years ago
Josh Cummings
c367378421
Add OAuth2Client MockMvc Test Support
...
Fixes gh-7886
6 years ago
Josh Cummings
982f3f902c
Add oauth2Login Reactive Test Support
...
Fixes gh-7828
6 years ago
Josh Cummings
8f1d0cf528
opaqueToken MockMvc Configuration Order
...
Fixes gh-7800
6 years ago
Eleftheria Stein
fcc6457bef
Unlock dependencies for next development version
...
This reverts commit 93acf8f0f1 .
6 years ago
Eleftheria Stein
93acf8f0f1
Lock dependencies for 5.3.0.M1
6 years ago
Josh Cummings
09810b8df9
oidcLogin Test Configuration Flow
...
Fixes gh-7794
6 years ago
Josh Cummings
84ba3ddf26
Add oauth2Login MockMvc Support
...
Fixes gh-7789
6 years ago
Josh Cummings
e1fdb24b5d
Add opaqueToken MockMvc Test Support
...
Fixes gh-7712
6 years ago
Josh Cummings
d102cae243
oidcLogin MockMvc Documentation
...
Remove documentation requiring a valid ClientRegistrationRepository
Issue: gh-7618
6 years ago
Josh Cummings
8c32d5fe48
Add oidcLogin WebFlux Test Support
...
Fixes: gh-7680
6 years ago
Josh Cummings
b35e18ff31
Add oidcLogin MockMvc Test Support
...
Fixes gh-7618
6 years ago
Josh Cummings
7cbd1665a6
Isolate Jwt Test Support
...
Isolating Jwt test support inside JwtRequestPostProcessor and
JwtMutator.
Fixes gh-7641
6 years ago
Drummond Dawson
4f82be7e68
Support URI vars in formLogin and logout MockMvc requests
6 years ago
Josh Cummings
05caf3d8fb
Use Jwt.Builder
...
Fixes gh-7443
6 years ago
Josh Cummings
b55b2914c2
Mock Jwt Disables CSRF
...
Fixes gh-7170
6 years ago
Lars Grefer
95511331fa
fix checkstyle
6 years ago
Lars Grefer
34dd5fea30
Remove redundant throws clauses
...
Removes exceptions that are declared in a method's signature but never thrown by the method itself or its implementations/derivatives.
6 years ago
Rob Winch
9d63c36f93
Fix JDK 10+
...
Issue gh-7265
6 years ago
Rob Winch
0c6bff4afb
SecurityMockMvcConfigurer Honors Filter Order
...
Fixes gh-7265
6 years ago