The Common-Controls Tag Library

<sec:notGranted>

Processes the content of the tag-body if the registerd Principal Objekt has not the demanded permission.

Body content: JSP
Tag class: NotGrantedTag
 

[ Syntax ]

Standard Syntax
<sec:notGranted
permission = "ACL"
>
...Body Content...

</sec:notGranted>
 

[ Attributes ]

AttributeTypeDescriptionReq.RTExp
permissionACL Specifies the permission(s) which may not be given to process the tag-body.

[ Example ]

Process the tag-body only if the user loged in is not(!) in role administrator or developer.


<%@ taglib uri="http://www.common-controls.com/cc/tags-sec" prefix="sec" %>

<sec:notGranted permission="#admin;#developer">
   This User has not the admin- or developer Role.
</sec:notGranted>