[jboss-user] [JBoss Seam] - Re: Forced login?

evl123 do-not-reply at jboss.com
Mon Jun 11 20:45:38 EDT 2007


you can use the wildcard but you have to specify a login page

<pages login-view-id="/login.xhtml">	

<!-- Im not 100% sure if this is needed, but my paranoia led me to do it -->
   <page view-id="/login.xhtml" login-required="false">
      Login Page
   

   <page view-id="*" login-required="true">
   



PS. Watchout for @Restrict beans on the login page - or you'll end up in a loop :D 

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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4053308



More information about the jboss-user mailing list