Java 类ch.qos.logback.classic.helpers.MDCInsertingServletFilter 实例源码

项目:oma-riista-web    文件:SecurityWebApplicationInitializer.java   
@Override
protected void beforeSpringSecurityFilterChain(final ServletContext servletContext) {
    // Be sure charsetFilters are registered before spring security, otherwise logins will fail in tomcat with non-ascii passwords
    initCharacterSetFilter(servletContext);
    insertFilters(servletContext,
            new UncaughtExceptionFilter(),
            new MDCInsertingServletFilter(),
            new UrlRewriteFilter());
}
项目:unidle-old    文件:DispatcherServletInitializer.java   
@Override
protected Filter[] getServletFilters() {
    return new Filter[]{
            new MDCInsertingServletFilter(),
            new HiddenHttpMethodFilter(),
            new OpenEntityManagerInViewFilter(),
            new RequestContextFilter(),
            new SecurityContextPersistenceFilter()
    };
}