Commit 4530ead9 by hzc

同步代码

parent 151fad0e
......@@ -35,8 +35,10 @@ public class RESTAuthenticationSuccessHandler extends SimpleUrlAuthenticationSuc
//@Value("${auth-login.isgo}")
@Value("${portal.ad-auth.isgo}")
private Boolean authAdIsgo;
//首页
//Ad首页
@Value("${redirect-url.indicator}")
private String adUrl;
//sso首页
@Value("${redirect-url.data-platform}")
private String go;
......@@ -81,7 +83,7 @@ public class RESTAuthenticationSuccessHandler extends SimpleUrlAuthenticationSuc
}
if(BooleanUtils.isTrue(authAdIsgo)&&BooleanUtils.isTrue(authAdLogin)){
System.out.println("走AD跳转");
response.sendRedirect("/go");
response.sendRedirect(adUrl);
}
PrintWriter writer = response.getWriter();
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