This content has been marked as final.
Show 2 replies
-
1. Re: logs to database with own credentials
marx3 Dec 19, 2007 8:49 AM (in response to marx3)I've found: PoolBySubject. Am I right it's what I want?
-
2. Re: logs to database with own credentials
vickyk Dec 19, 2007 9:48 AM (in response to marx3)"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