"[EMAIL PROTECTED]" wrote : It seems to be logical to be able to specify 
user/password per URL instead of using the same user/pwd for every url in the 
list?
  | 
  | Then, as for me, it would make sense to still configure the ha datasource 
as a collection of datasources. Not using all the elements that are usually 
used to configure a local datasource but a subset (since, e.g. jndi-name would 
be specified only for the ha one).
  | 
  | The same for XA. If I am going to specify properties per connection, I 
would collect them under a single parent element.
  | 
  | What do you think?

Unfortunatley, the JCA spec does not allow for complicated javabean construction
anonymous wrote : 
  | 
  | <!-- 
  | The element config-property-type contains the fully qualified Java
  | type of a configuration property as required by ManagedConnection-
  | Factory instance.
  | 
  | The following are the legal values of config-property-type:
  |    java.lang.Boolean, java.lang.String, java.lang.Integer,
  |    java.lang.Double, java.lang.Byte, java.lang.Short,
  |    java.lang.Long, java.lang.Float, java.lang.Character
  | 
  | Example: <config-property-type>java.lang.String</config-property-type>
  | -->
  | <!ELEMENT config-property-type (#PCDATA)>
  | 

Like I said before, perhaps a better approach is to plugin a strategy/policy
where this could be better defined?

Don't forget the user/password are only used when there is no Subject,
i.e. the admin has configured JAAS for the logins
In fact, this whole issue is very complicated and ill defined/supported in the 
spec.

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

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


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to