List of usage examples for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage
From source file org.kmnet.com.fw.web.codelist.CodeListInterceptor.java
/**
* Interceptor class for setting codelist in attribute of {@link HttpServletRequest}
* <p>
* Default behavior is to set all the implementation beans of {@code CodeList} in the attribute of {@link HttpServletRequest}<br>
* In order to narrow down the target beans, pass the pattern (regular expression) corresponding to codelist ID of target beans
* <br>
From source file com.kodgemisi.common.thymeleaf.ThymeleafLayoutInterceptor.java
public class ThymeleafLayoutInterceptor extends HandlerInterceptorAdapter { private static final String DEFAULT_LAYOUT = "layouts/default"; private static final String DEFAULT_VIEW_ATTRIBUTE_NAME = "view"; private String defaultLayout = DEFAULT_LAYOUT;
From source file org.guanxi.sp.engine.security.shibboleth.IdPVerifier.java
/** * Security interceptor that verifies whether the Engine will trust the IdentityProvider * that is sending an AuthenticationStatement to the Engine. * The interceptor will use the metadata registered with the Engine to make this decision. */ public class IdPVerifier extends HandlerInterceptorAdapter implements ServletContextAware {
From source file org.springframework.metrics.instrument.web.MetricsHandlerInterceptor.java
/** * Intercepts incoming HTTP requests and records metrics about execution time and results. * * @author Jon Schneider */ public class MetricsHandlerInterceptor extends HandlerInterceptorAdapter {
From source file com.castlemock.war.config.SecurityInterceptor.java
/**
* The Security Interceptor provides the functionality to check all the incoming request and verify that the logged
* in users information is still valid. If not, then the user should be logged out from the system. The biggest reason
* for why a user would suddenly be invalid is because the user's username has changed.
* @author Karl Dahlgren
* @since 1.0
From source file com.kolich.spring.interceptors.RequestPathInterceptor.java
public final class RequestPathInterceptor extends HandlerInterceptorAdapter implements InitializingBean { private static final Logger logger__ = LoggerFactory.getLogger(RequestPathInterceptor.class); private List<String> requestMappings_ = new ArrayList<String>(); private List<PathMapping> mappings_ = new ArrayList<PathMapping>();
From source file org.guanxi.idp.service.AuthHandler.java
/** * @author Alistair Young alistair@codebrane.com * @author Marcin Mielnicki mielniczu@o2.pl - bug fixing */ public class AuthHandler extends HandlerInterceptorAdapter implements ServletContextAware { /** The name of the request attribute that the form action will be stored under */
From source file org.alfresco.wcm.client.interceptor.ApplicationDataInterceptor.java
/** * Load application-wide data into the Surf RequestContext and Spring model. * * @author Chris Lack */ public class ApplicationDataInterceptor extends HandlerInterceptorAdapter {
From source file org.squashtest.tm.web.internal.interceptor.SecurityExpressionResolverExposerInterceptor.java
/**
* Exposes a security expression evaluator into the model and view under the "sec" name. Inspired by
* http://forum.thymeleaf.org/Thymeleaf-and-Spring-Security-td3205099.html
*
* @author Gregory Fouquet
* @author http://forum.thymeleaf.org/Thymeleaf-and-Spring-Security-td3205099.html
From source file io.seldon.api.interceptor.GenericScopedInterceptor.java
/*
* Seldon -- open source prediction engine
* =======================================
*
* Copyright 2011-2015 Seldon Technologies Ltd and Rummble Ltd (http://www.seldon.io/)