You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by tnk <ju...@gmail.com> on 2011/05/06 09:30:38 UTC

endpoints password protection

Hello,

  is there any way to secure passwords for camel endpoints (ftp, smtp, ...)?
Currently we store passwords in properties file (text) and use it in spring
DSL like  

<bean
class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
	<property name="location"
value="file:${karaf.base}/etc/credentials.properties" />
</bean>

<endpoint id="ftp_endpoint" uri="${ftp.endpoint}"/> 

Can properties file be encrypted? 

Thanks.


--
View this message in context: http://camel.465427.n5.nabble.com/endpoints-password-protection-tp4375226p4375226.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Re: endpoints password protection

Posted by Richard Kettelerij <ri...@gmail.com>.
Yes, see http://camel.apache.org/jasypt.html

On Fri, May 6, 2011 at 9:30 AM, tnk <ju...@gmail.com> wrote:

> Hello,
>
>  is there any way to secure passwords for camel endpoints (ftp, smtp, ...)?
> Currently we store passwords in properties file (text) and use it in spring
> DSL like
>
> <bean
>
> class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
>        <property name="location"
> value="file:${karaf.base}/etc/credentials.properties" />
> </bean>
>
> <endpoint id="ftp_endpoint" uri="${ftp.endpoint}"/>
>
> Can properties file be encrypted?
>
> Thanks.
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/endpoints-password-protection-tp4375226p4375226.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>