Example usage for org.springframework.web.servlet.config.annotation InterceptorRegistry addInterceptor

List of usage examples for org.springframework.web.servlet.config.annotation InterceptorRegistry addInterceptor

Introduction

In this page you can find the example usage for org.springframework.web.servlet.config.annotation InterceptorRegistry addInterceptor.

Prototype

public InterceptorRegistration addInterceptor(HandlerInterceptor interceptor) 

Source Link

Document

Adds the provided HandlerInterceptor .

Usage

From source file:protocolo.config.WebAppConfig.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(new AuthenticationInterceptor());
}

From source file:com.consol.citrus.admin.WebConfig.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(getProjectSetupInterceptor());
}

From source file:com.wms.multitenant.config.AppConfig.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(multiTenancyInterceptor);
}

From source file:com.github.wnameless.spring.papertrail.PaperTrailConfig.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(new PaperTrailInterceptor(paperTrailService()));
}

From source file:com.iana.config.IANAAPIApplication.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(localeChangeInterceptor());
}

From source file:org.jsche.common.CustomizedConfigureAdapter.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(validTokenInteceptor()).addPathPatterns("/**");
    registry.addInterceptor(tokenStageInteceptor()).addPathPatterns("/**");
    registry.addInterceptor(systemLogInteceptor()).addPathPatterns("/**");
    registry.addInterceptor(loginInteceptor()).addPathPatterns("/**");
}

From source file:spring.travel.site.AppConfigurer.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(requestInfoInterceptor);
}

From source file:de.techdev.config.WebMvcConfig.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(new UserInterceptor(repo));
}

From source file:com.clearprecision.microservices.reference.jetty.BirthdayApplication.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(corrleationInterceptor()).addPathPatterns("/**");
}

From source file:cz.muni.fi.pa165.rest.layer.RootWebContext.java

@Override
public void addInterceptors(InterceptorRegistry registry) {
    registry.addInterceptor(new AllowOriginInterceptor());
}