forked from verhas/License3j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
home.html
132 lines (97 loc) · 8.77 KB
/
home.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
| Generated by Apache Maven Doxia at Sep 2, 2012
| Rendered using Apache Maven Fluido Skin 1.2.1
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>License3j - License3j Free License management for Java</title>
<link rel="stylesheet" href="./css/apache-maven-fluido.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script type="text/javascript" src="./js/apache-maven-fluido.min.js"></script>
<meta name="Date-Revision-yyyymmdd" content="20120902" />
<meta http-equiv="Content-Language" content="en" />
</head>
<body class="topBarDisabled">
<div class="container-fluid">
<div id="banner">
<div class="pull-left">
<a href="http://www.verhas.com/" id="bannerLeft">
<img src="http://www.verhas.com/images/logo.jpg" alt="License3j"/>
</a>
</div>
<div class="pull-right"> </div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li id="publishDate">Last Published: 2012-09-02</li>
<li class="divider">|</li> <li id="projectVersion">Version: 1.0.4</li>
</ul>
</div>
<div class="row-fluid">
<div id="leftColumn" class="span3">
<div class="well sidebar-nav">
<h3>Verhas & Verhas Software Craftsmen</h3>
<ul>
<li class="none">
<a href="http://www.verhas.com" class="externalLink" title="Company Home page">Company Home page</a>
</li>
</ul>
<h3>License3j Application Documentation</h3>
<ul>
<li class="none">
<strong>Home Page</strong>
</li>
<li class="none">
<a href="apidocs/index.html" title="Api Reference">Api Reference</a>
</li>
</ul>
<h3>Project Documentation</h3>
<ul>
<li class="collapsed">
<a href="project-info.html" title="Project Information">Project Information</a>
</li>
<li class="collapsed">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
</li>
</ul>
<hr class="divider" />
<div id="poweredBy">
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<div class="g-plusone" data-href="http://nexus.sonatype.org/oss-repository-hosting.html/license3j" data-size="tall" ></div>
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="poweredBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
</a>
</div>
</div>
</div>
<div id="bodyColumn" class="span9" >
<div class="section"><h2>License3j Free License management for Java<a name="License3j_Free_License_management_for_Java"></a></h2></div><div class="section"><h2>TOC<a name="TOC"></a></h2><ul><li><a href="./home.html">./home.html</a> this file</li><li><a href="./tuto.html">./tuto.html</a> how to manage keys and encode license from the command line</li><li><a href="./sample.html">./sample.html</a> how to load and check encoded license in your program</li><li><a href="./macaddr-binding.html">./macaddr-binding.html</a> how to bind license to Ethernet addresses</li></ul></div><div class="section"><h2>Introduction<a name="Introduction"></a></h2><p>License3j is a Java library that can be used to create and assert license files. This way Java programs can enforce the users to compensate their use of the software in the form of a payment. This is the usual way when closed source programs are distributed.</p><p>License management alone does not guarantee that the program will not be stolen, pirated or used in any illegal way. However license management may increase the difficulty to use the program illegal and therefore may drive users to become customers. There is another effect of license management, and that is legal. If there is sufficient license management illegal users have less probability to successfully claim their use was based on the lack or false of knowledge of license conditions.</p><p>License3j is an open source license manager that you can use free of charge for non-profit purposes. (only non-profit???) However...</p><p>what is the use of a license manager for nonprofit purposes? Nothing. And we did not want to make a software that is of no use. Therefore this license manager is free to use for profit purposes as well under the license terms covered by LGPL. (If it were GPL you could not embed it into closed source application.)</p><p>A license for license3j is a <i>properties</i> file that is signed using digital signature. For example an old groowiki license is</p><div><pre>person=Peter Verhas
edition=asp
phone=+36(30)9306805
company=vvsc
application=groowiki
release-version=1.0.0
valid-date=2009-08-30
release-date=2009-08-30
issue-date=2009-07-29</pre></div><p>You create the license file using a text editor or programmatically and encode it using license3j. When your program is used you load the license file, verify it using the Api of license3j and then get the property values and decide programmatically what features are available for your customer.</p><p>Not to reinvent the wheel we utilize the library from Bouncy Castle to perform the encryption and decryption and we use the format PGP to store the files. Therefore you have a wide range of tools readily available.</p><p>You can create and encode your licenses totally programmatically, or create the license manual and encode it using license3j or encode it using GPG. It is your choice.</p><p>To manage the key rings you have to use some PGP compatible program, like GPG. We did not develop the key management. However we provided a little <a href="./tuto.html">document</a> to help your first steps to create your licenses. This document tells you how to create your key ring files, add keys to it and how to encode a license under Windows using the bat file <tt>license3j.bat</tt> Encoding under Unix is similar using Java command line.</p></div><div class="section"><h2>Download and Installation<a name="Download_and_Installation"></a></h2><p>The License3j module can be downloaded from left side menu under the "download" section. The downloaded package (zip) will contain JAR files.</p><p>To use license3j you can include the JAR files into the classpath.</p></div><div class="section"><h2>Notes to the installation<a name="Notes_to_the_installation"></a></h2><p>The file <tt>license3j-1.0.0-SNAPSHOT.jar</tt> is probably named <tt>license3j-x.y.z.jar</tt> if you use a released version of License3j.</p></div><div class="section"><h2>Name of the game<a name="Name_of_the_game"></a></h2><p>There are many names that contain '2'. In these cases '2' stands for 'to' instead of 'two'. There are names containing '4' that stands for 'for'. For example license4j.</p><p>'3' in license3j stands for 'free' instead of 'three'. Because this is a free program.</p></div>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row span16">Copyright © 2012.
All Rights Reserved.
</div>
</div>
</footer>
</body>
</html>