Class EncryptingPersistenceManager

java.lang.Object
org.codice.felix.cm.file.WrappedPersistenceManager
org.codice.felix.cm.file.EncryptingPersistenceManager
All Implemented Interfaces:
AutoCloseable, org.apache.felix.cm.PersistenceManager

public class EncryptingPersistenceManager extends WrappedPersistenceManager
Special kind of WrappedPersistenceManager that performs encryption on all string values for all property dictionaries that get stored. These values are decrypted when the dictionaries are loaded.

This allows the configuration data in the bundle cache to be fully encrypted.

See FELIX-4005 invalid input: '&' FELIX-4556. This class cannot utilize Java 8 language constructs due to maven bundle plugin 2.3.7