commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uma...@comcast.net
Subject Re: [Configuration]: Persisting property values securely
Date Wed, 09 May 2007 21:44:10 GMT

Thanks. Just to confirm: there is no facility by which I could specify 
my Base64 encoder as a closure (a transformer) to Configuration, so
it my plugins are executed in sequence before setValue() as follows?

   {invoke plugin 1} => {invoke plugin 2} ... =>  Finally Invoke setValue()

Thanks,

/U

 -------------- Original message ----------------------
From: Oliver Heger <oliver.heger@oliver-heger.de>
> uma_rk@comcast.net wrote:
> > Is there a way to have Commons PropertyConfiguration encrypt the specified 
> value
> > with a given scheme before it persists them? This is particularly useful for
> > persisting passwords (although you could argue that passwords should not be
> > persisted in peroperty files).
> > 
> > Do I need to extend commons configuration?
> > 
> > Thanks,
> > 
> > /U
> > 
> Configuration does not provide a means for encrypting properties. I fear 
> you have to do the encryption yourself and store the encrypted password 
> (e.g. as a Base64-encoded string) as a property.
> 
> Oliver
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message