What you are after is called in the spec reauthentication-support.
The jboss jdbc resource adapter currently does not support it, but I would be
interested
if you want to provide a patch. i.e. in getConnection() and matchManagedConnections()
it should callout to a user defined piece of java code passing the ManagedConnection,
ConnectionRequestInfo and Subject so you it can work with it.
It also requires a small tweak to the matching algorithm, since it no longer needs to
fail requests from different users if it is going to change the user. Probably
by delegating the check to you?
You would configure it your -ds.xml
reauthenticationcom.acme.Reauthenticate/reauthentication
Without this change, you need to create separate subpools for each user.
application-managed-security/
The valid connection checker only runs when a connection is being reused, not
when a connection is first created.
View the original post :
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836614#3836614
Reply to the post :
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836614
---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user