-
1. Re: Encrypted password
kiuma Jul 19, 2002 6:45 AM (in response to samsonov)A friend of mine has developed some libs.
I think there is something that may interest you
there
http://www.geocities.com/alexcoppo/ -
2. Re: Encrypted password
jwkaltz Jul 19, 2002 9:15 AM (in response to samsonov)> Hi,
> how can I keep encrypted password for connection to
> database for CMP or BMP components? And then
> transmeet decrypted password to datasource of
> connection pool when applicatin deployed?
I can only partially shed some light : if you have the encrypted password, then you cannot decrypt it anymore: this is the whole point of decrypting it. (I know, this is just a clarification, not a solution to your question)
> In the simple way I keep open password in the file
> mysql-service.xml (for example). But I want keep
> encrypted password anywhere.
If you are using as connection factory the MinervaSharedLocalCMFactory (as in the book example), you can provide an own implementation for the attribute
"PrincipalMappingClass" - this way, you can read username & password from wherever you want, it doesn't have to be in the config file
(Note: this is what I did in JBoss 2.4.x, don't know the details in 3.0)