com.darwinsys.jsptags
Class LoggedInUserTag

java.lang.Object
  extended byBodyTagSupport
      extended bycom.darwinsys.jsptags.LoggedInUserTag

public class LoggedInUserTag
extends BodyTagSupport

LoggedInUser - include body content if the user is logged in as "user".

Version:
$Id: LoggedInUserTag.java,v 1.3 2004/06/16 18:50:24 ian Exp $
See Also:
Serialized Form

Constructor Summary
LoggedInUserTag()
           
 
Method Summary
 int doStartTag()
          Invoked at the tag start transition; does the work
 void setUser(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoggedInUserTag

public LoggedInUserTag()
Method Detail

doStartTag

public int doStartTag()
               throws JspException
Invoked at the tag start transition; does the work

Throws:
JspException

setUser

public void setUser(java.lang.String label)
Parameters:
label - The role to check for (e.g., "admin");


Copyright © 2000-2003 Ian F. Darwin. See license.html for usage license.