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
f05b7b0a
Commit
f05b7b0a
authored
Apr 29, 2022
by
wangsong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change data
parent
023eac58
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
239 additions
and
147 deletions
+239
-147
EdenAuthcenterAgentApplication.java
...eden/authcenter/agent/EdenAuthcenterAgentApplication.java
+1
-1
ClientDataInfo.java
...ineseall/eden/authcenter/agent/client/ClientDataInfo.java
+1
-1
AuthController.java
...eall/eden/authcenter/agent/controller/AuthController.java
+235
-143
UcenterController.java
...l/eden/authcenter/agent/controller/UcenterController.java
+2
-2
No files found.
eden-authcenter-agent/src/main/java/com/chineseall/eden/authcenter/agent/EdenAuthcenterAgentApplication.java
View file @
f05b7b0a
...
@@ -7,7 +7,7 @@ import org.springframework.boot.web.support.SpringBootServletInitializer;
...
@@ -7,7 +7,7 @@ import org.springframework.boot.web.support.SpringBootServletInitializer;
import
org.springframework.context.annotation.ComponentScan
;
import
org.springframework.context.annotation.ComponentScan
;
@AlphaFrameworkApplication
@AlphaFrameworkApplication
@ComponentScan
(
basePackages
=
{
"com.chineseall.eden.authcenter.agent"
,
"com.chineseall.eden.authcenter.log"
})
@ComponentScan
(
basePackages
=
{
"com.chineseall.eden.authcenter.agent"
,
"com.chineseall.eden.authcenter.log"
,
"com.chineseall.eden.authcenter.config"
})
public
class
EdenAuthcenterAgentApplication
extends
SpringBootServletInitializer
{
public
class
EdenAuthcenterAgentApplication
extends
SpringBootServletInitializer
{
@Override
@Override
protected
SpringApplicationBuilder
configure
(
SpringApplicationBuilder
builder
)
{
protected
SpringApplicationBuilder
configure
(
SpringApplicationBuilder
builder
)
{
...
...
eden-authcenter-agent/src/main/java/com/chineseall/eden/authcenter/agent/client/ClientDataInfo.java
View file @
f05b7b0a
...
@@ -10,6 +10,6 @@ public class ClientDataInfo {
...
@@ -10,6 +10,6 @@ public class ClientDataInfo {
private
String
returnUrl
;
private
String
returnUrl
;
private
OauthType
oauthType
;
private
String
oauthType
;
}
}
eden-authcenter-agent/src/main/java/com/chineseall/eden/authcenter/agent/controller/AuthController.java
View file @
f05b7b0a
This diff is collapsed.
Click to expand it.
eden-authcenter-agent/src/main/java/com/chineseall/eden/authcenter/agent/controller/UcenterController.java
View file @
f05b7b0a
...
@@ -321,7 +321,7 @@ public class UcenterController {
...
@@ -321,7 +321,7 @@ public class UcenterController {
authLog
.
setLogUserInfo
(
logUserInfo
);
authLog
.
setLogUserInfo
(
logUserInfo
);
}
}
clientDataInfo
.
setAuthUserInfo
(
userInfo
);
clientDataInfo
.
setAuthUserInfo
(
userInfo
);
clientDataInfo
.
setOauthType
(
OauthType
.
valueOf
(
oauthType
)
);
clientDataInfo
.
setOauthType
(
oauthType
);
modelAndView
.
addObject
(
"clientDataInfo"
,
clientDataInfo
);
modelAndView
.
addObject
(
"clientDataInfo"
,
clientDataInfo
);
modelAndView
.
addObject
(
"successPostUrl"
,
returnUrl
);
modelAndView
.
addObject
(
"successPostUrl"
,
returnUrl
);
...
@@ -393,7 +393,7 @@ public class UcenterController {
...
@@ -393,7 +393,7 @@ public class UcenterController {
authLog
.
setLogUserInfo
(
logUserInfo
);
authLog
.
setLogUserInfo
(
logUserInfo
);
}
}
clientDataInfo
.
setAuthUserInfo
(
userInfo
);
clientDataInfo
.
setAuthUserInfo
(
userInfo
);
clientDataInfo
.
setOauthType
(
OauthType
.
valueOf
(
oauthType
)
);
clientDataInfo
.
setOauthType
(
oauthType
);
modelAndView
.
addObject
(
"clientDataInfo"
,
clientDataInfo
);
modelAndView
.
addObject
(
"clientDataInfo"
,
clientDataInfo
);
modelAndView
.
addObject
(
"successPostUrl"
,
returnUrl
);
modelAndView
.
addObject
(
"successPostUrl"
,
returnUrl
);
...
...
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