4 Replies Latest reply on Oct 14, 2007 5:59 PM by Troy Tarrrant

    #{s:hasRole} causes authenticate method to re-run

    Troy Tarrrant Newbie


      I have a simple authenticate method that runs perfectly on Page A underneath my login button and I have a pages.xml redirect to Page B after login. My authenticate method always returns true.

      Page B uses the #{s:hasRole} EL expression in a menu include using <ui:include>.to determine what menus should be displayed.

      On Page B, when evaluating the EL the authenticate method runs again, this time without passing in the password on the Identity which causes problems when I actually have proper authenticate code!

      Why is the authenticate method being re-called on Page B when Page A already did the authenticate?

      This is surely a bug!!