-->
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: db password changing using Hibernate (is this possible?)
PostPosted: Tue Oct 26, 2004 10:55 am 
Newbie

Joined: Tue Sep 28, 2004 4:19 am
Posts: 4
Hi,

I use hibernate in stand-alone desktop application. Application users are also database users. So I create JDBC connection string after user input one's username and password. It is very comfortable and quite secure because I don't have to store and/or encrypt passwords in database (I use database's engine of encryption and storing passwords).

There is one problem, namely: every contemporary application should provide password changing module. In my application password changing in application means password changing in database. It can be done only by adequate SQL query (every database user have rights to change one's password)? Does hibernate support such operations. My application is to be portable and should work with any database. If hibernate doesn't support such a feature I'll have to write SQL query for every existing database. And what if new version of any of these databases will be released?

My question is: how to use hibernate to write database password changing module?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 26, 2004 11:44 am 
Hibernate Team
Hibernate Team

Joined: Tue Sep 09, 2003 2:10 pm
Posts: 3246
Location: Passau, Germany
You have to do that yourself.


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.