|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
javax.servlet.jsp.jstl.core.ConditionalTagSupport
net.sf.jguard.jee.taglib.Authorized
public class Authorized
display the jsp fragment if the user has got the right to access to the ressource protected by the permission.
| 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 | |
|---|---|
Authorized()
|
|
| Method Summary | |
|---|---|
protected boolean |
condition()
allow or not to display jsp content;depends on access rights. |
String |
getPermission()
|
String |
getUri()
|
void |
setPermission(String permission)
|
void |
setUri(String strUri)
|
| 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 |
|---|
public Authorized()
| Method Detail |
|---|
public String getUri()
public void setUri(String strUri)
strUri -
protected boolean condition()
throws javax.servlet.jsp.JspTagException
condition in class javax.servlet.jsp.jstl.core.ConditionalTagSupportjavax.servlet.jsp.JspTagExceptionConditionalTagSupport.condition()public String getPermission()
public void setPermission(String permission)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||