Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
21dba8d1
Commit
21dba8d1
authored
Nov 30, 2019
by
macro
Browse files
mall-security注释修改
parent
28dc389f
Changes
2
Hide whitespace changes
Inline
Side-by-side
mall-security/src/main/java/com/macro/mall/security/component/RestAuthenticationEntryPoint.java
View file @
21dba8d1
...
...
@@ -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
{
...
...
mall-security/src/main/java/com/macro/mall/security/component/RestfulAccessDeniedHandler.java
View file @
21dba8d1
...
...
@@ -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
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment