-->
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.  [ 1 post ] 
Author Message
 Post subject: Storing digests
PostPosted: Wed Sep 05, 2007 7:07 pm 
Newbie

Joined: Wed Sep 05, 2007 6:58 pm
Posts: 1
I'm fairly new to Hibernate, so hopefully this isn't an RTFM case.

I am using Hibernate annotations and I have an entity with a field which will be a password digest. I want to store said digest transparently (using annotations or configuration), but I'm not sure how to go about it. I would think this is a common case, so there must be some easy way to go about this, but I haven't found it yet.

It looks like encryptors are 2-way by default... is there any way to do a one-way encryptor? Or am I going down the wrong path altogether?

I'm using JBoss AS 4.2's Hibernate, along with Seam if that matters.

Thanks in advance,
Greg Stacey


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

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.