mall-security注释修改
This commit is contained in:
parent
28dc389f97
commit
21dba8d157
@ -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 {
|
||||
|
@ -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{
|
||||
|
Loading…
x
Reference in New Issue
Block a user