public class Permission extends TagSupport
Subject
has the required Permission
of
the given Application
.
Usage:
<appNG:permission application="foobar" permission="do.something">Do it!</appNG:permission>
id, pageContext
EVAL_BODY_AGAIN
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
Constructor and Description |
---|
Permission() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
String |
getApplication() |
String |
getPermission() |
protected MultiSiteSupport |
processMultiSiteSupport(Environment env,
HttpServletRequest servletRequest) |
void |
setApplication(String application) |
void |
setPermission(String permission) |
doAfterBody, doEndTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
public int doStartTag() throws JspException
doStartTag
in interface Tag
doStartTag
in class TagSupport
JspException
public String getPermission()
public void setPermission(String permission)
public String getApplication()
public void setApplication(String application)
protected MultiSiteSupport processMultiSiteSupport(Environment env, HttpServletRequest servletRequest) throws JspException
JspException
Copyright © 2011–2017 aiticon GmbH. All rights reserved.