[jboss-dev-forums] [Design of JCA on JBoss] - Re: JcaXAResourceRecovery
adrian@jboss.org
do-not-reply at jboss.com
Thu Feb 1 09:38:10 EST 2007
"weston.price at jboss.com" wrote :
| Ok, let's take a simple scenario:
|
| JDBC based deployment using a security domain with a login config of CallerIdentityLoginModule. Just because the TxManager is deployed, doesn't mean the XAResource gets created. This comes off the underlying Connection which is only created when the pool is first used. So, what goes in the repository in this case? What do I iterate over during recovery?
|
| How about a JDBC deployment that only support application-managed security? What if this is required information and can only be done via
| getConnection(username,password)?
|
|
The cases we are talking about is where the security is already externally
configured. There is no default user name or password or it is the wrong one.
It is either application-managed-security or security domain based.
In the case where there is no default and one is required, you need to
configure it somewhere.
In the case where it is the wrong one (the normal runtime user doesn't have
authority to invoke recover()) you also need a seperate configuration.
These are the 1% use cases for completeness.
In 99% of uses cases the default user (either no user/password
or the one form the security domain) will suffice for recovery to create the connection.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4009434#4009434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4009434
More information about the jboss-dev-forums
mailing list