[jboss-user] [JBoss Seam] - Seam securityand servlets

nico.ben do-not-reply at jboss.com
Sun Jul 8 13:02:43 EDT 2007


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



More information about the jboss-user mailing list