| | |
| | | //加载证书 |
| | | public boolean loadLicense() { |
| | | if(!Cools.isEmpty(licensePath)){ |
| | | logger.info("++++++++ 开始加载许可证 ++++++++"); |
| | | // logger.info("++++++++ 开始加载许可证 ++++++++"); |
| | | if (true){ |
| | | |
| | | // logger.info("++++++++ 许可证加载结束 ++++++++"); |
| | | |
| | | return true; |
| | | } |
| | | |
| | | try { |
| | | String publicKeysStoreFileName = this.getClass().getClassLoader().getResource(publicKeysStorePath).getPath(); |
| | |
| | | //安装证书 |
| | | LicenseContent install = licenseVerify.install(param); |
| | | |
| | | logger.info("++++++++ 许可证加载结束 ++++++++"); |
| | | // logger.info("++++++++ 许可证加载结束 ++++++++"); |
| | | |
| | | return install != null; |
| | | } catch (Exception e) { |