What's wrong with using this?
<h:panelGroup rendered="#{securityBean.isManager or securityBean.isAdmin}">
//components to be secured goes here
</h:panelGroup >
Seems a lot more flexible.
On 8/16/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:
Hi,
What do you guys think about a security component like this;
<s:secure ifAnyGranted="manager, admin">
//components to be secured goes here
</s:secure>
Also have attributes like ifNotGranted, ifAnyGranted disable and etc.
Do you think this should be useful?
Regards,
Cagatay