com.pow2.acl.taglib
Class IsUserInRoleTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended bycom.pow2.acl.taglib.ACLTag
          extended bycom.pow2.acl.taglib.IsUserInRoleTag
All Implemented Interfaces:
Serializable, Tag

public class IsUserInRoleTag
extends ACLTag

Author:
Massimiliano Farnea
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.pow2.acl.taglib.ACLTag
acldao, cat, group, permission, role, userAuthenticated, value
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
IsUserInRoleTag()
          Default constructor
 
Method Summary
 int doStartTag()
          Process the start tag for this instance.
 
Methods inherited from class com.pow2.acl.taglib.ACLTag
booleanValue, doEndTag, getUser, isValue, setGroup, setPermission, setRole, setValue
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
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
 

Constructor Detail

IsUserInRoleTag

public IsUserInRoleTag()
Default constructor

Method Detail

doStartTag

public int doStartTag()
               throws JspTagException
Process the start tag for this instance.
Eval body if User is in Role

Returns:
Description of the Returned Value
Throws:
JspTagException - if an error occures.


Copyright © 2002-2003 Power Of Two S.R.L. All Rights Reserved.