|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.jsp.tagext.TagSupport com.cc.framework.taglib.security.GrantedTag com.cc.framework.taglib.security.NotGrantedTag
Tag-Handler for the notGranted
Tag.
Processes the content of the tag-body if the registerd
Principal Objekt has not(!) the demanded permission.
Field Summary | |
private static long |
serialVersionUID
Serial Version UID |
Fields inherited from class com.cc.framework.taglib.security.GrantedTag |
|
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 | |
NotGrantedTag()
|
Method Summary | |
protected boolean |
doIncludeBody(Principal principal,
Permission permission)
This method checks for inclusion or exlusion of the Tag-Body |
Methods inherited from class com.cc.framework.taglib.security.GrantedTag |
doStartTag, setPermission |
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 |
private static final long serialVersionUID
Constructor Detail |
public NotGrantedTag()
Method Detail |
protected boolean doIncludeBody(Principal principal, Permission permission)
GrantedTag
doIncludeBody
in class GrantedTag
principal
- The Principal Objectpermission
- The Permission
true
to include the Tag-BodyGrantedTag.doIncludeBody(com.cc.framework.security.Principal, com.cc.framework.security.Permission)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |