[jboss-user] [JBoss Seam] - Limit access to logged in users

michael.yuan@jboss.com do-not-reply at jboss.com
Tue Feb 6 22:04:59 EST 2007


Hi,

I want to limit a web page to logged in users only. But I do not want to use any roles. So, I am thinking using the following element in pages.xml:


  | <page view-id="/foo.xhtml">
  |   <restrict>#{identity.loggedIn}</restrict>
  | </page> 
  | 

Is it the correct / best way to do it? Thanks.

cheers
Michael

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

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



More information about the jboss-user mailing list