|
|
|
@ -1,5 +1,5 @@ |
|
|
|
/* |
|
|
|
/* |
|
|
|
* Copyright 2002-2013 the original author or authors. |
|
|
|
* Copyright 2002-2022 the original author or authors. |
|
|
|
* |
|
|
|
* |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -54,7 +54,7 @@ import static org.mockito.Mockito.verify; |
|
|
|
public class AbstractSecurityWebApplicationInitializerTests { |
|
|
|
public class AbstractSecurityWebApplicationInitializerTests { |
|
|
|
|
|
|
|
|
|
|
|
private static final EnumSet<DispatcherType> DEFAULT_DISPATCH = EnumSet.of(DispatcherType.REQUEST, |
|
|
|
private static final EnumSet<DispatcherType> DEFAULT_DISPATCH = EnumSet.of(DispatcherType.REQUEST, |
|
|
|
DispatcherType.ERROR, DispatcherType.ASYNC); |
|
|
|
DispatcherType.ERROR, DispatcherType.ASYNC, DispatcherType.FORWARD, DispatcherType.INCLUDE); |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
public void onStartupWhenDefaultContextThenRegistersSpringSecurityFilterChain() { |
|
|
|
public void onStartupWhenDefaultContextThenRegistersSpringSecurityFilterChain() { |
|
|
|
|