SecurityMockMvcRequestPostProcessors

To use Spring Security’s RequestPostProcessor implementations, use the following static import:

  • Java

  • Kotlin

import static org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*;
import org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors.*