Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
loginservice
Overview
Overview
Details
Activity
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
lanmw
loginservice
Commits
4530ead9
Commit
4530ead9
authored
Aug 17, 2021
by
hzc
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同步代码
parent
151fad0e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
RESTAuthenticationSuccessHandler.java
...eymobile/proxy/conf/RESTAuthenticationSuccessHandler.java
+5
-3
No files found.
src/main/java/com/keymobile/proxy/conf/RESTAuthenticationSuccessHandler.java
View file @
4530ead9
...
@@ -35,8 +35,10 @@ public class RESTAuthenticationSuccessHandler extends SimpleUrlAuthenticationSuc
...
@@ -35,8 +35,10 @@ public class RESTAuthenticationSuccessHandler extends SimpleUrlAuthenticationSuc
//@Value("${auth-login.isgo}")
//@Value("${auth-login.isgo}")
@Value
(
"${portal.ad-auth.isgo}"
)
@Value
(
"${portal.ad-auth.isgo}"
)
private
Boolean
authAdIsgo
;
private
Boolean
authAdIsgo
;
//Ad首页
//首页
@Value
(
"${redirect-url.indicator}"
)
private
String
adUrl
;
//sso首页
@Value
(
"${redirect-url.data-platform}"
)
@Value
(
"${redirect-url.data-platform}"
)
private
String
go
;
private
String
go
;
...
@@ -81,7 +83,7 @@ public class RESTAuthenticationSuccessHandler extends SimpleUrlAuthenticationSuc
...
@@ -81,7 +83,7 @@ public class RESTAuthenticationSuccessHandler extends SimpleUrlAuthenticationSuc
}
}
if
(
BooleanUtils
.
isTrue
(
authAdIsgo
)&&
BooleanUtils
.
isTrue
(
authAdLogin
)){
if
(
BooleanUtils
.
isTrue
(
authAdIsgo
)&&
BooleanUtils
.
isTrue
(
authAdLogin
)){
System
.
out
.
println
(
"走AD跳转"
);
System
.
out
.
println
(
"走AD跳转"
);
response
.
sendRedirect
(
"/go"
);
response
.
sendRedirect
(
adUrl
);
}
}
PrintWriter
writer
=
response
.
getWriter
();
PrintWriter
writer
=
response
.
getWriter
();
writer
.
write
(
returnStatus
);
writer
.
write
(
returnStatus
);
...
...
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