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

<reauthentication>com.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=bb&op=viewtopic&p=3836614#3836614

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=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=3149&alloc_id=8166&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to