Example usage for javax.servlet Filter interface-usage

List of usage examples for javax.servlet Filter interface-usage

Introduction

In this page you can find the example usage for javax.servlet Filter interface-usage.

Usage

From source file org.nuxeo.opensocial.servlet.AuthenticationFilterDelayer.java

/**
 * This class is just a wrapper to hold the initialization of the shindig
 * AuthenticationServletFilter because it cannot run without Guice and we have
 * delayed the Guice initialization.
 *
 * @see org.nuxeo.opensocial.servlet.ContextListenerDelayer

From source file com.erudika.scoold.utils.CsrfFilter.java

/**
 *
 * @author Alex Bogdanovski [alex@erudika.com]
 */
public class CsrfFilter implements Filter {

From source file org.nuxeo.ecm.platform.web.common.encoding.NuxeoEncodingFilter.java

/**
 * Filter that sets encoding to UTF-8, before any other filter tries to parse the request. Also set the X-UA-Compatible
 * meta for browsers.
 * <p>
 * See NXP-5555: the first parsing of the request is cached, so it should be done with the right encoding. See
 * NXP-12862: we must pass the X-UA-Compatible meta in the header.

From source file de.metas.ui.web.config.CORSFilter.java

@Component
public class CORSFilter implements Filter {
    private static final transient Logger logger = LogManager.getLogger(CORSFilter.class);

    public CORSFilter() {
        super();

From source file eionet.gdem.web.filters.SetCharacterEncodingFilter.java

public class SetCharacterEncodingFilter implements Filter {

    private static final Log LOGGER = LogFactory.getLog(SetCharacterEncodingFilter.class);
    /**
     * The default character encoding to set for requests that pass through this filter.
     */

From source file nl.surfnet.coin.shared.filter.LoggingFilter.java

/**
 * Filter that grabs relevant request and response data and log it using the regular logger.
 * Two logging categories are defined and used, not named after the class but 'request' and 'response'.
 * At DEBUG level, the complete request URL, including query string, is logged, together with the response's status line.
 * At TRACE level, the request headers, and the complete response body are logged as well.
 * For correlation of request/response, a unique request ID is generated per request and is logged.

From source file org.ngrinder.infra.servlet.PluggableServletFilter.java

/**
 * Proxy filter which run combined servlet plugins.
 *
 * @author JunHo Yoon
 * @since 3.0
 */

From source file net.digitalprimates.persistence.hibernate.utils.filters.HibernateSessionServletFilter.java

/**
 * Servlet Filter to open a close the Hibernate session for each request.
 * 
 * based on the servlet filter code: http://www.hibernate.org/43.html
 * 
 * @author mike nimer

From source file org.pentaho.platform.repository.hibernate.PentahoHibernateFilter.java

public class PentahoHibernateFilter implements Filter {

    private static final Log logger = LogFactory.getLog(PentahoHibernateFilter.class);

    /*
     * (non-Javadoc)

From source file org.ngrinder.security.PluggablePreAuthFilter.java

/**
 * Proxy filter which run combined preauth plugins.
 *
 * @author JunHo Yoon
 * @since 3.0
 */