Hi,

You can use a datasource: 

example config:
http://svn.magnolia-cms.com/svn/community/projects/magnolia-community-forums/trunk/magnolia-community-forums-webapp/src/main/webapp/WEB-INF/config/jackrabbit-mysql-datasource.xml
(<param name="dataSourceName" value="MagnoliaCommunityForumsDS" /> instead of 
user/pass)

corresponding sample server.xml:
http://svn.magnolia-cms.com/svn/community/projects/magnolia-community-forums/trunk/magnolia-community-forums-webapp/server-sample.xml

This has the added advantage that you can share the same jackrabbit config for 
all your instances, while their ds will be configured to use a different db.

hth,

-g

On Nov 16, 2010, at 21:14, Anjaan84 wrote:

> 
> 
> Hello,
> 
> This might not be a question to post here, but I'm looking for suggestions
> from Magnolia Users who might have done something similar.
> 
> I am running Magnolia as it is in the tomcat bundle but instead of Derby, I
> am using MySQL as my database. I have made all the necessary config changes
> and it all works great. The only issue is, right now I have hard coded my
> username and password to MySQL DB in plain text in
> jackrabbit-bundle-mysql-search.xml file.
> 
> What are some of the ways to avoid storing my credentials in such a way?
> What encryption methods I can use to secure my password? Is this the change
> I need to make within the jackrabbit-bundle-mysql-search.xml file or this
> would be something I need to apply to my Apache Tomcat server?
> 
> Thank you and appreciate your efforts in helping out.
> 
> -- 
> View this message in context: 
> http://old.nabble.com/Database-Encryption-method-tp30232536p30232536.html
> Sent from the Magnolia - User mailing list archive at Nabble.com.
> 
> 
> 
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to