- securityContext(SecurityContext) - Static method in class org.springframework.security.test.web.servlet.request.SecurityMockMvcRequestPostProcessors
-
Establish the specified SecurityContext to be used.
- SecurityMockMvcConfigurers - Class in org.springframework.security.test.web.servlet.setup
-
Provides Security related
MockMvcConfigurer implementations.
- SecurityMockMvcConfigurers() - Constructor for class org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers
-
- SecurityMockMvcRequestBuilders - Class in org.springframework.security.test.web.servlet.request
-
Contains Spring Security related MockMvc RequestBuilders.
- SecurityMockMvcRequestBuilders.FormLoginRequestBuilder - Class in org.springframework.security.test.web.servlet.request
-
Creates a form based login request including any necessary CsrfToken.
- SecurityMockMvcRequestBuilders.LogoutRequestBuilder - Class in org.springframework.security.test.web.servlet.request
-
Creates a logout request (including any necessary CsrfToken)
- SecurityMockMvcRequestPostProcessors - Class in org.springframework.security.test.web.servlet.request
-
Contains MockMvc RequestPostProcessor implementations for Spring
Security.
- SecurityMockMvcRequestPostProcessors.CsrfRequestPostProcessor - Class in org.springframework.security.test.web.servlet.request
-
Populates a valid CsrfToken into the request.
- SecurityMockMvcRequestPostProcessors.DigestRequestPostProcessor - Class in org.springframework.security.test.web.servlet.request
-
- SecurityMockMvcRequestPostProcessors.UserRequestPostProcessor - Class in org.springframework.security.test.web.servlet.request
-
Creates a UsernamePasswordAuthenticationToken and sets the principal to be
a User and associates it to the MockHttpServletRequest.
- SecurityMockMvcResultMatchers - Class in org.springframework.security.test.web.servlet.response
-
Security related MockMvc ResultMatchers.
- SecurityMockMvcResultMatchers.AuthenticatedMatcher - Class in org.springframework.security.test.web.servlet.response
-
A MockMvc ResultMatcher that verifies a specific user is associated
to the MvcResult.
- SecurityTestExecutionListeners - Annotation Type in org.springframework.security.test.context.annotation
-
There are many times a user may want to use Spring Security's test support
(i.e.
- setContext(SecurityContext) - Static method in class org.springframework.security.test.context.TestSecurityContextHolder
-
- setCsrfTokenRepository(HttpServletRequest, CsrfTokenRepository) - Static method in class org.springframework.security.test.web.support.WebTestUtils
-
Sets the CsrfTokenRepository for the specified HttpServletRequest.
- setSecurityContextRepository(HttpServletRequest, SecurityContextRepository) - Static method in class org.springframework.security.test.web.support.WebTestUtils
-
Sets the SecurityContextRepository for the specified
HttpServletRequest.
- springSecurity() - Static method in class org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers
-
Configures the MockMvcBuilder for use with Spring Security.
- springSecurity(Filter) - Static method in class org.springframework.security.test.web.servlet.setup.SecurityMockMvcConfigurers
-
Configures the MockMvcBuilder for use with Spring Security.