com.ibm.commerce.taglibs.rememberme.tag

Class IsNotRememberedUserTagSupport

  • All Implemented Interfaces:
    java.io.Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag, javax.servlet.jsp.tagext.TryCatchFinally


    public class IsNotRememberedUserTagSupport
    extends IsRememberedUserTagSupport
    This class defines JSTL tag support to include only the body of the tag when the current request is not that of a remembered user. If the user is either a guest user or has authenticated themself then the HTML within this tag will be included. If the user is a remembered registered user then the HTML content will not be included.
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface javax.servlet.jsp.tagext.IterationTag

        EVAL_BODY_AGAIN
      • Fields inherited from interface javax.servlet.jsp.tagext.Tag

        EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int doStartTag()
      This method determines whether the body of the JSTL tag is to be included.
      • Methods inherited from class javax.servlet.jsp.tagext.TagSupport

        doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • IsNotRememberedUserTagSupport

        public IsNotRememberedUserTagSupport()
        This is the default constructor for this class. It calls the constructor from the superclass.
    • Method Detail

      • doStartTag

        public int doStartTag()
                       throws javax.servlet.jsp.JspException
        This method determines whether the body of the JSTL tag is to be included. If the request is not that of a remembered registered user then the result is to include the body of the JSTL tag. Otherwise the body of the JSTL tag will be skipped.
        Specified by:
        doStartTag in interface javax.servlet.jsp.tagext.Tag
        Overrides:
        doStartTag in class IsRememberedUserTagSupport
        Returns:
        This method returns whether the body of the tag should be included or not.
        Throws:
        javax.servlet.jsp.JspException - Declared by the signature of the base tag support.
        See Also:
        Tag.doStartTag()