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.ngrinder.security.MockPluggablePreAuthFilter.java

@Profile("unit-test")
@Component("pluggablePreAuthFilter")
public class MockPluggablePreAuthFilter implements Filter {

    @Override
    public void init(FilterConfig filterConfig) throws ServletException {

From source file gov.nih.nci.protexpress.ui.filters.UserFilter.java

/**
 * filter to add the currently logged in user to the {@link UserHolder}.
 *
 * @author Scott Miller
 */
public class UserFilter implements Filter {

From source file com.omsalung.service.filter.JWTFilter.java

/**
 *
 * @author anonymous
 */
@WebFilter(filterName = "jwt-filter", urlPatterns = { "/*" })
public class JWTFilter implements Filter {

From source file com.easyshop.common.web.filter.SetCommonDataFilter.java

/**
 * @description ?
 * @author ywu@wuxicloud.com
 * 2015428 ?3:57:20
 */
public class SetCommonDataFilter implements Filter {

From source file org.openmrs.module.owa.filter.OwaFilter.java

/**
 * @author sunbiz
 */
public class OwaFilter implements Filter {

    private String openmrsPath;

From source file org.mayocat.jersey.JERSEY920WorkaroundServletFilter.java

/**
 * A filter to work around JERSEY-920
 *
 * https://java.net/jira/browse/JERSEY-920 https://github.com/mayocat/mayocat-shop/issues/118
 *
 * We need to remove this when using Jersey 2.0 (or something other than jersey).

From source file edu.cornell.mannlib.vitro.webapp.i18n.selection.LocaleSelectionFilter.java

/**
 * Check for a Locale in the ServletContext or the Session that should override
 * the Locale in the ServletRequest.
 * 
 * If there is such a Locale, wrap the ServletRequest so it behaves as if that
 * is the preferred Locale.

From source file nl.dtls.fairdatapoint.api.config.ApplicationFilter.java

/**
 * 
 * Filter to add mandatory headers to all request
 * 
 * @author Rajaram Kaliyaperumal
 * @since 2015-11-19

From source file org.swarmcom.jsynapse.controller.CorsFilter.java

@Component
public class CorsFilter implements Filter {

    public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
            throws IOException, ServletException {
        HttpServletResponse response = (HttpServletResponse) res;

From source file name.martingeisse.servlet_httpclient.sidekicks.fakecdn.FakeCdnFilter.java

/**
 * This filter implements the fake CDN web interface.
 */
public final class FakeCdnFilter implements Filter {

    /**