I found authz tag not working in my jsf page. After search for help, I
found that instead of using authz, I should use acegijsf tag, which is
already integrated into appfuse 1.9.4.  To use it, here is what I did:

In jsf page:
<html xmlns="http://www.w3.org/1999/xhtml";
      xmlns:c="http://java.sun.com/jstl/core";
      xmlns:f="http://java.sun.com/jsf/core";  
      xmlns:h="http://java.sun.com/jsf/html"; 
      xmlns:ui="http://java.sun.com/jsf/facelets";  
      xmlns:t="http://myfaces.apache.org/tomahawk";
 
xmlns:acegijsf="http://sourceforge.net/projects/jsf-comp/acegijsf";>

....
<acegijsf:authentication operation="fullName"/>

However, I got the following error:

java.lang.NullPointerException
        at
net.sf.jsfcomp.acegijsf.Authentication.encodeBegin(Authentication.java:4
6)
        at
com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSuppo
rt.java:232)
....


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to