org.mentawai.tag.authentication
Class RequiresAuthentication

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.mentawai.tag.authentication.RequiresAuthentication
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.Tag

public class RequiresAuthentication
extends javax.servlet.jsp.tagext.TagSupport

Author:
Sergio Oliveira
See Also:
Serialized Form

Field Summary
protected  Action action
           
protected  ApplicationManager appManager
           
protected  Locale loc
           
protected  javax.servlet.http.HttpServletRequest req
           
protected  javax.servlet.http.HttpServletResponse res
           
protected  javax.servlet.ServletContext sc
           
protected  javax.servlet.http.HttpSession session
           
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
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
 
Constructor Summary
RequiresAuthentication()
           
 
Method Summary
 int doEndTag()
           
 int doStartTag()
           
 void setCache(boolean cache)
           
 void setLoginPage(String page)
           
 void setRedir(boolean redir)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

protected javax.servlet.http.HttpSession session

req

protected javax.servlet.http.HttpServletRequest req

res

protected javax.servlet.http.HttpServletResponse res

sc

protected javax.servlet.ServletContext sc

action

protected Action action

loc

protected Locale loc

appManager

protected ApplicationManager appManager
Constructor Detail

RequiresAuthentication

public RequiresAuthentication()
Method Detail

setRedir

public void setRedir(boolean redir)

setCache

public void setCache(boolean cache)

setLoginPage

public void setLoginPage(String page)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException


Copyright © 2013. All Rights Reserved.