com.pow2.acl.taglib
Class IsUserAuthenticatedTag
java.lang.Object
javax.servlet.jsp.tagext.TagSupport
com.pow2.acl.taglib.ACLTag
com.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
Method Summary |
int |
doStartTag()
Process the start tag for this instance.
|
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 |
IsUserAuthenticatedTag
public IsUserAuthenticatedTag()
- Default constructor
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.