net.sf.jguard.jee.taglib
Class HasPermission

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.jstl.core.ConditionalTagSupport
          extended by net.sf.jguard.jee.taglib.HasPermission
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class HasPermission
extends javax.servlet.jsp.jstl.core.ConditionalTagSupport

display the jsp fragment if the Subject has got this Permission.

Since:
1.0.0
Author:
Charles Gay
See Also:
Serialized Form

Field Summary
 
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
HasPermission()
           
 
Method Summary
protected  boolean condition()
           
 String getActions()
           
 String getClassName()
           
 String getName()
           
 void setActions(String actions)
           
 void setClassName(String className)
           
 void setName(String name)
           
 
Methods inherited from class javax.servlet.jsp.jstl.core.ConditionalTagSupport
doStartTag, release, setScope, setVar
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doEndTag, 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
 

Constructor Detail

HasPermission

public HasPermission()
Method Detail

condition

protected boolean condition()
                     throws javax.servlet.jsp.JspTagException
Specified by:
condition in class javax.servlet.jsp.jstl.core.ConditionalTagSupport
Throws:
javax.servlet.jsp.JspTagException

getActions

public String getActions()

setActions

public void setActions(String actions)

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getName

public String getName()

setName

public void setName(String name)


Copyright © 2004-2011. All Rights Reserved.