Package org.apache.shiro.ee.faces.tags
Class NotAuthenticatedTag
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.AuthenticatedTag
org.apache.shiro.ee.faces.tags.NotAuthenticatedTag
- All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler
Tag that renders the tag body only if the current user has not executed a successful authentication
attempt during their current session.
The logically opposite tag of this one is the AuthenticatedTag.
-
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
-
NotAuthenticatedTag
public NotAuthenticatedTag(javax.faces.view.facelets.TagConfig config)
-
-
Method Details
-
checkAuthentication
protected boolean checkAuthentication()- Overrides:
checkAuthenticationin classAuthenticatedTag
-