org.glassfish.osgihttp
Class OSGiSecurityValve

java.lang.Object
  extended by org.apache.catalina.valves.ValveBase
      extended by org.glassfish.osgihttp.OSGiSecurityValve
All Implemented Interfaces:
MBeanRegistration, org.apache.catalina.Contained, org.apache.catalina.Lifecycle, org.apache.catalina.Valve, org.glassfish.web.valve.GlassFishValve

public class OSGiSecurityValve
extends org.apache.catalina.valves.ValveBase

This valve is used to implement security in OSGi/HTTP service.

Author:
Sanjeeb.Sahoo@Sun.COM

Field Summary
 
Fields inherited from class org.apache.catalina.valves.ValveBase
container, controller, debug, domain, info, lifecycle, mserver, next, oname, sm, started
 
Fields inherited from interface org.apache.catalina.Lifecycle
AFTER_START_EVENT, AFTER_STOP_EVENT, BEFORE_START_EVENT, BEFORE_STOP_EVENT, INIT_EVENT, START_EVENT, STOP_EVENT
 
Fields inherited from interface org.glassfish.web.valve.GlassFishValve
END_PIPELINE, INVOKE_NEXT
 
Constructor Summary
OSGiSecurityValve(org.osgi.service.http.HttpContext httpContext)
           
 
Method Summary
 int invoke(org.apache.catalina.Request request, org.apache.catalina.Response response)
           
 
Methods inherited from class org.apache.catalina.valves.ValveBase
addLifecycleListener, backgroundProcess, createObjectName, event, findLifecycleListeners, getContainer, getContainerName, getController, getDebug, getDomain, getInfo, getNext, getObjectName, getParentName, invoke, isStarted, postDeregister, postInvoke, postRegister, preDeregister, preRegister, removeLifecycleListener, setContainer, setController, setDebug, setNext, setObjectName, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OSGiSecurityValve

public OSGiSecurityValve(org.osgi.service.http.HttpContext httpContext)
Method Detail

invoke

public int invoke(org.apache.catalina.Request request,
                  org.apache.catalina.Response response)
           throws IOException,
                  javax.servlet.ServletException
Specified by:
invoke in interface org.glassfish.web.valve.GlassFishValve
Specified by:
invoke in class org.apache.catalina.valves.ValveBase
Throws:
IOException
javax.servlet.ServletException


Copyright © 2012 GlassFish Community. All Rights Reserved.