Hi!
My seam app is called by  http://myapp:8080/
I need to require login if calling a servlet like http://myapp:8080/servlet?

I tried different syntaxes in pages.xml:

<pages login-view-id="/login.xhtml">    
  |     
  |     <page view-id="/run" login-required="true"/><!-- run is the servlet to 
protect -->
  |     <page view-id="/protected/*" login-required="true"/> <!-- this works 
for pages under /protected/ -->
  | ...
  | </pages>
  | 

/run  and /run/*  don't work.

Could you suggest me the right way to do that, please?

Thank you,
Nico

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4061745
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to