[jboss-user] [JBoss Seam] - page.xml and restrict

beligum do-not-reply at jboss.com
Wed Feb 14 12:36:08 EST 2007


Hi all,

I'm trying to secure my application file-tree with pages.xml.
My content (to be secured) resides in /main/*, but I'd like to 'flag' some files in this tree as publicly accessible, without removing them from /main/*

Currently, this is my pages.xml :

  | <page view-id="/main/*">
  |   <restrict>#{identity.loggedIn}</restrict>
  | </page>
  | <page view-id="/main/public.xhtml">
  |   <restrict>#{!identity.loggedIn}</restrict>
  | </page>
  | 

I've tried several options for the second restrict-content (null, empty, etc), but the page is always secured.
Is there a way to override the initial wildcard (without restricting every single file)?

Bram

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

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



More information about the jboss-user mailing list