Package org.apache.shiro.ee.faces.tags
Class AuthenticationTagHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.shiro.ee.faces.tags.SecureTagHandler
org.apache.shiro.ee.faces.tags.AuthenticationTagHandler
- All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler
- Direct Known Subclasses:
AuthenticatedTag,GuestTag,RememberedTag
Base TagHandler for Tags that check for authentication.
-
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 abstract booleanprotected 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
-
AuthenticationTagHandler
public AuthenticationTagHandler(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
-
checkAuthentication
protected abstract boolean checkAuthentication() -
showTagBody
protected boolean showTagBody()
-