[prev in list] [next in list] [prev in thread] [next in thread]
List: taglibs-user
Subject: Re: Alternatives to <req:isUserInRole>
From: "Antonio Petrelli" <antonio.petrelli () gmail ! com>
Date: 2007-06-08 14:24:34
Message-ID: aae96ca0706080724t4ee361f9uac4cc6d792f7e796 () mail ! gmail ! com
[Download RAW message or body]
2007/6/8, Kris Schneider <kris@dotech.com>:
>
> 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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic