Commit 21dba8d1 authored by macro's avatar macro
Browse files

mall-security注释修改

parent 28dc389f
...@@ -12,7 +12,7 @@ import javax.servlet.http.HttpServletResponse; ...@@ -12,7 +12,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException; import java.io.IOException;
/** /**
* 当未登录或者token失效访问接口时,自定义返回结果 * 自定义返回结果:未登录或登录过期
* Created by macro on 2018/5/14. * Created by macro on 2018/5/14.
*/ */
public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint { public class RestAuthenticationEntryPoint implements AuthenticationEntryPoint {
......
...@@ -12,7 +12,7 @@ import javax.servlet.http.HttpServletResponse; ...@@ -12,7 +12,7 @@ import javax.servlet.http.HttpServletResponse;
import java.io.IOException; import java.io.IOException;
/** /**
* 当访问接口没有权限时,自定义返回结果 * 自定义返回结果:没有权限访问时
* Created by macro on 2018/4/26. * Created by macro on 2018/4/26.
*/ */
public class RestfulAccessDeniedHandler implements AccessDeniedHandler{ public class RestfulAccessDeniedHandler implements AccessDeniedHandler{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment