Package org.apache.shiro.ee.faces.tags
Class PermissionTagHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.shiro.ee.faces.tags.SecureTagHandler
org.apache.shiro.ee.faces.tags.PermissionTagHandler
- All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler
- Direct Known Subclasses:
HasAnyPermissionTag,HasAnyRolesTag,HasPermissionTag,HasRoleTag,LacksPermissionTag,LacksRoleTag
Base TagHandler for Tags that check for permissions.
-
Field Summary
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) protected booleanprotected abstract booleanMethods inherited from class org.apache.shiro.ee.faces.tags.SecureTagHandler
getSubjectMethods inherited from class javax.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
PermissionTagHandler
public PermissionTagHandler(javax.faces.view.facelets.TagConfig config)
-
-
Method Details
-
apply
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.faces.FacesException, javax.el.ELException - Throws:
IOExceptionjavax.faces.FacesExceptionjavax.el.ELException
-
isPermitted
-
showTagBody
-