TrueLicense

JVM license管理的开源引擎实现。
由于其函数式和模块式的设计,可应用于项目及大项目。

特性

  • 无需编码生成license方案
  • 通过配置属性集实现自定义license方案
  • 可为用户配置试用期(FTP,免费试用期)
  • 对不同的功能集合授予不同的license(版本)
  • 试用JSON或XML编码客户属性到license中
  • 给用户或代理商license生成API(java api)
  • 给用户或代理商license生成CLI(命令行调用)
  • 给用户license生成GUI(Swing 图形界面)
  • 给代理商license生成REST WSL(Rest架构 web api)
  • 试用TrueLicense Maven Plugin获取字符串常量
  • 装配所有依赖到一个独立的JAR包

IP Protection 知识产权保护

License keys get digitally signed using a configurable algorithm to protect your intellectual property.
license密钥对使用可配置的算法获取数字签名来保护知识产权。

Privacy Protection 隐私保护

License keys get encrypted using a configurable algorithm to protect the privacy of your customers.

Modern Cryptography 现代加密方式

The API lets you configure all the cryptographic algorithms implemented by the security providers in the JRE.

Hacker Protection 防破解

Configuration employs a fluent API, not text files, to protect your app from simple reverse engineering.

Pervasive Obfuscation

String constants and byte code get obfuscated with the TrueLicense Maven Plugin and ProGuard.

Small Footprint

License keys get compressed using a configurable algorithm to save storage and bandwidth.

Many Options 支持免费使用期限、多版本

Supports free trial periods, subscriptions, multiple editions (feature sets), internationalization and more.

Many Interfaces 多接口

Provides an API, a CLI, a GUI, a ReST-based WSI, and JSF pages.
支持API、命令行、GUI图形界面、基于REST的web服务解开、JSF页面

Many Modules 多模块

Separate modules make it easy for you to shop for exactly the features, technologies and interfaces you need.

使用

创建项目

生成license key

$ java -jar keygen/target/*-keygen-*-standalone.jar generate license.lic -output -
{"consumerAmount":1,"consumerType":"User","holder":"CN=Unknown","issued":1565085418292,"issuer":"CN=Company Inc.","subject":"StarGazer 2020"}

安装license key

java -jar keymgr/target/*-keymgr-*-guarded.jar wizard
posted @ 2022-07-20 18:53  马洪彪  阅读(368)  评论(0编辑  收藏  举报