Example usage for org.springframework.web.servlet HandlerInterceptor interface-usage

List of usage examples for org.springframework.web.servlet HandlerInterceptor interface-usage

Introduction

In this page you can find the example usage for org.springframework.web.servlet HandlerInterceptor interface-usage.

Usage

From source file com.thoughtworks.go.server.web.AuthorizationInterceptor.java

@Controller
public class AuthorizationInterceptor implements HandlerInterceptor {
    private SecurityService securityService;

    @Autowired
    public AuthorizationInterceptor(SecurityService securityService) {

From source file com.thoughtworks.go.server.web.TabInterceptor.java

/**
 * Adds the tabs and currentTab to the model.
 */
public class TabInterceptor implements HandlerInterceptor {
    private List<TabConfiguration> tabs = new ArrayList<TabConfiguration>();

From source file org.hoteia.qalingo.core.web.mvc.interceptor.RefererOriginActionInterceptor.java

public class RefererOriginActionInterceptor implements HandlerInterceptor {

    private final Logger logger = LoggerFactory.getLogger(getClass());

    @Autowired
    protected GeolocService geolocService;

From source file org.dbg4j.web.spring.DebugInterceptor.java

/**
 * Spring interceptor populates model with debug data. It works only if it's enabled and debugging is allowed. May
 * contain additional {@link DebugAllowanceStrategy} to customize debugging rules (f.e. data to the model should be
 * added only for superusers)
 *
 * @author Maksym Fedoryshyn

From source file org.sakaiproject.metaobj.shared.control.CheckForTimeout.java

public class CheckForTimeout implements HandlerInterceptor {
    private AuthenticationManager authenticationManager;
    private String timeoutUrl;
    private List ignoreList;

    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)

From source file com.excilys.ebi.bank.web.interceptor.AnnotatedMethodHandlerInterceptor.java

public class AnnotatedMethodHandlerInterceptor<A extends Annotation> implements HandlerInterceptor {

    private final Class<A> annotationType;

    @Autowired
    private AnnotationScanner annotationScanner;

From source file cherry.foundation.springmvc.OperationLogHandlerInterceptor.java

import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.web.servlet.HandlerInterceptor;
import org.springframework.web.servlet.ModelAndView;

public class OperationLogHandlerInterceptor implements HandlerInterceptor, InitializingBean {

From source file uk.org.rbc1b.roms.controller.RequestLoggerInterceptor.java

/**
 * Log the requests.
 */
public class RequestLoggerInterceptor implements HandlerInterceptor {
    private static final Logger LOGGER = LoggerFactory.getLogger(RequestLoggerInterceptor.class);

From source file org.qifu.base.interceptor.QueryParamInspectInterceptor.java

public class QueryParamInspectInterceptor implements HandlerInterceptor {
    protected static Logger logger = Logger.getLogger(QueryParamInspectInterceptor.class);

    @Override
    public void afterCompletion(HttpServletRequest request, HttpServletResponse response, Object handler,
            Exception ex) throws Exception {

From source file org.squashtest.tm.web.internal.interceptor.ActiveMilestoneInterceptor.java

@WebComponent
public class ActiveMilestoneInterceptor implements HandlerInterceptor {

    private static final String MILESTONE = "milestones";

    @Inject