License(证书认证)
parent
9e1f79efc0
commit
dc4851acd5
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky;
|
||||
package cn;
|
||||
|
||||
import org.springframework.boot.Banner;
|
||||
import org.springframework.boot.SpringApplication;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.common;
|
||||
package cn.common;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.context.ApplicationContext;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.config;
|
||||
package cn.config;
|
||||
|
||||
import org.apache.http.Header;
|
||||
import org.apache.http.client.HttpClient;
|
@ -1,6 +1,6 @@
|
||||
package cn.zifangsky.config;
|
||||
package cn.config;
|
||||
|
||||
import cn.zifangsky.license.LicenseCheckInterceptor;
|
||||
import cn.license.LicenseCheckInterceptor;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
|
||||
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.controller;
|
||||
package cn.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import de.schlichtherle.license.AbstractKeyStoreParam;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import com.alibaba.fastjson.JSON;
|
||||
import org.apache.logging.log4j.LogManager;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.logging.log4j.LogManager;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import de.schlichtherle.license.LicenseManager;
|
||||
import de.schlichtherle.license.LicenseParam;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import de.schlichtherle.license.*;
|
||||
import org.apache.logging.log4j.LogManager;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
/**
|
||||
* License校验类需要的参数
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.license;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.util.List;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky;
|
||||
package cn;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky;
|
||||
package cn.iocoder.yudao.server;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.common;
|
||||
package cn.iocoder.yudao.server.common;
|
||||
|
||||
import org.springframework.beans.BeansException;
|
||||
import org.springframework.context.ApplicationContext;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.config;
|
||||
package cn.iocoder.yudao.server.config;
|
||||
|
||||
import org.apache.http.Header;
|
||||
import org.apache.http.client.HttpClient;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.config;
|
||||
package cn.iocoder.yudao.server.config;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
|
@ -1,11 +1,6 @@
|
||||
package cn.zifangsky.controller;
|
||||
package cn.iocoder.yudao.server.controller;
|
||||
|
||||
import cn.zifangsky.license.LicenseCreator;
|
||||
import cn.zifangsky.license.LinuxServerInfos;
|
||||
import cn.zifangsky.license.AbstractServerInfos;
|
||||
import cn.zifangsky.license.LicenseCheckModel;
|
||||
import cn.zifangsky.license.LicenseCreatorParam;
|
||||
import cn.zifangsky.license.WindowsServerInfos;
|
||||
import cn.iocoder.yudao.server.license.*;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Value;
|
||||
import org.springframework.http.MediaType;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.iocoder.yudao.server.license;
|
||||
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
@ -1,11 +1,6 @@
|
||||
package cn.zifangsky.license;
|
||||
|
||||
import de.schlichtherle.license.LicenseContent;
|
||||
import de.schlichtherle.license.LicenseContentException;
|
||||
import de.schlichtherle.license.LicenseManager;
|
||||
import de.schlichtherle.license.LicenseNotary;
|
||||
import de.schlichtherle.license.LicenseParam;
|
||||
import de.schlichtherle.license.NoLicenseInstalledException;
|
||||
package cn.iocoder.yudao.server.license;
|
||||
|
||||
import de.schlichtherle.license.*;
|
||||
import de.schlichtherle.xml.GenericCertificate;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.apache.logging.log4j.LogManager;
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.iocoder.yudao.server.license;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.List;
|
@ -1,12 +1,6 @@
|
||||
package cn.zifangsky.license;
|
||||
|
||||
import de.schlichtherle.license.CipherParam;
|
||||
import de.schlichtherle.license.DefaultCipherParam;
|
||||
import de.schlichtherle.license.DefaultLicenseParam;
|
||||
import de.schlichtherle.license.KeyStoreParam;
|
||||
import de.schlichtherle.license.LicenseContent;
|
||||
import de.schlichtherle.license.LicenseManager;
|
||||
import de.schlichtherle.license.LicenseParam;
|
||||
package cn.iocoder.yudao.server.license;
|
||||
|
||||
import de.schlichtherle.license.*;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.iocoder.yudao.server.license;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.iocoder.yudao.server.license;
|
||||
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky.license;
|
||||
package cn.iocoder.yudao.server.license;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.util.List;
|
@ -1,2 +1,2 @@
|
||||
#License相关配置
|
||||
license.licensePath=C:/Users/zifangsky/Desktop/license_demo/license.lic
|
||||
license.licensePath=D:/license.lic
|
||||
|
@ -1,4 +1,4 @@
|
||||
package cn.zifangsky;
|
||||
package cn;
|
||||
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
Loading…
Reference in New Issue