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 uk.ac.edukapp.shibboleth.ShiroShibbolethFilter.java

/**
 * Servlet filter that uses data from Shibboleth to authenticate a user against Shiro.
 * <ul>
 *   <li>Unauthenticated requests are redirected to a configurable Shibboleth endpoint</li>
 *   <li>Authenticated requests from users that are not found in the account store are responded with a 401 status
 *   code. (they should have been provisioned up front)</li>

From source file filter.MultipartRequestFilter.java

@WebFilter(filterName = "MultipartRequestFilter")
public class MultipartRequestFilter implements Filter {

    // Init ---------------------------------------------------------------------------------------

    private long maxFileSize;

From source file com.vmware.photon.controller.api.frontend.filter.LoggingFilter.java

/**
 * Logs every request and response and sets the request id context.
 */
public class LoggingFilter implements Filter {
    private static final Logger logger = LoggerFactory.getLogger(LoggingFilter.class);

From source file org.soasecurity.mutual.ssl.filter.MutualSSLFilter.java

/**
 * Servlet Filter implementation to exact the X509Certificate from the HTTP request.
 */
public class MutualSSLFilter implements Filter {

    private static Log log = LogFactory.getLog(MutualSSLFilter.class);

From source file com.erudika.para.utils.filters.ErrorFilter.java

/**
 * Alternative to Spring Boot's ErrorPageFilter which was causing problems
 * with other filters, because it was trying to send errors after a response was committed.
 *
 * @author Alex Bogdanovski [alex@erudika.com]
 */

From source file org.osaf.cosmo.filters.RetryFilter.java

/**
 * Filter that searches for known exception types (either caught
 * as runtime exceptions or stored in a request attribute), and 
 * retries the request a number of times before failing.  
 * 
 * The filter can be configured to watch any HTTP method (PUT,POST,DELETE, etc)

From source file org.ambraproject.web.VirtualJournalMappingFilter.java

/**
 * A Filter that maps incoming URI Requests to an appropriate virtual journal resources. If a
 * virtual journal context is set, a lookup is done to see if an override for the requested
 * resource exists for the virtual journal.  If so, the Request is wrapped with the override
 * values and passed on to the FilterChain.  If not, the Request is wrapped with default values
 * for the resource and then passed to the FilterChain.

From source file org.ambraproject.cas.filter.GetGuidReturnEmailFilter.java

/**
 * The HttpServletRequest parameter named <em>guid</em> contains the user's ID.
 * This value is used to look up the user's Email Address from the database.
 * <p/>
 * This Filter acts as a patch for displaying the user's email address on the Ambra
 *   "edit profile" pages.

From source file com.squarecash4glass.servlet.AuthFilter.java

/**
 * A filter which ensures that prevents unauthenticated users from accessing the
 * web app
 *
 * @author Jenny Murphy - http://google.com/+JennyMurphy
 */

From source file org.apache.openejb.arquillian.tests.filterenventry.PojoServletFilter.java

public class PojoServletFilter implements Filter {

    @Inject
    private Car car;

    @EJB