Fix package tangles
This commit is contained in:
parent
5e6ca12b01
commit
59e8551279
|
@ -81,7 +81,7 @@ public abstract class AbstractSecurityWebApplicationInitializer implements WebAp
|
||||||
public final void onStartup(ServletContext servletContext)
|
public final void onStartup(ServletContext servletContext)
|
||||||
throws ServletException {
|
throws ServletException {
|
||||||
if(enableHttpSessionEventPublisher()) {
|
if(enableHttpSessionEventPublisher()) {
|
||||||
servletContext.addListener(HttpSessionEventPublisher.class);
|
servletContext.addListener("org.springframework.security.web.session.HttpSessionEventPublisher");
|
||||||
}
|
}
|
||||||
insertSpringSecurityFilterChain(servletContext);
|
insertSpringSecurityFilterChain(servletContext);
|
||||||
afterSpringSecurityFilterChain(servletContext);
|
afterSpringSecurityFilterChain(servletContext);
|
||||||
|
|
|
@ -60,7 +60,7 @@ class AbstractSecurityWebApplicationInitializerTests extends Specification {
|
||||||
1 * context.addFilter("springSecurityFilterChain", {DelegatingFilterProxy f -> f.targetBeanName == "springSecurityFilterChain" && f.contextAttribute == null}) >> registration
|
1 * context.addFilter("springSecurityFilterChain", {DelegatingFilterProxy f -> f.targetBeanName == "springSecurityFilterChain" && f.contextAttribute == null}) >> registration
|
||||||
1 * registration.addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST, DispatcherType.ERROR), false, "/*");
|
1 * registration.addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST, DispatcherType.ERROR), false, "/*");
|
||||||
1 * registration.setAsyncSupported(true)
|
1 * registration.setAsyncSupported(true)
|
||||||
1 * context.addListener(HttpSessionEventPublisher)
|
1 * context.addListener(HttpSessionEventPublisher.class.name)
|
||||||
}
|
}
|
||||||
|
|
||||||
def "custom getSecurityDispatcherTypes()"() {
|
def "custom getSecurityDispatcherTypes()"() {
|
||||||
|
|
Loading…
Reference in New Issue