-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Hibernal password encryption
PostPosted: Wed Feb 16, 2005 3:25 pm 
Newbie

Joined: Wed Feb 16, 2005 3:16 pm
Posts: 1
Hi,

In Hibernate configuration file, we provide database user password in
<property name="hibernate.connection.password">manager</property> property.

My question is, is it possible to put this password in encrypted form. Or is ther any thing available in hibernate so that i can enter password in encrypted form.

Thanks.
Prakash


Top
 Profile  
 
 Post subject: Re: Hibernal password encryption
PostPosted: Wed Feb 16, 2005 4:10 pm 
Senior
Senior

Joined: Tue Aug 03, 2004 2:11 pm
Posts: 142
Location: Somerset
pjd1328 wrote:
Hi,

In Hibernate configuration file, we provide database user password in
<property name="hibernate.connection.password">manager</property> property.

My question is, is it possible to put this password in encrypted form. Or is ther any thing available in hibernate so that i can enter password in encrypted form.

Thanks.
Prakash


Get your connection from a JDBC DataSource instead, and let the app server handle that side of things. Websphere for instance, stores the user and password as JAAS authentication entries.

_________________
On the information super B road


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.