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{