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

Quick Search    Search Deep

org.sbugs.tags
Class SecurityCheckTag  view SecurityCheckTag download SecurityCheckTag.java

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byorg.sbugs.tags.SecurityCheckTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.JspTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

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


Field Summary
private  java.lang.String defect
           
private  java.lang.String function
           
 
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
SecurityCheckTag()
           
 
Method Summary
protected  int allowAccessIfOwnerOrPossesFunction(int function)
           
 int doStartTag()
          Default processing of the start tag, returning SKIP_BODY.
 java.lang.String getDefect()
           
protected  org.sbugs.model.defect.DefectHeader getDefectObj()
           
 java.lang.String getFunction()
           
protected  org.sbugs.model.user.User getUser()
           
protected  boolean loggedIn()
           
 void setDefect(java.lang.String defectParam)
           
 void setFunction(java.lang.String functionParam)
           
 
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

function

private java.lang.String function

defect

private java.lang.String defect
Constructor Detail

SecurityCheckTag

public SecurityCheckTag()
Method Detail

setFunction

public void setFunction(java.lang.String functionParam)

getFunction

public java.lang.String getFunction()

setDefect

public void setDefect(java.lang.String defectParam)

getDefect

public java.lang.String getDefect()

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Description copied from class: javax.servlet.jsp.tagext.TagSupport
Default processing of the start tag, returning SKIP_BODY.


allowAccessIfOwnerOrPossesFunction

protected int allowAccessIfOwnerOrPossesFunction(int function)

loggedIn

protected boolean loggedIn()

getUser

protected org.sbugs.model.user.User getUser()

getDefectObj

protected org.sbugs.model.defect.DefectHeader getDefectObj()