This is a new feature part of JSPWiki 2.10.2
See also:
- https://issues.apache.org/jira/browse/JSPWIKI-205Content unavailable! (broken link)https://jspwiki-wiki.apache.org/images/out.png
- EncryptedPageFilter
The WikiEngine, now contains access to a CryptoManager which can be accessed by wikiEngine.getCryptoManager()
The CryptoManager has one function getCryptoProvider() which gets the CryptoProvider as specified by jspwiki.cryptoProvider property in jspwiki-custom.properties.
The default value for the cryptoProvider is a org.apache.wiki.crypto.BaseCryptoProvider which is an Identity provider, and does no encryption or decryption at all.
The BaseCryptoProvider can be a base class to other cryptoProviders, as it read the properties file jspwiki.cryptoFile as specified in jspwiki.properties, and places these in a property called cryptoProperties.
Another cryptoProvider implementation is the PBECryptoProvider (Password Base Encryption).
This provider expects the following cryptoProperties:
- Property - type - default
- crypto.base64 - boolean - true
- crypto.salt - String - A random string
- crypto.blocksize - int - 8
- crypto.itrcount - int - 2048
- crypto.algorithm - String - PBEWithMD5AndDES
Category.Documentation