[jboss-user] [JCA/JBoss] - Re: logs to database with own credentials

vickyk do-not-reply at jboss.com
Wed Dec 19 09:48:47 EST 2007


"Marx3" wrote : I've found: PoolBySubject. Am I right it's what I want?
Yes you can configure JbossManagedConnectionPool to use PoolBySubject Or PoolByCri .
The username/password can be either be passed as parameter to getConnection(...) Or can be taken from the the subject .
For the former usage you need to configure <application-managed-security> and for the later you would need to define <security-domain> pointing to the login module to be used , look here for more details about security-domain configuration 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJCALoginModule

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114229#4114229

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4114229



More information about the jboss-user mailing list