
Originally Posted by
darran2008
Thanks for reply, darran
I've already found that link. Those components really work, but in order to work with Spring Security 2.0 I needed to change import in class AcegiJsfUtils
from org.acegisecurity.* to org.springframework.security
Also I added to acegijsf.jar file
META-INF/acegijsf.taglib.xml
Code:
<?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>