Thinking about the type issue more, I originally was writing tests that had the
security-domain property be a Name type as that is how the code is still written.
Typically one would have the property be the dependent interface type that one would use,
but the security domain bean is not used directly by jca. There is an indirection because
jaas is used with a configuration name, and that is what really needs to be matched up
between the jca security-domain property and some security domain bean implementation. In
this case the Name type is correct in that its describing a dependency on another
component, but is too weak in terms of validating what that component provides. What one
wants to validate is that the security domain bean provides a jaas login configuration for
the indicated name. Don't know how to validate that at this point.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4070188#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...