com.darwinsys.jsptags
Class LoggedInRoleTag

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

public class LoggedInRoleTag
extends BodyTagSupport

LoggedInRole - include body content if user is logged in as a user that has this "role".

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

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

Constructor Detail

LoggedInRoleTag

public LoggedInRoleTag()
Method Detail

doStartTag

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

Throws:
JspException

setRole

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


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