org.apache.commons.jelly.tags.jetty
Class RealmTag

java.lang.Object
  extended byorg.apache.commons.jelly.TagSupport
      extended byorg.apache.commons.jelly.tags.jetty.RealmTag
All Implemented Interfaces:
org.apache.commons.jelly.Tag

public class RealmTag
extends org.apache.commons.jelly.TagSupport

Declare a user realm for a Jetty http server

Version:
$Id: RealmTag.java 155420 2005-02-26 13:06:03Z dirkv $
Author:
rtl

Field Summary
 
Fields inherited from class org.apache.commons.jelly.TagSupport
body, context, hasTrimmed, parent, shouldTrim
 
Constructor Summary
RealmTag()
          Creates a new instance of RealmTag
 
Method Summary
 void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
          Perform the tag functionality.
 java.lang.String getConfig()
          Getter for property config.
 java.lang.String getName()
          Getter for property name.
 void setConfig(java.lang.String config)
          Setter for property config.
 void setName(java.lang.String name)
          Setter for property name.
 
Methods inherited from class org.apache.commons.jelly.TagSupport
findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, findAncestorWithClass, getBody, getBodyText, getBodyText, getContext, getParent, invokeBody, isEscapeText, isTrim, setBody, setContext, setEscapeText, setParent, setTrim, trimBody
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RealmTag

public RealmTag()
Creates a new instance of RealmTag

Method Detail

doTag

public void doTag(org.apache.commons.jelly.XMLOutput xmlOutput)
           throws org.apache.commons.jelly.JellyTagException
Perform the tag functionality. In this case, add a realm with the specified name using the specified config (preperties) file to the parent server,

Parameters:
xmlOutput - where to send output
Throws:
java.lang.Exception - when an error occurs
org.apache.commons.jelly.JellyTagException

getName

public java.lang.String getName()
Getter for property name.

Returns:
value of property name.

setName

public void setName(java.lang.String name)
Setter for property name.

Parameters:
name - New value of property name.

getConfig

public java.lang.String getConfig()
Getter for property config.

Returns:
value of property config.

setConfig

public void setConfig(java.lang.String config)
Setter for property config.

Parameters:
config - New value of property config.


Copyright © 2002-2006 Apache Software Foundation. All Rights Reserved.