JLicense 2.7 README
Thank you for using JLicense! We hope you find it useful.
Included in this release are the following files and directories:
README.txt : This file!
license.txt : The license covering this software.
demo : This directory contains the demo source files.
src : This directory contains the source files (only for registered).
lib : This directory contains the class files.
conf : This directory contains the configuration files.
bin : This directory contains the excutable files.
About
JLicense is a Java utility library for creating and validating license keys.
It includes a simple GUI tool for creating the license file and a LicenseManager
(which should be embeded inside your Java software) for validating the license.
Requirements
-J2SE 1.3 or later
Usage
This library provides the following:
0. Use /bin/createDSAKey to create the private and public keys for the license (see inline comments).
(By doing this, you also need replace the public key in LicenseManagerImpl.java with the
one in dsakey.cfg which you have created. Skipped this step if you don't have the source
and you are just testing the demo code).
1. Use /bin/createLicense to create the license file.
Here, conf/feature.txt is need to create a license. Modify this file to fit your needs.
2. Move the license.lic generated (located in the top dir) into folder conf or any folder
that is in the classpath.
3. Use /bin/testLicense to valify the license.
The LicenseManager.java and others in the license folder should be packaged inside your software
and they are used to verify the license before your program starts.
The public key imbeded in LicenseManagerImpl.java should be the same one as that in the
dsakey.cfg.
To create a license that never expires, leave the Expiration field empty.
Packaging info:
classes in license and util should be packaged inside your software.
the tool classes are only for generating the license and should never be shipped with your software.
the client classes are for demo purpose (they are also included in the demo dir).
Additional info:
You might want see the Java API doc for detail class usage.
Change Log
2.7: 1/18/2006, Non-ISO chars are now saved in the escaped unicode format, \uxxxx.
Feature name still need to be in ISO chars.
2.6.3: 11/20/2005, fixed a problem of adding duplicate lines in the license file
if the Create button is clicked multiple times.
2.6.2: 3/16/2005, added test.jsp for JSP testing and Test.java to show how a license is created
programmatically. Removed the JCE dependencies.
2.6.1: A classpath problem was fixed when used in web applications.
A RuntimeException is thrown in case of a missing license file, instead of
shutting down the entire JVM.
2.6: Allowed to create a license that never expires.
2.5: Added feature based license validation.
2.0.1: Demo src code was added and usage instructions was improved.
没有合适的资源?快使用搜索试试~ 我知道了~
lic.zip_License java_The Number_java license_license
共71个文件
html:39个
class:15个
sh:3个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 156 浏览量
2022-09-20
19:20:43
上传
评论
收藏 97KB ZIP 举报
温馨提示
JLicense is feature based, and you can validate the license based on the features. For example, you can add features like IP address, MAC address, user number etc.
资源推荐
资源详情
资源评论
收起资源包目录
lic.zip (71个子文件)
jlicense
README.txt 3KB
bin
createLicense.sh 566B
createDSAkey.cmd 613B
testLicense.sh 467B
createDSAkey.sh 559B
testLicense.cmd 521B
createLicense.cmd 620B
conf
feature.txt 381B
dsakey.cfg 2KB
license.lic 212B
license.txt 1KB
doc
package-list 104B
deprecated-list.html 5KB
help-doc.html 8KB
allclasses-frame.html 2KB
overview-summary.html 6KB
index.html 904B
com
websina
client
package-summary.html 6KB
LicenseClient.html 10KB
package-frame.html 932B
package-tree.html 6KB
license
package-summary.html 7KB
LicenseNotFoundException.html 10KB
package-frame.html 2KB
package-tree.html 7KB
LicenseManager.html 13KB
SignatureUtil.html 10KB
LicenseManagerImpl.html 14KB
License.html 18KB
tool
package-summary.html 6KB
package-frame.html 1020B
package-tree.html 6KB
KeyManager.html 10KB
LicenseTool.html 23KB
util
ByteHex.html 10KB
package-summary.html 6KB
package-frame.html 1KB
package-tree.html 6KB
DateParser.html 14KB
security
package-summary.html 6KB
KeyUtil.html 11KB
package-frame.html 961B
package-tree.html 6KB
FileUtil.html 11KB
allclasses-noframe.html 2KB
resources
inherit.gif 57B
serialized-form.html 8KB
overview-frame.html 2KB
stylesheet.css 1KB
constant-values.html 6KB
index-all.html 25KB
packages.html 863B
overview-tree.html 8KB
lib
classes
com
websina
client
LicenseClient.class 2KB
license
LicenseManager.class 629B
LicenseNotFoundException.class 651B
SignatureUtil.class 1KB
LicenseManagerImpl.class 3KB
License.class 3KB
tool
a.class 474B
KeyManager.class 2KB
b.class 2KB
LicenseTool.class 6KB
util
FileUtil.class 2KB
DateParser.class 2KB
UnicodeEncoder.class 2KB
security
KeyUtil.class 2KB
ByteHex.class 1KB
demo
LicenseClient.java 2KB
test.jsp 187B
Test.java 859B
共 71 条
- 1
资源评论
JaniceLu
- 粉丝: 79
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功