web/src/main/java/org/springframework/security/web/context/AbstractSecurityWebApplicationInitializer.java
public final void onStartup(ServletContext servletContext) throws ServletException {
		beforeSpringSecurityFilterChain(servletContext);
		if (this.configurationClasses != null) {
			AnnotationConfigWebApplicationContext rootAppContext = new AnnotationConfigWebApplicationContext();
			rootAppContext.register(this.configurationClasses);
			servletContext.addListener(new ContextLoaderListener(rootAppContext));
		}
		if (enableHttpSessionEventPublisher()) {
			servletContext.addListener(
					"org.springframework.security.web.session.HttpSessionEventPublisher");
		}
		servletContext.setSessionTrackingModes(getSessionTrackingModes());
		insertSpringSecurityFilterChain(servletContext);
		afterSpringSecurityFilterChain(servletContext);
	}
public final void onStartup(ServletContext servletContext) throws ServletException {
		beforeSpringSecurityFilterChain(servletContext);
		if (this.configurationClasses != null) {
			AnnotationConfigWebApplicationContext rootAppContext = new AnnotationConfigWebApplicationContext();
			rootAppContext.register(this.configurationClasses);
			servletContext.addListener(new ContextLoaderListener(rootAppContext));
		}
		if (enableHttpSessionEventPublisher()) {
			servletContext.addListener(
					"org.springframework.security.web.session.HttpSessionEventPublisher");
		}
		servletContext.setSessionTrackingModes(getSessionTrackingModes());
		insertSpringSecurityFilterChain(servletContext);
		afterSpringSecurityFilterChain(servletContext);
	}
public final void onStartup ( ServletContext servletContext ) throws ServletException { beforeSpringSecurityFilterChain ( servletContext ) ; if ( this . configurationClasses != null ) { AnnotationConfigWebApplicationContext rootAppContext = new AnnotationConfigWebApplicationContext ( ) ; rootAppContext . register ( this . configurationClasses ) ; servletContext . addListener ( new ContextLoaderListener ( rootAppContext ) ) ; } if ( enableHttpSessionEventPublisher ( ) ) { servletContext . addListener ( "org.springframework.security.web.session.HttpSessionEventPublisher" ) ; } servletContext . setSessionTrackingModes ( getSessionTrackingModes ( ) ) ; insertSpringSecurityFilterChain ( servletContext ) ; afterSpringSecurityFilterChain ( servletContext ) ; }
/*
(non-Javadoc)

@see org.springframework.web.WebApplicationInitializer#onStartup(javax.servlet.
ServletContext)
/ * ( non - Javadoc )