|  | @ -123,12 +123,9 @@ public class WlyyLoginEndpoint extends AbstractEndpoint {
 | 
												
													
														
															|  |             parameters.put("grant_type", "password");
 |  |             parameters.put("grant_type", "password");
 | 
												
													
														
															|  |             //解密密码
 |  |             //解密密码
 | 
												
													
														
															|  |             if (parameters.get("password") != null) {
 |  |             if (parameters.get("password") != null) {
 | 
												
													
														
															|  | //                RSAPrivateKey rsaPrivateKey = (RSAPrivateKey)httpSession.getAttribute("privateKey");
 |  | 
 | 
												
													
														
															|  | //                KeyPair keyPair = (KeyPair) httpSession.getAttribute("privateKey");
 |  | 
 | 
												
													
														
															|  | //                parameters.put("password", RSAUtils.decryptByPrivateKey(parameters.get("password"), rsaPrivateKey));
 |  | 
 | 
												
													
														
															|  | //                String password = com.yihu.jw.security.utils.RSAUtils.decryptBase64(parameters.get("password"), keyPair);
 |  | 
 | 
												
													
														
															|  | //                parameters.put("password", password);
 |  | 
 | 
												
													
														
															|  | //                parameters.put("password", RSAUtils.decryptByPrivateKey(parameters.get("password"), rsaPrivateKey));
 |  | 
 | 
												
													
														
															|  | 
 |  |                 KeyPair keyPair = (KeyPair) httpSession.getAttribute("privateKey");
 | 
												
													
														
															|  | 
 |  |                 String password = com.yihu.jw.security.utils.RSAUtils.decryptBase64(parameters.get("password"), keyPair);
 | 
												
													
														
															|  | 
 |  |                 parameters.put("password", password);
 | 
												
													
														
															|  |             } else {
 |  |             } else {
 | 
												
													
														
															|  |                 parameters.put("grant_type", "ihealthCode");
 |  |                 parameters.put("grant_type", "ihealthCode");
 | 
												
													
														
															|  |             }
 |  |             }
 |