Package org.apache.shiro.ee.faces.tags
Class RememberedTag
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.RememberedTag
- All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler
Tag that renders the tag body only if the current user's identity (aka principals) is remembered from a
successful authentication during a previous session and the user has not executed a successful authentication
attempt during their current session.
Note: This is less restrictive than the AuthenticatedTag since it only assumes
the user is who they say they are via Remember Me services, which
makes no guarantee the user is who they say they are. The AuthenticatedTag however
guarantees that the current user has logged in during their current session, proving they really are
who they say they are.
-
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
-
RememberedTag
public RememberedTag(javax.faces.view.facelets.TagConfig config)
-
-
Method Details
-
checkAuthentication
protected boolean checkAuthentication()- Specified by:
checkAuthenticationin classAuthenticationTagHandler
-