Index: ssts-web/src/main/webapp/logon.jsp =================================================================== diff -u -r29915 -r30237 --- ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 29915) +++ ssts-web/src/main/webapp/logon.jsp (.../logon.jsp) (revision 30237) @@ -1,3 +1,5 @@ +<%@page import="com.forgon.directory.model.LoginInfo"%> +<%@page import="com.forgon.tools.crypto.rsa.RSAEncrypt"%> <%@page import="org.apache.commons.lang.StringUtils"%> <%@ page contentType="text/html; charset=UTF-8" %> <%@ include file="/common/taglibs.jsp" %> @@ -88,7 +90,23 @@ request.setAttribute("logoPath","themes/portalPage/img/logo_dingxiangsoft.png"); } } - + +//条码的登录密码 +String barcodeLogonPassword = (String)application.getAttribute("barcodeLogonPassword"); +if(StringUtils.isBlank(barcodeLogonPassword)){ + barcodeLogonPassword = LoginInfo.barcodeLogonDefalutPassword; +} +//登录密码的rsa公钥 +String logonRSAPublicKey = (String)application.getAttribute("logonRSAPublicKey"); +if(StringUtils.isBlank(logonRSAPublicKey)){ + logonRSAPublicKey = RSAEncrypt.ENCRYPTPUBLICKEY; +} +//登录密码的rsa私钥 +String logonRSAPrivateKey = (String)application.getAttribute("logonRSAPrivateKey"); +if(StringUtils.isBlank(logonRSAPrivateKey)){ + logonRSAPrivateKey = RSAEncrypt.DECRYPTPRIVATEKEY; +} + %>
@@ -139,14 +157,14 @@