org.apache.geronimo.jetty6
Class JettyServer

java.lang.Object
  extended by org.mortbay.component.AbstractLifeCycle
      extended by org.mortbay.jetty.handler.AbstractHandler
          extended by org.mortbay.jetty.handler.AbstractHandlerContainer
              extended by org.mortbay.jetty.handler.HandlerWrapper
                  extended by org.mortbay.jetty.Server
                      extended by org.apache.geronimo.jetty6.JettyServer
All Implemented Interfaces:
org.mortbay.component.LifeCycle, org.mortbay.jetty.Handler, org.mortbay.jetty.HandlerContainer, org.mortbay.util.Attributes

public class JettyServer
extends org.mortbay.jetty.Server

JettyServer extends the base Jetty Server class to prevent managing any user realm information by the web.xml realm name which is only relevant for basic and digest authentication and should not be tied to any actual information about which security realm is in use.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mortbay.jetty.Server
org.mortbay.jetty.Server.Graceful
 
Field Summary
 
Fields inherited from class org.mortbay.jetty.handler.AbstractHandler
_string
 
Fields inherited from interface org.mortbay.jetty.Handler
ALL, DEFAULT, ERROR, FORWARD, INCLUDE, REQUEST
 
Constructor Summary
JettyServer()
           
 
Method Summary
 org.mortbay.jetty.security.UserRealm addRealm(org.mortbay.jetty.security.UserRealm realm)
          Deprecated.  
 void addUserRealm(org.mortbay.jetty.security.UserRealm realm)
           
 void addUserRealms(org.mortbay.jetty.security.UserRealm[] realms)
           
 org.mortbay.jetty.security.UserRealm getRealm(String realmName)
          Deprecated.  
 void removeRealm(org.mortbay.jetty.security.UserRealm realm)
          Deprecated.  
 
Methods inherited from class org.mortbay.jetty.Server
addConnector, addHandler, addLifeCycle, clearAttributes, doStart, doStop, getAttribute, getAttributeNames, getConnectors, getContainer, getGracefulShutdown, getHandlers, getSendDateHeader, getSendServerVersion, getSessionIdManager, getStopAtShutdown, getThreadPool, getUserRealms, getVersion, handle, join, removeAttribute, removeConnector, removeHandler, removeLifeCycle, removeUserRealm, setAttribute, setConnectors, setGracefulShutdown, setHandlers, setSendDateHeader, setSendServerVersion, setSessionIdManager, setStopAtShutdown, setThreadPool, setUserRealms
 
Methods inherited from class org.mortbay.jetty.handler.HandlerWrapper
expandChildren, getHandler, handle, setHandler, setServer
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandlerContainer
expandHandler, getChildHandlerByClass, getChildHandlers, getChildHandlersByClass
 
Methods inherited from class org.mortbay.jetty.handler.AbstractHandler
destroy, getServer, toString
 
Methods inherited from class org.mortbay.component.AbstractLifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.mortbay.component.LifeCycle
isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, start, stop
 

Constructor Detail

JettyServer

public JettyServer()
Method Detail

addUserRealms

public void addUserRealms(org.mortbay.jetty.security.UserRealm[] realms)

addUserRealm

public void addUserRealm(org.mortbay.jetty.security.UserRealm realm)
Overrides:
addUserRealm in class org.mortbay.jetty.Server

addRealm

public org.mortbay.jetty.security.UserRealm addRealm(org.mortbay.jetty.security.UserRealm realm)
Deprecated. 

TODO maybe remove intead?

Parameters:
realm -
Returns:

getRealm

public org.mortbay.jetty.security.UserRealm getRealm(String realmName)
Deprecated. 

TODO maybe remove instead?

Parameters:
realmName -
Returns:

removeRealm

public void removeRealm(org.mortbay.jetty.security.UserRealm realm)
Deprecated. 

TODO maybe remove instead?

Parameters:
realm -


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.