Package org.apache.shiro.ee.faces.tags
Class GuestTag
java.lang.Object
javax.faces.view.facelets.TagHandler
org.apache.shiro.ee.faces.tags.SecureTagHandler
org.apache.shiro.ee.faces.tags.AuthenticationTagHandler
org.apache.shiro.ee.faces.tags.GuestTag
- All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler
- Direct Known Subclasses:
UserTag
Tag that renders the tag body if the current user is not known to the system, either because they
haven't logged in yet, or because they have no 'RememberMe' identity.
The logically opposite tag of this one is the UserTag. Please read that class's JavaDoc as it explains
more about the differences between Authenticated/Unauthenticated and User/Guest semantic differences.
-
Field Summary
Fields inherited from class javax.faces.view.facelets.TagHandler
nextHandler, tag, tagId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.shiro.ee.faces.tags.AuthenticationTagHandler
apply, showTagBodyMethods inherited from class org.apache.shiro.ee.faces.tags.SecureTagHandler
getSubjectMethods inherited from class javax.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Constructor Details
-
GuestTag
public GuestTag(javax.faces.view.facelets.TagConfig config)
-
-
Method Details
-
checkAuthentication
protected boolean checkAuthentication()- Specified by:
checkAuthenticationin classAuthenticationTagHandler
-