-
1. Re: minor seam security questions
baz Mar 1, 2007 3:23 AM (in response to ask4saif)Hello,
the security stuff has changed with Seam 1.1.6.
I would suggest to upgrade to Seam 1.2.0 or at least read the Seam 1.2.0 Documentation (it was enhanced).
After that, you can ask again if some of your questions remain unclear.
Sorry, i am not able to help you out with 1.1.5
I have never managed to get security running with 1.1.5. -
2. Re: minor seam security questions
ask4saif Mar 1, 2007 5:22 AM (in response to ask4saif)
Thanx baz for ur reply,
I am currently studying the ref manual of seam 1.2.0, but still i dont know how to define and check permissions or privileges for one component.
In my application I have multiple roles and the roles have assigned privileges(permissions). Multiple roles can be assigned to a single user.
Now I am a little confused how to check multiple roles for a single component. The component might be of the web or the EJBs or java classes.
can you help me on this. -
3. Re: minor seam security questions
baz Mar 1, 2007 6:25 AM (in response to ask4saif)These steps can help:
1. study the seamspace example
2. read the Jboss Rules doc(http://labs.jboss.com/portal/jbossrules/docs/index.html)
Make yourself clear what do you need, security for EJBs or security for the web pages.
The later is configured with the seam tags (s:hasRole etc)
The first is configured in your rules file.
For that you need to understand Jboss Rules.
Hope this helps for the beginning.