[jboss-user] [JBoss Seam] - configuring seam security

damatrix do-not-reply at jboss.com
Sun Feb 4 18:19:53 EST 2007


I'm using seam 1.1.5.GA. I've written my own class to authenticate my users and created a login page as per the example in the reference manual. However i have a few problems

1. i have a main.xhtml page that i want to be accessed only after user is logged in, irrespective of their role. I've tried putting this in pages.xml

  | <page view-id="/main.xhtml">
  |         <restrict/>
  | </page>

but the page is rendered without requiring any authentication.

2. I don't know how to let seam security know what login page to use when authentication or authorization is required. I didn't see anything like it in the reference manual. Does it use the login-config in web.xml? If so what realm do i use?

Any ideas welcome. 

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

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

More information about the jboss-user mailing list