File tree Expand file tree Collapse file tree 7 files changed +8
-8
lines changed
config/src/test/java/org/springframework/security/config
web/src/test/java/org/springframework/security/web/servlet Expand file tree Collapse file tree 7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 3131import org .springframework .core .ResolvableType ;
3232import org .springframework .http .HttpMethod ;
3333import org .springframework .mock .web .MockHttpServletRequest ;
34- import org .springframework .security .config .MockServletContext ;
3534import org .springframework .security .config .ObjectPostProcessor ;
36- import org .springframework .security .config .TestMockHttpServletMappings ;
3735import org .springframework .security .config .annotation .web .AbstractRequestMatcherRegistry .DispatcherServletDelegatingRequestMatcher ;
3836import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
3937import org .springframework .security .config .test .SpringTestContext ;
38+ import org .springframework .security .web .servlet .MockServletContext ;
39+ import org .springframework .security .web .servlet .TestMockHttpServletMappings ;
4040import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
4141import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
4242import org .springframework .security .web .util .matcher .DispatcherTypeRequestMatcher ;
Original file line number Diff line number Diff line change 3131import org .springframework .security .access .hierarchicalroles .RoleHierarchy ;
3232import org .springframework .security .access .hierarchicalroles .RoleHierarchyImpl ;
3333import org .springframework .security .authentication .UsernamePasswordAuthenticationToken ;
34- import org .springframework .security .config .MockServletContext ;
3534import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
3635import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
3736import org .springframework .security .core .authority .AuthorityUtils ;
4241import org .springframework .security .web .FilterChainProxy ;
4342import org .springframework .security .web .SecurityFilterChain ;
4443import org .springframework .security .web .context .HttpSessionSecurityContextRepository ;
44+ import org .springframework .security .web .servlet .MockServletContext ;
4545import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
4646import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
4747import org .springframework .web .bind .annotation .RequestMapping ;
Original file line number Diff line number Diff line change 3232import org .springframework .mock .web .MockFilterChain ;
3333import org .springframework .mock .web .MockHttpServletRequest ;
3434import org .springframework .mock .web .MockHttpServletResponse ;
35- import org .springframework .security .config .MockServletContext ;
3635import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
3736import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
3837import org .springframework .security .core .userdetails .User ;
4241import org .springframework .security .web .DefaultSecurityFilterChain ;
4342import org .springframework .security .web .FilterChainProxy ;
4443import org .springframework .security .web .SecurityFilterChain ;
44+ import org .springframework .security .web .servlet .MockServletContext ;
4545import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
4646import org .springframework .security .web .util .matcher .RequestMatcher ;
4747import org .springframework .test .util .ReflectionTestUtils ;
Original file line number Diff line number Diff line change 3131import org .springframework .mock .web .MockHttpServletRequest ;
3232import org .springframework .mock .web .MockHttpServletResponse ;
3333import org .springframework .security .config .Customizer ;
34- import org .springframework .security .config .MockServletContext ;
3534import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
3635import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
3736import org .springframework .security .core .userdetails .PasswordEncodedUser ;
4140import org .springframework .security .provisioning .InMemoryUserDetailsManager ;
4241import org .springframework .security .web .FilterChainProxy ;
4342import org .springframework .security .web .SecurityFilterChain ;
43+ import org .springframework .security .web .servlet .MockServletContext ;
4444import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
4545import org .springframework .web .bind .annotation .RequestMapping ;
4646import org .springframework .web .bind .annotation .RestController ;
Original file line number Diff line number Diff line change 2929import org .springframework .beans .factory .annotation .AutowiredAnnotationBeanPostProcessor ;
3030import org .springframework .mock .web .MockServletConfig ;
3131import org .springframework .security .config .BeanIds ;
32- import org .springframework .security .config .MockServletContext ;
3332import org .springframework .security .config .util .InMemoryXmlWebApplicationContext ;
33+ import org .springframework .security .web .servlet .MockServletContext ;
3434import org .springframework .test .context .web .GenericXmlWebContextLoader ;
3535import org .springframework .test .web .servlet .MockMvc ;
3636import org .springframework .test .web .servlet .request .RequestPostProcessor ;
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package org .springframework .security .config ;
17+ package org .springframework .security .web . servlet ;
1818
1919import java .util .Arrays ;
2020import java .util .Collection ;
Original file line number Diff line number Diff line change 1414 * limitations under the License.
1515 */
1616
17- package org .springframework .security .config ;
17+ package org .springframework .security .web . servlet ;
1818
1919import jakarta .servlet .http .HttpServletRequest ;
2020import jakarta .servlet .http .MappingMatch ;
You can’t perform that action at this time.
0 commit comments