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
Lars Grefer
ff1070df36
remove redundant modifiers found by checkstyle
6 years ago
Lars Grefer
38de737663
Java 8: Statement lambda can be replaced with expression lambda
6 years ago
Lars Grefer
b388976ac8
fix checkstyle
6 years ago
Lars Grefer
fe9e454978
StandardCharsets can be used
...
Reports methods and constructors where constant charset String literal is used (like "UTF-8") which could be replaced with a predefined Charset object like StandardCharsets.UTF_8. This may work a little bit faster, because charset lookup becomes unnecessary. Also catching UnsupportedEncodingException may become unnecessary as well. In this case the catch block will be removed automatically.
6 years ago
Lars Grefer
fb39d9c255
Anonymous type can be replaced with lambda
6 years ago
Lars Grefer
776a4c3760
Use org.mockito.ArgumentMatchers in favor of org.mockito.Matchers
6 years ago
Lars Grefer
c5b5cc507c
Cleanup redundant type casts
7 years ago
sandmannn
23a7c3010c
Added jwt injection for reactive test mocks
...
Added new implementation of jwt() method that
makes it possible to directly provide a previously
prepared JWT token to WebTestClient mutator.
Fixes: spring-projectsgh-6896
7 years ago
sandmannn
9323d8e821
Extended testing api for JWT
...
Added new implementation of jwt() method that
makes it possible to directly provide a previously
prepared JWT token to the MockMvc request builder.
Issue: spring-projectsgh-6896
7 years ago
Josh Cummings
d0f5b42884
Mock Jwt Test Support and Jwt.Builder Polish
...
Simplified the initial support to introduce fewer classes and only the
features described in the ticket.
Changed tests to align with existing patterns in the repository.
Added JavaDoc to remaining public methods introduced for this feature.
Issue: gh-6634
Issue: gh-6851
7 years ago
Jérôme Wacongne
e59d8a529b
Mock Jwt Test Support and Jwt.Builder
...
Fixes: gh-6634
Fixes: gh-6851
7 years ago
Spring Operator
b93528138e
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0 with 2691 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
* http://www.apache.org/licenses/LICENSE-2.0.html with 2 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0.html ([https](https://www.apache.org/licenses/LICENSE-2.0.html ) result 200).
7 years ago
Rob Winch
1a80d4a66c
Fix Generics in ReactorContextTestExecutionListenerTests for JDK 9+
...
Issue: gh-6075
7 years ago
Aanuoluwapo Otitoola
a28c677f88
ReactorContextTestExecutionListener should use named hooks
...
Fixes: gh-6075
7 years ago
Tadaya Tsuyukubo
12050404ad
Populate test security context with authentication
...
Add setAuthentication method on TestSecurityContextHolder.
7 years ago
Vedran Pavic
cb0ba58b58
Fix WhitespaceAfterCheck Checkstyle check
7 years ago
mhyeon.lee
18db425861
Polish Javadoc to remove warning
8 years ago
Rob Winch
1137f3b46d
Add cross references to ReactorContextTestExecutionListener
...
Fixes: gh-5418
8 years ago
Rob Winch
7a204a5f58
Fixes for SPR-16624
...
Fixes: gh-5164
8 years ago
Rob Winch
b1d013e8f0
Fix JDK 9
...
Issue: gh-5160
8 years ago
Rob Winch
1851aaa66d
Fix ReactorContextTestExecutionListener with custom SecurityContext
...
Fixes: gh-5137
8 years ago
Oleh Dokuka
76e36bd06e
fix Mock Authentication resolution
8 years ago
Rob Winch
65193963ad
Fix Imports
...
Issue: gh-4888
8 years ago
Rob Winch
2228485a40
WithUserDetails supports ReactiveUserDetailsService
...
Fixes: gh-4888
8 years ago
Rob Winch
abae2f3e87
Allow WithSecurityContextTestExecutionListener to execute after @Before
...
Fixes: gh-2935
8 years ago
Rob Winch
e1a8d250de
Add authenticated().withAuthentication(Consumer<Authentication>)
...
This allows arbitrary assertions of the authenticated user
Fixes: gh-4996
8 years ago
Johnny Lim
57353d18e5
Use diamond type
8 years ago
Johnny Lim
b6895e6359
Apply Checkstyle WhitespaceAfterCheck module
8 years ago
Johnny Lim
d900f2a623
Remove unused imports
...
This commit also adds UnusedImportsCheck Checkstyle module.
8 years ago
Johnny Lim
cdcf65de1e
Polish
...
Fixes gh-4425
8 years ago
Antoine
e0aca04a28
Polish AssertJ assertions
...
Polish AssertJ assertions
8 years ago
Rob Winch
8da2c7f657
Add WebFlux CSRF Protection
...
Fixes gh-4734
8 years ago
Rob Winch
c467dcdbe1
SecurityMockServerConfiguers fixes
...
Issue: gh-4719
8 years ago
Rob Winch
77aedcf502
SecurityMockServerConfigurers updates
...
Issue: gh-4719
8 years ago