-->
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: Is proxy authentication between Hibernate and DB possible?
PostPosted: Tue Oct 07, 2003 10:03 pm 
Newbie

Joined: Tue Oct 07, 2003 9:55 pm
Posts: 1
My company is evaluating using Hibernate for ORM between J2EE and Oracle DBs. One of our requirements is that we have to authenticate every user in the database. In other words, just having the app server log in under general username/identity is not enough. We have to use proxy authentication or the CLIENT_IDENTIFIER application-context parameter methods of authenticating. Is this possible when using Toplink for ORM?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 07, 2003 10:49 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 3:00 pm
Posts: 1816
Location: Austin, TX
It is possible for TopLink to do this.

But this is a Hibernate forum ;)

You can do this in Hibernate as well using the "user supplied connection" approach. Have a look at the SessionFactory.openSession() method which take a connection parameter. Check out http://www.hibernate.org/hib_docs/reference/html/session-configuration.html#session-configuration-s3 for more information.


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.