4846 |
12 Jun 18 |
nicklas |
== Requirements == |
4846 |
12 Jun 18 |
nicklas |
2 |
|
5496 |
17 Jun 19 |
nicklas |
1. BASE 3.15 or later. |
5496 |
17 Jun 19 |
nicklas |
2. Java 11 or later. |
4846 |
12 Jun 18 |
nicklas |
5 |
|
4846 |
12 Jun 18 |
nicklas |
== Introduction == |
4846 |
12 Jun 18 |
nicklas |
7 |
|
4846 |
12 Jun 18 |
nicklas |
This package is an extension package to BASE that adds support |
4846 |
12 Jun 18 |
nicklas |
for authenticating users with one-time-passwords (OTP). |
4846 |
12 Jun 18 |
nicklas |
10 |
|
4846 |
12 Jun 18 |
nicklas |
11 |
|
4846 |
12 Jun 18 |
nicklas |
* The homepage for this extension: |
6308 |
11 Jun 21 |
nicklas |
https://baseplugins.thep.lu.se/wiki/net.sf.basedb.otp |
4846 |
12 Jun 18 |
nicklas |
14 |
|
4846 |
12 Jun 18 |
nicklas |
* More information about OTP: |
4846 |
12 Jun 18 |
nicklas |
https://en.wikipedia.org/wiki/One-time_password |
4846 |
12 Jun 18 |
nicklas |
https://freeotp.github.io/ |
4846 |
12 Jun 18 |
nicklas |
18 |
|
4846 |
12 Jun 18 |
nicklas |
== Installation == |
4846 |
12 Jun 18 |
nicklas |
20 |
|
6308 |
11 Jun 21 |
nicklas |
See https://baseplugins.thep.lu.se/wiki/net.sf.basedb.otp/install |
4846 |
12 Jun 18 |
nicklas |
22 |
|
4846 |
12 Jun 18 |
nicklas |
== Using == |
4846 |
12 Jun 18 |
nicklas |
24 |
|
6308 |
11 Jun 21 |
nicklas |
See https://baseplugins.thep.lu.se/wiki/net.sf.basedb.otp/using |
4846 |
12 Jun 18 |
nicklas |
26 |
|
4846 |
12 Jun 18 |
nicklas |
27 |
|
4846 |
12 Jun 18 |
nicklas |
== Compiling == |
4846 |
12 Jun 18 |
nicklas |
29 |
|
4846 |
12 Jun 18 |
nicklas |
To compile this package you also need: |
4846 |
12 Jun 18 |
nicklas |
31 |
|
5496 |
17 Jun 19 |
nicklas |
1. Ant 1.10 |
5496 |
17 Jun 19 |
nicklas |
2. Java 11 |
4846 |
12 Jun 18 |
nicklas |
34 |
|
4846 |
12 Jun 18 |
nicklas |
Follow these instructions: |
4846 |
12 Jun 18 |
nicklas |
36 |
|
4846 |
12 Jun 18 |
nicklas |
1. Download the source code from the subversion repository. See |
6308 |
11 Jun 21 |
nicklas |
https://baseplugins.thep.lu.se/wiki/net.sf.basedb.otp for instructions. |
4846 |
12 Jun 18 |
nicklas |
39 |
|
4846 |
12 Jun 18 |
nicklas |
2. Type `ant download-lib` to automatically download the BASE core JAR files that |
4846 |
12 Jun 18 |
nicklas |
are neeed for compilation. You can also do this manually by copying the |
4846 |
12 Jun 18 |
nicklas |
base-core-3.x.jar file from the BASE installation directory |
4846 |
12 Jun 18 |
nicklas |
(<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory. |
4846 |
12 Jun 18 |
nicklas |
44 |
|
4846 |
12 Jun 18 |
nicklas |
3. Type 'ant' to compile the code and generate the 'base-otp.jar' file |
4846 |
12 Jun 18 |
nicklas |
in the project directory. |
4846 |
12 Jun 18 |
nicklas |
47 |
|
4846 |
12 Jun 18 |
nicklas |
4. Use 'ant package' to create a downloadable tar.gz package. |
4846 |
12 Jun 18 |
nicklas |
49 |
|
4846 |
12 Jun 18 |
nicklas |
Tip: If you need different values for any of the properties defined in |
4846 |
12 Jun 18 |
nicklas |
the 'build.xml' file, create a file named 'build.properties' and set |
4846 |
12 Jun 18 |
nicklas |
the values there. |
4846 |
12 Jun 18 |
nicklas |
53 |
|