private void insertSessionRepositoryFilter ( ServletContext servletContext ) { String filterName = DEFAULT_FILTER_NAME ; DelegatingFilterProxy springSessionRepositoryFilter = new DelegatingFilterProxy ( filterName ) ; String contextAttribute = getWebApplicationContextAttribute ( ) ; if ( contextAttribute != null ) { springSessionRepositoryFilter . setContextAttribute ( contextAttribute ) ; } registerFilter ( servletContext , true , filterName , springSessionRepositoryFilter ) ; }
Registers the springSessionRepositoryFilter .