Hello everyone,
Scott, I'm so sorry. I never even saw your contrib. Ben saw it, though, and brought it to my attention.
Anyway, the authz taglib now supports EL expressions in ifAnyGranted, ifAllGranted and ifNotGranted. This means you can use something like this:
<c:set var="requiredRoles"> <c:if test="${...}">ROLE_SUPERVISOR</c:if>, <c:if test="${...}">ROLE_TELLER</c:if> </c:set> <authz:authorize ifAllGranted="${requiredRoles}"> ... </authz:authorize>
Notice the comma after ROLE_SUPERVISOR. This is important, because the taglib splits on commas.
I just had a few more ideas for tests to add, so you can consider this feature ALPHA at the moment. Once I have more tests in, it will be better.
This is in CVS, as of July 22nd, 9 PM EDT.
Bye ! François
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ Acegisecurity-developer mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer