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)
|
||||
throws ServletException {
|
||||
if(enableHttpSessionEventPublisher()) {
|
||||
servletContext.addListener(HttpSessionEventPublisher.class);
|
||||
servletContext.addListener("org.springframework.security.web.session.HttpSessionEventPublisher");
|
||||
}
|
||||
insertSpringSecurityFilterChain(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 * registration.addMappingForUrlPatterns(EnumSet.of(DispatcherType.REQUEST, DispatcherType.ERROR), false, "/*");
|
||||
1 * registration.setAsyncSupported(true)
|
||||
1 * context.addListener(HttpSessionEventPublisher)
|
||||
1 * context.addListener(HttpSessionEventPublisher.class.name)
|
||||
}
|
||||
|
||||
def "custom getSecurityDispatcherTypes()"() {
|
||||
|
|
Loading…
Reference in New Issue