This page (revision-8) was last changed on 12-Oct-2014 04:22 by David Vittor 

This page was created on 23-Sep-2014 12:33 by unknown

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Version Date Modified Size Author Changes ... Change note
8 12-Oct-2014 04:22 2 KB David Vittor to previous
7 12-Oct-2014 04:20 2 KB David Vittor to previous | to last
6 12-Oct-2014 04:19 2 KB David Vittor to previous | to last
5 23-Sep-2014 13:18 2 KB David Vittor to previous | to last
4 23-Sep-2014 13:17 2 KB David Vittor to previous | to last
3 23-Sep-2014 12:34 799 bytes David Vittor to previous | to last
2 23-Sep-2014 12:34 798 bytes David Vittor to previous | to last
1 23-Sep-2014 12:33 799 bytes unknown to last

Difference between version and

At line 11 changed one line
|| Date | 09-Sep-2014
|| Date | 23-Sep-2014
At line 17 changed 2 lines
|| Plugin |
|| Dependencies | None
|| Filter | Core JSPWiki Filter
|| Dependencies | CryptoProvider as configured in [CryptographyFramework]
At line 21 changed one line
Configurations...
This describes how to set up Page Encryption.
At line 23 added 28 lines
%%information
One of the best ways to use this plugin is to configure __pagename.prefix__ to "password,secure", and then all information on pages starting with password/secure will be encrypted.
%%
%%error
Once you set this up you will no longer be able to read your content from the page provider! \\
You need to ensure your jspwiki-crypto.properties file configurations do not change or get lost!
%%
Create a file called __jspwiki-crypto.properties__ at a special location, and place in it the following values:
{{{
crypto.salt=<secret random string>
crypto.key=<secret random string>
crypto.prefix=<secret random string>
crypto.suffix=<secret random string>
}}}
If on linux, change the permissions for this file to:
{{{
chmod 440 jspwiki-crypto.properties
}}}
Configure your __jspwiki-custom.properties__ to add the following values:
{{{
jspwiki.cryptoProvider = org.apache.wiki.crypto.PBECryptoProvider
jspwiki.cryptoFile = /usr/local/etc/jspwiki-crypto.properties # Change the path to where your file is
}}}
Restart your JSPWiki, and every page that you save from now on will now be stored as encrypted content.
At line 29 changed one line
|| | |
|| crypto.key | The password that will do the encryption and decryption of content. __Required__ |
|| crypto.prefix | A string used to validate decryption. Minimum length is 10 characters. | A random string
|| crypto.suffix | A string used to signify encryption. Minimum length is 10 characters. | A random string
|| pagename.prefix | Only page names starting with this string will be encrypted. Comma separated case-insensitive values | A empty string - i.e. all pages
|| pagename.suffix | Only page names ending with this string will be encrypted. Comma separated case-insensitive values | A empty string - i.e. all pages