org.apache.openejb.server
Class ServiceAccessController

java.lang.Object
  extended by org.apache.openejb.server.ServerServiceFilter
      extended by org.apache.openejb.server.ServiceAccessController
All Implemented Interfaces:
ServerService, Service

public class ServiceAccessController
extends ServerServiceFilter


Nested Class Summary
 class ServiceAccessController.Access
           
 
Constructor Summary
ServiceAccessController(ServerService next)
           
 
Method Summary
 void checkHostsAuthorization(InetAddress clientAddress, InetAddress serverAddress)
           
 void init(Properties props)
           
 void service(InputStream in, OutputStream out)
           
 void service(Socket socket)
           
 
Methods inherited from class org.apache.openejb.server.ServerServiceFilter
getIP, getName, getPort, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceAccessController

public ServiceAccessController(ServerService next)
Method Detail

service

public void service(Socket socket)
             throws ServiceException,
                    IOException
Specified by:
service in interface ServerService
Overrides:
service in class ServerServiceFilter
Throws:
ServiceException
IOException

service

public void service(InputStream in,
                    OutputStream out)
             throws ServiceException,
                    IOException
Specified by:
service in interface ServerService
Overrides:
service in class ServerServiceFilter
Throws:
ServiceException
IOException

checkHostsAuthorization

public void checkHostsAuthorization(InetAddress clientAddress,
                                    InetAddress serverAddress)
                             throws SecurityException
Throws:
SecurityException

init

public void init(Properties props)
          throws Exception
Specified by:
init in interface Service
Overrides:
init in class ServerServiceFilter
Throws:
Exception


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.