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 com.centurylink.cloud.sdk.sample.port.adapter.web.filters.InterceptCredentialsFilter.java

/**
 * @author Ilya Drabenia
 */
@Component
public class InterceptCredentialsFilter implements Filter {

From source file se.skltp.cooperation.web.rest.v1.filter.SimpleCORSFilter.java

@Component
public class SimpleCORSFilter implements Filter {

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

From source file org.unitedinternet.cosmo.acegisecurity.providers.ticket.TicketAuthenticationClearingFilter.java

/**
 * Servlet filter that detects if a ticket is associated with
 * the current context and clears the context.
 */
public class TicketAuthenticationClearingFilter implements Filter {
    private static final Log LOG = LogFactory.getLog(TicketAuthenticationClearingFilter.class);

From source file com.parleys.server.frontend.web.ipad.filters.LoginFilter.java

/**
 * This filter works around some JSF quirks and logs in and sets a cookie to remember the user.
 *
 * @author Jan-Kees van Andel
 */
public class LoginFilter implements Filter {

From source file com.mobileman.filter.SecurityCheckFilter.java

public class SecurityCheckFilter implements Filter {

    @Override
    public void destroy() {
    }

From source file com.knowbout.hibernate.OpenTransactionInViewFilter.java

/**
 * The <code>OpenTransactionInViewFilter</code> class
 * @author almilli
 */
public class OpenTransactionInViewFilter implements Filter {
    private static final Log log = LogFactory.getLog(OpenTransactionInViewFilter.class);

From source file com.boxedfolder.carrot.config.general.filter.CORSFilter.java

/**
 * Adds specific headers to every response to allow cross-origin resource sharing. Only
 * available in develop mode.
 * <p/>
 * With Spring Boot 1.3.0 this could be activated via annotation.
 *

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

/**
 * No matter what URL is requested, check to see whether the StartupStatus
 * contains errors or warnings. If it does, hijack the request to show the
 * StartupStatus display page.
 * 
 * If the status only contains warnings, this only happens once. Subsequent

From source file ro.raisercostin.web.DebuggingFilter.java

/**
 * see http://www.gulland.com/courses/JavaServerPages/jsp_objects.jsp
 */
public class DebuggingFilter implements Filter {
    /**
     * Logger for this class

From source file org.rhq.enterprise.rest.AuthFilter.java

/**
 * Authentication filter for the rest stuff
 * @author Heiko W. Rupp
 */
public class AuthFilter implements javax.servlet.Filter {