I can’t seem to get XDoclet to use this merge file.  My overall build
configuration is correct because my other XDoclet merge files are also in
this directory and are picked up.  So I’m thinking that I perhaps named the
merge file incorrectly.  I tried the following file names to no avail: 

web-sec-rolerefs-Faces Servlet.xml
web-sec-rolerefs-javax.faces.webapp.FacesServlet.xml

What I want to do is to add roles to the Faces Servlet:

<servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    <security-role-ref>
         <role-name>Developer</role-name>
         <role-link>Developer Link</role-link>
    </security-role-ref>
    <security-role-ref>
         <role-name>Operator</role-name>
         <role-link>Operator Link</role-link>
    </security-role-ref>

</servlet>

Here’s what I currently have in the web-sec-rolerefs-{0}.xml merge file:

<security-role-ref>
      <role-name>Developer</role-name>
      <role-link>Developer Link</role-link>
</security-role-ref>

<security-role-ref>
      <role-name>Operator</role-name>
      <role-link>Operator Link</role-link>
</security-role-ref>

And here’s my web-sec-roles.xml merge file:

<security-role>
      <role-name>Developer Link</role-name>
</security-role>

<security-role>
      <role-name>Operator Link</role-name>
</security-role>

What am I doing wrong?  Thanks!
-- 
View this message in context: 
http://www.nabble.com/XDoclet-web-sec-rolerefs-%7B0%7D.xml-merge-file-tf2744292.html#a7657097
Sent from the xdoclet-user mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to