Fix package tangles

This commit is contained in:
Rob Winch 2013-07-16 17:08:03 -05:00
parent 5e6ca12b01
commit 59e8551279
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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()"() {