Class AuthenticatedTag

java.lang.Object
javax.faces.view.facelets.TagHandler
All Implemented Interfaces:
javax.faces.view.facelets.FaceletHandler
Direct Known Subclasses:
NotAuthenticatedTag

public class AuthenticatedTag extends AuthenticationTagHandler
Tag that renders the tag body only if the current user has executed a successful authentication attempt during their current session.

This is more restrictive than the UserTag, which only ensures the current user is known to the system, either via a current login or from Remember Me services, which only makes the assumption that the current user is who they say they are, and does not guarantee it like this tag does.

The logically opposite tag of this one is the NotAuthenticatedTag

  • Constructor Details

    • AuthenticatedTag

      public AuthenticatedTag(javax.faces.view.facelets.TagConfig config)
  • Method Details