Home New Trending Search
About Privacy Terms
#
#TestingIsGood
Posts tagged #TestingIsGood on Bluesky
Security testing: utility methods
* Compatible with @WebMvcTest
* @WithMockUser for injecting simple users
   * @WithUserDetailsService
* SecurityMockMvcRequestPostProcessors for MockMvc(Tester)
   * . csrf(), .opaqueToken() , .oidcLogin() ...
* ... and more!

Security testing: utility methods * Compatible with @WebMvcTest * @WithMockUser for injecting simple users * @WithUserDetailsService * SecurityMockMvcRequestPostProcessors for MockMvc(Tester) * . csrf(), .opaqueToken() , .oidcLogin() ... * ... and more!

You can tell @garnier.wf's 2-hour deep dive session on "Spring Boot Testing" was packed full of useful tips, because I didn't have any time to post anything during the session!

I took one pic to remind me about #SpringSecurity and csrf when doing `WebMvcTest`.

#DevoxxUK #SpringBoot #TestingIsGood

9 2 0 0