commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petar Tahchiev (JIRA)" <>
Subject [jira] [Created] (CONFIGURATION-565) Add a getEncryptedString method in the Configuration interface
Date Sat, 01 Feb 2014 21:18:08 GMT
Petar Tahchiev created CONFIGURATION-565:

             Summary: Add a getEncryptedString method in the Configuration interface
                 Key: CONFIGURATION-565
             Project: Commons Configuration
          Issue Type: New Feature
          Components: Expression engine
    Affects Versions: 2.x
            Reporter: Petar Tahchiev

Hi guys,

it would be really awesome if the {{Configuration}} could be created with a passphrase (let's
say 'mypassphrase') and then you also add a method in the interface (let's say getEncodedString('database.password'))
so we could have encoded properties in our properties files. Internally the method just needs
to delegate to jasypt's  {{StandardPBEStringEncryptor}} for instance
 StandardPBEStringEncryptor encryptor = new StandardPBEStringEncryptor();
decrypt the value and then return the decrypted value. This will allow for more secure property

This message was sent by Atlassian JIRA

View raw message