From 21dba8d15719cbcb9ac12326422fc58efe442fa9 Mon Sep 17 00:00:00 2001 From: macro Date: Sat, 30 Nov 2019 20:16:43 +0800 Subject: [PATCH] =?UTF-8?q?mall-security=E6=B3=A8=E9=87=8A=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/security/component/RestAuthenticationEntryPoint.java | 2 +- .../mall/security/component/RestfulAccessDeniedHandler.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mall-security/src/main/java/com/macro/mall/security/component/RestAuthenticationEntryPoint.java b/mall-security/src/main/java/com/macro/mall/security/component/RestAuthenticationEntryPoint.java index a0b370c..8c0fbd9 100644 --- a/mall-security/src/main/java/com/macro/mall/security/component/RestAuthenticationEntryPoint.java +++ b/mall-security/src/main/java/com/macro/mall/security/component/RestAuthenticationEntryPoint.java @@ -12,7 +12,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** - * 当未登录或者token失效访问接口时,自定义的返回结果 + * 自定义返回结果:未登录或登录过期 * Created by macro on 2018/5/14. */ public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint { diff --git a/mall-security/src/main/java/com/macro/mall/security/component/RestfulAccessDeniedHandler.java b/mall-security/src/main/java/com/macro/mall/security/component/RestfulAccessDeniedHandler.java index b885449..4c28a6f 100644 --- a/mall-security/src/main/java/com/macro/mall/security/component/RestfulAccessDeniedHandler.java +++ b/mall-security/src/main/java/com/macro/mall/security/component/RestfulAccessDeniedHandler.java @@ -12,7 +12,7 @@ import javax.servlet.http.HttpServletResponse; import java.io.IOException; /** - * 当访问接口没有权限时,自定义的返回结果 + * 自定义返回结果:没有权限访问时 * Created by macro on 2018/4/26. */ public class RestfulAccessDeniedHandler implements AccessDeniedHandler{