The Common-Controls Tag Library

<sec:granted>

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

Body content: JSP
Tag class: GrantedTag
 

[ Syntax ]

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

</sec:granted>
 

[ Attributes ]

AttributeTypeDescriptionReq.RTExp
permissionACL Specifies the permission needed to process the tag-body.

[ Example ]

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


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

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