Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » JBoss User Help »

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

scott.stark@jboss.org

2007-06-11


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
_______________________________________________
jboss-user mailing list
jboss-user@(protected)
https://lists.jboss.org/mailman/listinfo/jboss-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.