Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sh-ds
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-ds
Commits
ba0ebbc2
Commit
ba0ebbc2
authored
Jul 02, 2021
by
喻春霖
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed
parent
260ad323
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
9 deletions
+2
-9
AuthController.java
...eall/eden/authcenter/agent/controller/AuthController.java
+2
-8
OauthType.java
...com/chineseall/eden/authcenter/agent/oauth/OauthType.java
+0
-1
No files found.
eden-authcenter-agent/src/main/java/com/chineseall/eden/authcenter/agent/controller/AuthController.java
View file @
ba0ebbc2
...
...
@@ -129,14 +129,8 @@ public class AuthController {
for
(
OauthType
oauthType
:
oauthTypes
)
{
if
(
"idp"
.
equals
(
oauthType
.
getType
())){
try
{
String
idpAuthTypeUrl
=
generateSpLoginUrl
(
returnUrl
,
oauthType
.
getCode
(),
authLog
.
getId
());
modelAndView
.
addObject
(
oauthType
.
getCode
()+
"LoginUrl"
,
idpAuthTypeUrl
);
}
catch
(
Exception
e
){
System
.
out
.
println
(
"============"
+
oauthType
.
getCode
());
}
String
idpAuthTypeUrl
=
generateSpLoginUrl
(
returnUrl
,
oauthType
.
getCode
(),
authLog
.
getId
());
modelAndView
.
addObject
(
oauthType
.
getCode
()+
"LoginUrl"
,
idpAuthTypeUrl
);
}
}
...
...
eden-authcenter-agent/src/main/java/com/chineseall/eden/authcenter/agent/oauth/OauthType.java
View file @
ba0ebbc2
...
...
@@ -9,7 +9,6 @@ public enum OauthType {
dianjiaoguan
(
"dianjiaoguan"
,
"电教馆账号认证"
,
"oauth"
),
edenoperation
(
"edenoperation"
,
"数字教材账号认证"
,
"oauth"
),
jsyd
(
"jsyd"
,
"金山教育"
,
"idp"
),
qpjy
(
"qpjy"
,
"青浦教育"
,
"idp"
),
xhjy
(
"xhjy"
,
"徐汇教育"
,
"idp"
),
cnjy
(
"cnjy"
,
"长宁教育"
,
"idp"
),
...
...
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