List of usage examples for javax.servlet Filter interface-usage
From source file org.apache.tapestry.RedirectFilter.java
/**
* Filter used to redirect a root context URL (i.e., "/context" or "/context/"
* to the Tapestry application servlet (typically, "/context/app"). This
* servlet is mapped to "/" and must have a <init-parameter&;gt;
* <code>redirect-path</code> that is the application servlet's path (i.e.,
* "/app"). If no value is specified, then "/app" is used. The path
From source file net.wastl.webmail.config.ContextPathValidator.java
public class ContextPathValidator implements Filter { private static Log log = LogFactory.getLog(ContextPathValidator.class); protected String contextPath = null; protected boolean validated = false;
From source file org.openmrs.module.eidinterface.web.filter.EIDAuthorizationFilter.java
/** * Filter intended for all /ws/rest calls that allows the user to authenticate via Basic * authentication. (It will not fail on invalid or missing credentials. We count on the API to throw * exceptions if an unauthenticated user tries to do something they are not allowed to do.) <br/> */ public class EIDAuthorizationFilter implements Filter {
From source file org.force66.correlate.RequestCorrelationFilter.java
/**
* Checks for correlation id in the header. If it doesn't exist,
* establishes a new correlation id.
*
* <p>Initialization parameters are as follows:</p>
* <li>correlation.id.header - header name containing the correlation id.
From source file com.paladin.mvc.URLMappingFilter.java
/**
* ???URL
*
* @author Winter Lau (http://my.oschina.net/javayou)<br>
* @modify Erhu
*/
From source file nu.yona.server.rest.LocalizationFilter.java
@Component /** * This servlet filter ensures that it looks like any request always specifies a supported locale, and it adds the * Content-Language header to the responses. The request handling is is done by wrapping every request with a wrapper that * intercepts the getLocale operation. If the locale of the request does not match a supported locale, the default locale is * returned. The Content-Language header simply added added to response headers before passing the request and response to the
From source file org.acegisecurity.captcha.CaptchaValidationProcessingFilter.java
/**
* Filter for web integration of the {@link CaptchaServiceProxy}. <br>
* It basically intercept calls containing the specific validation parameter, use the {@link CaptchaServiceProxy} to
* validate the request, and update the {@link CaptchaSecurityContext} if the request passed the validation. <br>
* This Filter should be placed after the ContextIntegration filter and before the {@link
* CaptchaChannelProcessorTemplate} filter in the filter stack in order to update the {@link CaptchaSecurityContext}
From source file org.nuxeo.io.container.filter.IoContainerWebFilter.java
/** * @author <a href="mailto:ak@nuxeo.com">Arnaud Kervern</a> * @since 7.1 */ public class IoContainerWebFilter implements Filter {
From source file org.unitedinternet.cosmo.filters.HttpOverrideFilter.java
/**
* A filter that provides the X-Http-Override-Method header. If this header is present,
* its value will be used as the HTTP method for the current request. This allows
* HTTP clients with limited HTTP method support to make requests with any method.
*
* @author travis
From source file net.maritimecloud.identityregistry.security.SimpleCorsFilter.java
@Component @Slf4j public class SimpleCorsFilter implements Filter { public SimpleCorsFilter() { log.info("SimpleCorsFilter init");