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 info.rmapproject.webapp.auth.AuthenticationInterceptor.java

/**
 * Authentication interceptor to check oauth user/password during each interaction
 */
public class AuthenticationInterceptor implements HandlerInterceptor {

    /** Session attribute for "user". */

From source file net.eusashead.hateoas.conditional.interceptor.ConditionalResponseInterceptor.java

/**
 * This {@link HandlerInterceptor} enables conditional responses
 * based on ETag, If-Match and If-None-Match headers.
 * 
 * It uses an {@link ETagService} to store the ETags
 * for a given {@link URI} between requests.

From source file org.kuali.rice.krad.web.controller.ModuleLockingHandlerInterceptor.java

/**
 * Interceptor which checks whether the module the request was made for is locked and if so forwards the
 * request to the module locked controller
 *
 * @author Kuali Rice Team (rice.collab@kuali.org)
 */

From source file com.linecorp.bot.spring.boot.interceptor.LineBotServerInterceptor.java

@Component
@Slf4j
public class LineBotServerInterceptor implements HandlerInterceptor {
    @Autowired
    private LineBotCallbackRequestParser lineBotCallbackRequestParser;

From source file es.tid.fiware.rss.controller.SessionMultiActionController.java

public class SessionMultiActionController implements HandlerInterceptor {

    private static final Logger log = LoggerFactory.getLogger(SessionMultiActionController.class);

    private OauthLoginWebSessionData session;
    @Autowired

From source file cn.sel.wetty.interceptor.AccessLogger.java

public class AccessLogger implements HandlerInterceptor {
    private static final Logger LOGGER = Logger.getAnonymousLogger();

    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler)
            throws Exception {

From source file org.terasoluna.gfw.web.token.transaction.TransactionTokenInterceptor.java

/**
 * {@code HandlerInterceptor} implementation class that introduces TransactionTokenCheck functionality for each incoming HTTP
 * Request.
 */
public class TransactionTokenInterceptor implements HandlerInterceptor {

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

public class ControllerAuthorityCheckInterceptor implements HandlerInterceptor {
    protected static Logger logger = Logger.getLogger(ControllerAuthorityCheckInterceptor.class);
    private static final String NO_AUTH_PAGE = "./pages/system/auth1.jsp";
    private static Map<String, String> excludeLogUrlMap = null;

    @SuppressWarnings("unchecked")

From source file com.yoho.core.trace.instrument.web.TraceInterceptor.java

/**
 * Filter that takes the value of the {@link Span#SPAN_ID_NAME} and
 * {@link Span#TRACE_ID_NAME} header from either request or response and uses them to
 * create a new span.
 * <p/>
 * <p/>

From source file org.kmnet.com.fw.web.token.transaction.TransactionTokenInterceptor.java

/**
 * {@code HandlerInterceptor} implementation class that introduces TransactionTokenCheck functionality for each incoming HTTP
 * Request.
 */
public class TransactionTokenInterceptor implements HandlerInterceptor {