Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.roller.presentation.website.tags
Class AuthorizeUserTag  view AuthorizeUserTag download AuthorizeUserTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.roller.presentation.website.tags.AuthorizeUserTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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

If user is not authorized, forward to specified global forward.


Field Summary
private static org.apache.commons.logging.Log mLogger
           
private  java.lang.String name
           
 
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
AuthorizeUserTag()
           
 
Method Summary
 int doEndTag()
          Process start tag.
 int doStartTag()
          Defer generation until the end of this tag is encountered.
 java.lang.String getFailureForward()
           
 void release()
          Release any acquired resources.
 void setFailureForward(java.lang.String name)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, 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

mLogger

private static org.apache.commons.logging.Log mLogger

name

private java.lang.String name
Constructor Detail

AuthorizeUserTag

public AuthorizeUserTag()
Method Detail

getFailureForward

public java.lang.String getFailureForward()

setFailureForward

public void setFailureForward(java.lang.String name)

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Defer generation until the end of this tag is encountered.


doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Process start tag.


release

public void release()
Release any acquired resources.