com.pow2.acl.taglib
Class IsUserAuthenticatedTag

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

public class IsUserAuthenticatedTag
extends ACLTag

Checks if the user is authenticated.

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
IsUserAuthenticatedTag()
          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

IsUserAuthenticatedTag

public IsUserAuthenticatedTag()
Default constructor

Method Detail

doStartTag

public int doStartTag()
               throws JspTagException
Process the start tag for this instance. If user is authenticated, evaluate the body of this tag.

Returns:
EVAL_BODY_INCLUDE if the user is authenticated; SKIP_BODY if user does not exist or is not authenticated
Throws:
JspTagException - if an error occurs


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