org.apache.geronimo.jetty
Class JettyServer

java.lang.Object
  extended by org.mortbay.util.Container
      extended by org.mortbay.http.HttpServer
          extended by org.mortbay.jetty.Server
              extended by org.apache.geronimo.jetty.JettyServer
All Implemented Interfaces:
Serializable, org.mortbay.util.EventProvider, org.mortbay.util.LifeCycle

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.

See Also:
Serialized Form

Constructor Summary
JettyServer()
           
 
Method Summary
 org.mortbay.http.UserRealm addRealm(org.mortbay.http.UserRealm realm)
           
 org.mortbay.http.UserRealm getRealm(String realmName)
           
 void removeRealm(org.mortbay.http.UserRealm realm)
           
 
Methods inherited from class org.mortbay.jetty.Server
addWebApplication, addWebApplication, addWebApplications, addWebApplications, addWebApplications, addWebApplications, addWebApplications, configure, getConfiguration, getRootWebApp, getStopAtShutdown, getWebApplicationConfigurationClassNames, main, newHttpContext, newWebApplicationContext, setRootWebApp, setStopAtShutdown, setWebApplicationConfigurationClassNames
 
Methods inherited from class org.mortbay.http.HttpServer
addContext, addContext, addContext, addContext, addHostAlias, addListener, addListener, addListener, destroy, doStart, doStop, findHandler, getConnections, getConnectionsDurationAve, getConnectionsDurationMax, getConnectionsDurationMin, getConnectionsDurationTotal, getConnectionsOpen, getConnectionsOpenMax, getConnectionsOpenMin, getConnectionsRequestsAve, getConnectionsRequestsMax, getConnectionsRequestsMin, getContext, getContext, getContext, getContexts, getErrors, getHostMap, getHttpServerList, getHttpServers, getListeners, getRequestLog, getRequests, getRequestsActive, getRequestsActiveMax, getRequestsActiveMin, getRequestsDurationAve, getRequestsDurationMax, getRequestsDurationMin, getRequestsDurationTotal, getRequestsPerGC, getResolveRemoteHost, getServerClasses, getStatsOn, getStatsOnMs, getStopGracefully, getSystemClasses, getTrace, join, removeContext, removeListener, removeRealm, save, service, setAnonymous, setContexts, setListeners, setRequestLog, setRequestsPerGC, setResolveRemoteHost, setServerClasses, setStatsOn, setStopGracefully, setSystemClasses, setTrace, statsReset, stop
 
Methods inherited from class org.mortbay.util.Container
addComponent, addEventListener, getComponents, isStarted, isStarting, isStopping, removeComponent, removeEventListener, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.mortbay.util.LifeCycle
isStarted, start, stop
 
Methods inherited from interface org.mortbay.util.EventProvider
addEventListener, removeEventListener
 

Constructor Detail

JettyServer

public JettyServer()
Method Detail

addRealm

public org.mortbay.http.UserRealm addRealm(org.mortbay.http.UserRealm realm)
Overrides:
addRealm in class org.mortbay.http.HttpServer

getRealm

public org.mortbay.http.UserRealm getRealm(String realmName)
Overrides:
getRealm in class org.mortbay.http.HttpServer

removeRealm

public void removeRealm(org.mortbay.http.UserRealm realm)


Copyright © 2006 Apache Software Foundation. All Rights Reserved.