camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Updated] (CAMEL-8183) JasyptPropertiesParser: Support for partially encrypted properties, custom encryptor
Date Wed, 31 Dec 2014 07:22:13 GMT


Claus Ibsen updated CAMEL-8183:
    Fix Version/s: 2.15.0

> JasyptPropertiesParser: Support for partially encrypted properties, custom encryptor
> ------------------------------------------------------------------------------------
>                 Key: CAMEL-8183
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jasypt
>            Reporter: Marius Thøring
>            Priority: Minor
>             Fix For: 2.15.0
> COMPONENT: *camel-jasypt*
> *Support for partially encrypted properties:*
> The proposed change allows for mixing encrypted and unencrypted content within a string
(property value).
> Previously the whole property had to be encrypted, example: 
> {noformat}
> Argument: ENC(123#def)
> Result: somepass
> {noformat}
> With the proposed change the following is supported:
> {noformat}
> Argument: http://somehost:port/path?pass=ENC(123#def)&token=ENC(321#fed)
> Result: http://somehost:port/path?pass=somepass&token=sometoken
> {noformat}
> An arbitrary amount of "ENC blocks" is supported, this is very helpful if you want to
encrypt parts of uri's, as in the example above.
> *Support for specifying a custom encryptor:*
> -Previously the encryptor was always instanciated within the method:
> public StandardPBEStringEncryptor getEncryptor(). 
> -A secret (password) as well as a custom encryption algorithm could be set using approperiate
setter methods.
> -I have now added a setter method for the encryptor:
> public void setEncryptor(StandardPBEStringEncryptor encryptor)
> -If an encryptor is set, the username and algorithm setter methods is ignored.
> This change is useful when an encryptor is provided through an OSGI service, and the
secret password is not known.
> The proposed changes are available on github:
> Patch:

This message was sent by Atlassian JIRA

View raw message