Weblogic 11g Connection Pool JNDI Security Issue with Hibernate
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   faisal_ishaque
Posted On:   Thursday, July 28, 2011 04:37 AM

Dears, I have following setup in application Weblogic 11g Hibernate 3 Struts 1.2. I have provide security credentials on Weblogic Connection Pool JNDI tree. Hibernate is getting Initial Context from rt.jar by default, so i have problem to over ride the same which is seems to me not good solution to over ride the rt.jar InitalContext Class. Kindly suggest the best solution in this regard Initial Context Credential Settings Hashtable initContextProperties = new Hashtable(); initContextProperties.put("java.naming.security.principal", "ejbjndiuser"); initContextProperties.put("java.naming.security.credentials", "ejbjndiuser1   More>>

Dears,
I have following setup in application

Weblogic 11g
Hibernate 3
Struts 1.2.


I have provide security credentials on Weblogic Connection Pool JNDI tree. Hibernate is getting Initial Context from rt.jar by default, so i have problem to over ride the same which is seems to me not good solution to over ride the rt.jar InitalContext Class.


Kindly suggest the best solution in this regard



Initial Context Credential Settings



Hashtable initContextProperties = new Hashtable();
initContextProperties.put("java.naming.security.principal", "ejbjndiuser");
initContextProperties.put("java.naming.security.credentials", "ejbjndiuser123");


hibernate config file


, , rtaDS

   <<Less
About | Sitemap | Contact