Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-user
Commits
16df31d0
Commit
16df31d0
authored
3 years ago
by
Darshan M N
Browse files
Options
Download
Patches
Plain Diff
Removing the bearer prefix
parent
145d31e4
master
bulkupload
delete-user
delete-user-fix
increase_timeout
institute-district
maney-test
sessionTimeout
updateEmailContentforOTP
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/retail/config/JwtAuthenticationFilter.java
+1
-1
...va/com/tarento/retail/config/JwtAuthenticationFilter.java
with
1 addition
and
1 deletion
+1
-1
src/main/java/com/tarento/retail/config/JwtAuthenticationFilter.java
+
1
−
1
View file @
16df31d0
...
...
@@ -36,7 +36,7 @@ public class JwtAuthenticationFilter extends OncePerRequestFilter {
logger
.
info
(
"Method : "
+
req
.
getMethod
());
String
username
=
null
;
String
authToken
=
null
;
if
(
header
!=
null
&&
header
.
startsWith
(
TOKEN_PREFIX
))
{
if
(
header
!=
null
)
{
authToken
=
header
.
replace
(
TOKEN_PREFIX
,
""
);
try
{
username
=
jwtTokenUtil
.
getUsernameFromToken
(
authToken
);
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets