public class Permission
extends javax.servlet.jsp.tagext.TagSupport
Subject
has the required Permission
of
the given Application
.
Usage:
<appNG:permission application="foobar" permission="do.something">Do it!</appNG:permission>
Constructor and Description |
---|
Permission() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
String |
getApplication() |
String |
getPermission() |
protected MultiSiteSupport |
processMultiSiteSupport(Environment env,
javax.servlet.http.HttpServletRequest servletRequest) |
void |
setApplication(String application) |
void |
setPermission(String permission) |
public int doStartTag() throws javax.servlet.jsp.JspException
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.JspException
public String getPermission()
public void setPermission(String permission)
public String getApplication()
public void setApplication(String application)
protected MultiSiteSupport processMultiSiteSupport(Environment env, javax.servlet.http.HttpServletRequest servletRequest) throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException
Copyright © 2011–2020 aiticon GmbH. All rights reserved.