This content has been marked as final. Show 2 replies
Will this work for you:
Ensure your login.xhtml pages is at the top (root) of the web, and the pages you want to secure under /app/ or what ever you want to call it.
<page view-id="/app/*" login-required="true"> ... ... </page> <exception class="org.jboss.seam.security.NotLoggedInException"> <redirect view-id="/login.xhtml"> <message severity="warn">You must be logged in to use this feature, if you were previously logged in your session may have timed out.</message> </redirect> </exception>