Example usage for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage

List of usage examples for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet.handler HandlerInterceptorAdapter subclass-usage.

Usage

From source file org.ytoh.webflow.WebflowHandlerInterceptor.java

/**
 * A {@link org.springframework.web.servlet.HandlerInterceptor} implementation initializing {@link ExternalContextHolder} for Spring MVC web requests.
 * This is needed to access variables in scopes managed by webflow.
 *
 * @see WebflowArgumentResolver
 *

From source file org.springmodules.validation.bean.context.web.ValidationContextHandlerInterceptor.java

/**
 * An interceptor that sets the validation context based on configured mappings of url patterns to validation context
 * tokens. This interceptor is the Spring MVC counterpart of the {@link ValidationContextFilter}.
 *
 * @author Uri Boness
 */

From source file org.unidle.web.SegmentIoApiKeyInterceptor.java

public class SegmentIoApiKeyInterceptor extends HandlerInterceptorAdapter {

    private final String segmentIoApiKey;

    public SegmentIoApiKeyInterceptor(final String segmentIoApiKey) {
        this.segmentIoApiKey = segmentIoApiKey;

From source file org.unidle.web.BuildTimestampInterceptor.java

public class BuildTimestampInterceptor extends HandlerInterceptorAdapter {

    private final String timestamp;

    public BuildTimestampInterceptor(final String timestamp) {
        this.timestamp = timestamp;

From source file com.katsu.springframework.web.servlet.handler.interceptor.MenuHandlerInterceptor.java

/**
 * Interceptor para el MVC de Spring usado para generar el menu
 * @author katsu
 */
public class MenuHandlerInterceptor extends HandlerInterceptorAdapter {
    private static final Log logger = LogFactory.getLog(MenuHandlerInterceptor.class);

From source file org.openmrs.module.kenyaemr.EmrExternalUrlInterceptor.java

/**
 * Interceptor to catch requests to controllers outside of KenyaEMR and any add-on modules
 */
public class EmrExternalUrlInterceptor extends HandlerInterceptorAdapter {

    @Autowired

From source file org.xinta.eazycode.components.shiro.web.interceptor.CurrentUserInterceptor.java

/**
 * A Spring MVC interceptor that adds the currentUser into the request as a request attribute
 * before the JSP is rendered.  This operation is assumed to be fast because the User should be
 * cached in the Hibernate second-level cache.
 */
@Component

From source file org.focusns.web.widget.interceptor.PluginWidgetInterceptor.java

public class PluginWidgetInterceptor extends HandlerInterceptorAdapter implements ResourceLoaderAware {

    private boolean cache = true;
    private ResourceLoader resourceLoader;
    //
    private Map<String, String> pluginViewNameCache = new HashMap<String, String>();

From source file org.slc.sli.dashboard.web.interceptor.SessionCheckInterceptor.java

/**
 * Intercepts all incoming requests and ensures user is authenticated against api
 * @author svankina
 * @author rbloh
 *
 */

From source file org.unidle.web.CurrentUserInterceptor.java

public class CurrentUserInterceptor extends HandlerInterceptorAdapter {

    private final UserService userService;

    public CurrentUserInterceptor(final UserService userService) {
        this.userService = userService;