Commit 4530ead9 by hzc

同步代码

parent 151fad0e
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment