to restrict a page, in pages.xml:

  |     <page view-id="/report.xhtml" login-required="true" />
  | 

to redirect to login page, when attempting to access a restricted page:


  |     <exception class="org.jboss.seam.security.NotLoggedInException">
  |             <redirect view-id="/login.xhtml">
  |                     <message>Please log in first</message>
  |             </redirect>
  |     </exception>
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093674#4093674

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4093674
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to