Package org.springframework.security.test.web.servlet.request
package org.springframework.security.test.web.servlet.request
-
ClassDescriptionContains Spring Security related
MockMvc
RequestBuilder
s.Creates a form based login request including any necessaryCsrfToken
.Creates a logout request (including any necessaryCsrfToken
)ContainsMockMvc
RequestPostProcessor
implementations for Spring Security.Populates a validCsrfToken
into the request.Creates aUsernamePasswordAuthenticationToken
and sets the principal to be aUser
and associates it to theMockHttpServletRequest
.