That resolver sounds interesting, also sorta bean approach is more than nice.
As I read this thread the "new" component is not going to make it. Great.
Adding components like this one looks to me "blow up" the page. Such a
map/resolver looks like a better approach.

Also Mike is right in his Facelets vs. JSP mail

+0 on map/resolver
(+0 b/c won't do the work)

-Matt

PS: My Oracle Germany college Frank has written an article about
JSF/Security. Already printed...
http://www.orablogs.com/fnimphius/archives/001790.html

On 8/16/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
On 8/16/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:
> Hmm, but we suggested to build it as a map-bean to be able to pass
> parameters. So what would be the positive aspect of using a resolver
> with regard to parameters?

If it's a resolver, you should be able to pass the parameters directly.

Ie,

security:ifAnyGranted="manager, admin" or security:ifGranted:manager
or security:ifGranted('manager').

basically, once it's a resolver, we should have total control of the format.
I think something like this is probably simplest:

security:ifGranted:manager



--
Matthias Wessendorf

further stuff:
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to