acegijsf.taglib.xml reference from
http://www.koders.com/xml/fid3FC5C48AA07739519005C0C5640CE79E11C34834.aspx
This can also be included as a custom taglib as tomahawk
<?xml version="1.0"?>
<!DOCTYPE facelet-taglib PUBLIC "-//Sun Microsystems, Inc.//DTD Facelet Taglib 1.0//EN"
"
http://java.sun.com/dtd/facelet-taglib_1_0.dtd">
<facelet-taglib>
<namespace>
http://sourceforge.net/projects/jsf-comp/acegijsf</namespace>
<tag>
<tag-name>authorize</tag-name>
<component>
<component-type>net.sf.jsfcomp.acegijsf.Authorize</component-type>
</component>
</tag>
<tag>
<tag-name>authentication</tag-name>
<component>
<component-type>net.sf.jsfcomp.acegijsf.Authentication</component-type>
</component>
</tag>
</facelet-taglib>
I found some limitations of the acegijsf tag library and mentioned them to Kenan Sevindik, one of the authors. He pointed me out that since facelets supports EL functions it should be easy to create functions for acegi support and avoid such limitations. Indeed it was, I developed some custom functions to get the username and other to apply conditional rendering of JSF components integrated into the bundled "rendered" attribute of JSF components (supported by standard, tomahawk & trinidad).
I'll be re-engineering the patch for such support.
I think it will be ideal if such functions could be included inside the androma-jsf-components library