Felipe Gaścho wrote:
> question: if I use @RolesAllowed instead of the old fashion groups and
> roles declared in web-xml and wun-web.xml files, I still have the
> "group concept" ?
>
>
RolesAllowed is not supported on Servlets. Instead there are new
ServletSecurity Annotation. :
http://www.java.net/blog/kumarjayanti/archive/2009/12/24/using-servletsecurity-annotation-javaee-6.
> or just enumerating the roles in the annotating is already a groups mapping ?
>
>
If you are using the default P2R concept then the roles declared is
already a groups mapping (same named group is mapped to same named role)
not otherwise.
regards,
kumar
> I am asking tat because I am using the old style xml files to
> configure the security of my application, and every time I edit one of
> those files I get myself thinking if I still need that ....
>
>