Package org.springframework.security.test.web.servlet.request
-
Class Summary Class Description SecurityMockMvcRequestBuilders Contains Spring Security relatedMockMvc
RequestBuilder
s.SecurityMockMvcRequestBuilders.FormLoginRequestBuilder Creates a form based login request including any necessaryCsrfToken
.SecurityMockMvcRequestBuilders.LogoutRequestBuilder Creates a logout request (including any necessaryCsrfToken
)SecurityMockMvcRequestPostProcessors ContainsMockMvc
RequestPostProcessor
implementations for Spring Security.SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor Populates a validCsrfToken
into the request.SecurityMockMvcRequestPostProcessors.DigestRequestPostProcessor SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor Creates aUsernamePasswordAuthenticationToken
and sets the principal to be aUser
and associates it to theMockHttpServletRequest
.