This content has been marked as final.
Show 2 replies
-
1. Re: NotLoggedInException and JAAS configuration
keithnaas Feb 28, 2008 3:32 PM (in response to jagin)Can you provide the stack trace for the NotLoggedInException?
Thanks
-
2. Re: NotLoggedInException and JAAS configuration
jagin Mar 1, 2008 12:17 PM (in response to jagin)Hmmmm, in the mean time i did something (i don't know what) and the exception is gone but there is still something wron with Jaas (or maybe with s:hasRole).
no i have links in the menu like this:
<s:link view="/users.xhtml" value="User" propagation="none" rendered="#{s:hasRole('admin')}"/> <s:link view="/messages.xhtml" value="Messages" propagation="none" rendered="#{identity.loggedIn}"/>
After loggout the 'User' menu is still visible ('Messages' is not). After refreshing the page the 'User' menu is gone.
If i want the menu to work properly i have to type this:
rendered="#{identity.loggedIn and s:hasRole('admin')}"