[jboss-user] [JBoss Seam] - Re: Difference between session timeout and not logged in yet

wquraishi do-not-reply at jboss.com
Wed Oct 10 14:46:10 EDT 2007


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



More information about the jboss-user mailing list