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
7 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 31
31
import org .springframework .core .ResolvableType ;
32
32
import org .springframework .http .HttpMethod ;
33
33
import org .springframework .mock .web .MockHttpServletRequest ;
34
- import org .springframework .security .config .MockServletContext ;
35
34
import org .springframework .security .config .ObjectPostProcessor ;
36
- import org .springframework .security .config .TestMockHttpServletMappings ;
37
35
import org .springframework .security .config .annotation .web .AbstractRequestMatcherRegistry .DispatcherServletDelegatingRequestMatcher ;
38
36
import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
39
37
import org .springframework .security .config .test .SpringTestContext ;
38
+ import org .springframework .security .web .servlet .MockServletContext ;
39
+ import org .springframework .security .web .servlet .TestMockHttpServletMappings ;
40
40
import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
41
41
import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
42
42
import org .springframework .security .web .util .matcher .DispatcherTypeRequestMatcher ;
Original file line number Diff line number Diff line change 31
31
import org .springframework .security .access .hierarchicalroles .RoleHierarchy ;
32
32
import org .springframework .security .access .hierarchicalroles .RoleHierarchyImpl ;
33
33
import org .springframework .security .authentication .UsernamePasswordAuthenticationToken ;
34
- import org .springframework .security .config .MockServletContext ;
35
34
import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
36
35
import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
37
36
import org .springframework .security .core .authority .AuthorityUtils ;
42
41
import org .springframework .security .web .FilterChainProxy ;
43
42
import org .springframework .security .web .SecurityFilterChain ;
44
43
import org .springframework .security .web .context .HttpSessionSecurityContextRepository ;
44
+ import org .springframework .security .web .servlet .MockServletContext ;
45
45
import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
46
46
import org .springframework .security .web .util .matcher .AntPathRequestMatcher ;
47
47
import org .springframework .web .bind .annotation .RequestMapping ;
Original file line number Diff line number Diff line change 32
32
import org .springframework .mock .web .MockFilterChain ;
33
33
import org .springframework .mock .web .MockHttpServletRequest ;
34
34
import org .springframework .mock .web .MockHttpServletResponse ;
35
- import org .springframework .security .config .MockServletContext ;
36
35
import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
37
36
import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
38
37
import org .springframework .security .core .userdetails .User ;
42
41
import org .springframework .security .web .DefaultSecurityFilterChain ;
43
42
import org .springframework .security .web .FilterChainProxy ;
44
43
import org .springframework .security .web .SecurityFilterChain ;
44
+ import org .springframework .security .web .servlet .MockServletContext ;
45
45
import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
46
46
import org .springframework .security .web .util .matcher .RequestMatcher ;
47
47
import org .springframework .test .util .ReflectionTestUtils ;
Original file line number Diff line number Diff line change 31
31
import org .springframework .mock .web .MockHttpServletRequest ;
32
32
import org .springframework .mock .web .MockHttpServletResponse ;
33
33
import org .springframework .security .config .Customizer ;
34
- import org .springframework .security .config .MockServletContext ;
35
34
import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
36
35
import org .springframework .security .config .annotation .web .configuration .EnableWebSecurity ;
37
36
import org .springframework .security .core .userdetails .PasswordEncodedUser ;
41
40
import org .springframework .security .provisioning .InMemoryUserDetailsManager ;
42
41
import org .springframework .security .web .FilterChainProxy ;
43
42
import org .springframework .security .web .SecurityFilterChain ;
43
+ import org .springframework .security .web .servlet .MockServletContext ;
44
44
import org .springframework .security .web .servlet .util .matcher .MvcRequestMatcher ;
45
45
import org .springframework .web .bind .annotation .RequestMapping ;
46
46
import org .springframework .web .bind .annotation .RestController ;
Original file line number Diff line number Diff line change 29
29
import org .springframework .beans .factory .annotation .AutowiredAnnotationBeanPostProcessor ;
30
30
import org .springframework .mock .web .MockServletConfig ;
31
31
import org .springframework .security .config .BeanIds ;
32
- import org .springframework .security .config .MockServletContext ;
33
32
import org .springframework .security .config .util .InMemoryXmlWebApplicationContext ;
33
+ import org .springframework .security .web .servlet .MockServletContext ;
34
34
import org .springframework .test .context .web .GenericXmlWebContextLoader ;
35
35
import org .springframework .test .web .servlet .MockMvc ;
36
36
import org .springframework .test .web .servlet .request .RequestPostProcessor ;
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .security .config ;
17
+ package org .springframework .security .web . servlet ;
18
18
19
19
import java .util .Arrays ;
20
20
import java .util .Collection ;
Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- package org .springframework .security .config ;
17
+ package org .springframework .security .web . servlet ;
18
18
19
19
import jakarta .servlet .http .HttpServletRequest ;
20
20
import jakarta .servlet .http .MappingMatch ;
You can’t perform that action at this time.
0 commit comments