Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fill-system
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
廖旭伟
fill-system
Commits
0f40c1c3
Commit
0f40c1c3
authored
Nov 02, 2022
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
删除过滤器
parent
3ce8ee7a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
fill-manager/src/main/java/com/mortals/xhx/base/framework/filter/RequestFilter.java
.../com/mortals/xhx/base/framework/filter/RequestFilter.java
+1
-1
fill-manager/src/main/java/com/mortals/xhx/base/framework/security/SecurityUtils.java
...om/mortals/xhx/base/framework/security/SecurityUtils.java
+3
-3
No files found.
fill-manager/src/main/java/com/mortals/xhx/base/framework/filter/RequestFilter.java
View file @
0f40c1c3
...
...
@@ -23,7 +23,7 @@ import java.io.IOException;
* @author: zxfei
* @date: 2022/4/20 14:52
*/
@Component
//
@Component
@Slf4j
public
class
RequestFilter
extends
OncePerRequestFilter
implements
Filter
{
...
...
fill-manager/src/main/java/com/mortals/xhx/base/framework/security/SecurityUtils.java
View file @
0f40c1c3
package
com.mortals.xhx.base.framework.security
;
import
org.springframework.security.core.Authentication
;
import
org.
springframework.security.core.context.SecurityContextHolder
;
import
org.
apache.tomcat.util.net.openssl.ciphers.Authentication
;
import
org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder
;
/**
...
...
@@ -16,7 +16,7 @@ public class SecurityUtils {
* 获取Authentication
*/
public
static
Authentication
getAuthentication
()
{
return
SecurityContextHolder
.
getContext
().
getAuthentication
()
;
return
null
;
}
/**
...
...
Write
Preview
Markdown
is supported
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