A wise old hermit known only as Michael O'Connor <[EMAIL PROTECTED]> 
once said:

> I'm trying to get xdoclet to generate a <security-domain> tag in the
> jboss.xml (created by the <jboss> subtask of <ejbdoclet>), and to do 
> this
> the docs specify a mergepoint for the file "jboss-security.xml".

What version of XDoclet?  The current template also allows this to be 
specified with a "SecurityDomain" config parameter.

> Problem is, I can't find any documentation for this xml file (or any 
> mention
> of it on the internet outside that one doc page!).  Can anyone point me
> towards a dtd or example file?

I've never used JBoss myself, but judging by the jboss_xml.xdt template, 
it should contain the enforce-ejb-restrictions, security-domain and 
unauthenticated-principal elements; the JBoss DTD says
<!ELEMENT jboss (enforce-ejb-restrictions? , security-domain? , 
unauthenticated-principal? , enterprise-beans? , resource-managers? , 
container-configurations?)>
and our template code has
<jboss>
 <XDtMerge:merge file="jboss-security.xml">
   //stuff that's omitted if a merge file is used//
 </XDtMerge:merge>
   <enterprise-beans>
   ...

As for a DTD for the merge file, use the JBoss one - we insert the 
contents of the merge file verbatim, so the elements should follow their 
normal definitions.


Andrew.


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to