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 de.highbyte_le.weberknecht.security.filters.AuthenticationFilter.java

/**
 * Filter to handle user authentication
 * 
 * <p>
 *    User authentication by user name and password is validated. Session properties are set accordingly.
 *    No forwarding to login-page or sth. will be done.

From source file edu.cornell.mannlib.vitro.webapp.filters.TestFilter.java

public class TestFilter implements Filter {
    private FilterConfig filterConfig = null;
    private static final Log log = LogFactory.getLog(TestFilter.class.getName());

    public void init(FilterConfig filterConfig) throws ServletException {
        this.filterConfig = filterConfig;

From source file gov.nih.nci.system.security.acegi.ui.globus.X509InitializationFilter.java

/**
 * This filter checks the X509 certificate chain in globus context and then puts it in the session under property name of
 * javax.servlet.request.X509Certificate 
 *
 * @author Luke Taylor
 * @version $Id: X509InitializationFilter.java,v 1.1 2009/01/27 15:37:49 satish79 Exp $

From source file org.andromda.timetracker.web.timecarddetails.TimecardPopulator.java

/**
 * This filter handles the population of forms for the <em>Timecard</code>
 * view.
 */
public class TimecardPopulator implements Filter {
    private FilterConfig config;

From source file de.micromata.genome.logging.web.MultipleReadRequestWrapperFilter.java

/**
 * This Filter wraps a HttpServletRequest into MultipleReadRequestWrapper
 *
 * That makes it possible to get the request body from the cache of the MultipleReadRequestWrapper
 * after it is already read
 *

From source file io.dropwizard.hystrix.path.tracker.filters.impl.PathTrackerFilter.java

/**
 * This is a filter, that will track the path of the incoming request, using a {@link TrackerCommand.VoidTracker}
 * It will be wrapping the inner operations for the uri, with a SEMAPHORE based {@link com.netflix.hystrix.HystrixCommand}
 *
 * @author tushar.naik
 * @version 1.0

From source file com.acmemotors.rest.web.CORSFilter.java

/**
 * Provide Cross Origin Request permissions for the dashboard to talk to the REST API.
 *
 * <em>Note:</em> This is not a secure approach and should not be used as openly as this
 * example.
 *

From source file org.eclipse.skalli.view.internal.filter.RestFilter.java

/**
 * This filter forwards the request to the REST API if an <tt>"Accept"</tt> header
 * with the value <tt>"text/xml"</tt> is present.
 */
public class RestFilter implements Filter {

From source file eu.paasword.filter.CORSFilter.java

/**
 *
 * @author Panagiotis Gouvas (pgouvas@ubitech.eu)
 */

@Component

From source file com.javiermoreno.springboot.rest.SimpleCORSFilter.java

@Component
public class SimpleCORSFilter implements Filter {

    @Override
    public void doFilter(ServletRequest req, ServletResponse res, FilterChain chain)
            throws IOException, ServletException {