net.sf.jguard.jee.taglib
Class HasPermission
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.ConditionalTagSupport
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
| 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 |
| 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 |
HasPermission
public HasPermission()
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.