Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-authcenter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李良停
sh-authcenter
Commits
fcb9c5a7
Commit
fcb9c5a7
authored
Jan 18, 2021
by
李良停
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
llt
parent
4009bb85
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
5 deletions
+1
-5
AuthController.java
...hineseall/authcenter/agent/controller/AuthController.java
+1
-1
EncodeUtil.java
...ava/com/chineseall/authcenter/agent/utils/EncodeUtil.java
+0
-4
No files found.
sh-authcenter-agent/src/main/java/com/chineseall/authcenter/agent/controller/AuthController.java
View file @
fcb9c5a7
...
...
@@ -103,7 +103,7 @@ public class AuthController {
params
.
put
(
"redirect_uri"
,
returnUrl
);
params
.
put
(
"auth_log_id"
,
authLog
.
getId
());
params
.
put
(
"client_id"
,
clientId
);
response
.
sendRedirect
(
appendUrl
(
"/auth/i
dp
"
,
params
));
response
.
sendRedirect
(
appendUrl
(
"/auth/i
ndex
"
,
params
));
return
null
;
}
catch
(
Exception
e
)
{
e
.
printStackTrace
();
...
...
sh-authcenter-agent/src/main/java/com/chineseall/authcenter/agent/utils/EncodeUtil.java
View file @
fcb9c5a7
...
...
@@ -298,10 +298,6 @@ public class EncodeUtil {
return
DigestUtils
.
md5Hex
(
content
);
}
public
static
void
main
(
String
[]
args
)
{
System
.
out
.
println
(
md5
(
"jsydClentId$$jsydClientSecret"
));
System
.
out
.
println
(
RandomUtils
.
randomString
(
12
));
}
public
static
String
sha
(
String
content
)
{
return
DigestUtils
.
shaHex
(
content
);
...
...
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