();
+ params.put("ticket", ticket);
+ String service = ctxx + "/casLogonSSO.jsp";
+ params.put("service", service);
+ String result = CssdUtils.postRequest(ticketUrl, params, "utf-8");
+ userName = CssdUtils.getXmlContentByTagName(result, "cas:user");
+ if(StringUtils.isBlank(userName)){
+ String xmlContent = CssdUtils.getXmlContentByTagName(result, "cas:authenticationFailure");
+ message.add("登录失败");
+ }
+}
+
+if(StringUtils.isNotBlank(userName)){
+ User user=userManager.getFirst("name", userName);
+ if(user==null){
+ message.add("用户:"+userName+"不存在");
+ }else{
+ pageContext.setAttribute("barcode", user.getBarcode());
+ }
+}
+
+pageContext.setAttribute("message", message);
+
+String companyName = CssdUtils.getSystemSetConfigByName("companyName");
+String companyNameStr = "";
+if(companyName == null || companyName.equals("forgon")){
+ companyNameStr = "©2021 广州孚峻信息技术有限公司 版权所有";
+}else if(companyName.equals("dingxiang")){
+ companyNameStr = "©2021 广州丁香软件有限公司 版权所有";
+}
+session.setAttribute("companyName", companyNameStr);
+String project = CssdUtils.getConfigProperty("project");
+session.setAttribute("profile", project);
+
+String imgPath = "disinfectsystem/config/" + project + "/img/logo_" + project +".png";
+File file = new File(application.getRealPath("/") + imgPath);
+if(file.exists()){
+ request.setAttribute("logoPath",imgPath);
+}else{
+ if(companyName == null || companyName.equals("forgon")){
+ request.setAttribute("logoPath","themes/portalPage/img/logo_Forgon.png");
+ }else if(companyName.equals("dingxiang")){
+ request.setAttribute("logoPath","themes/portalPage/img/logo_dingxiangsoft.png");
+ }
+}
+
+%>
+
+
+
+
+
+
+
+
+消毒供应质量追溯管理系统
+<%-- --%>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+