|
@@ -106,9 +106,10 @@ public class AppController {
|
|
|
Map<String, String> mapParams = new HashMap<>();
|
|
|
mapParams.put("ticket", ticket);
|
|
|
mapParams.put("service", appConfig.portal_webUrl);
|
|
|
- FileInputStream streamCer = new FileInputStream(appConfig.certPath + "/lyuap.cer");
|
|
|
+ FileInputStream streamCer = new FileInputStream(appConfig.certPath + "/_.gzws.edu.cn.crt");
|
|
|
String reqData = remoteHelper.SSLGet(mapParams, validateUrl, "UTF-8", streamCer);
|
|
|
//String reqData="<cas:authenticationSuccess><cas:user>2001001www</cas:user><cas:attributes>...</cas:attributes></cas:authenticationSuccess>";
|
|
|
+ logger.info("PortalLogin,reqData:" + reqData);
|
|
|
int i = reqData.indexOf("<cas:user>");
|
|
|
int j = reqData.indexOf("</cas:user>");
|
|
|
|