@Component
public class AuthorizationInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
LOGIN_TOKEN_KEY |
static String |
LOGIN_USER_KEY |
| Constructor and Description |
|---|
AuthorizationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler) |
public static final String LOGIN_USER_KEY
public static final String LOGIN_TOKEN_KEY
public boolean preHandle(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Object handler)
throws Exception
preHandle in interface org.springframework.web.servlet.HandlerInterceptorpreHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapterExceptionCopyright © 2021. All rights reserved.