Re: Alternatives to <req:isUserInRole>

"Antonio Petrelli" <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
2007/6/8, Kris Schneider <[email protected]>:
>
> True, but I don't think I implied that it was. You would write your own
> utility
> method that would be exposed as an EL function:
>
> public class Functions {
>   public static boolean isUserInRole(HttpServletRequest req, String role)
> {
>     return req.isUserInRole(role);
>   }
> }



OK, maybe there was a misunderstanding.
I was asking if there are any "existing" (i.e. "ready-made") alternatives to
<req:isUserInRole>.
I suppose that the short answer is "no", I have to code myself something...
Thank you anyway, you've been very kind.

Antonio
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.