public class ServiceAccessController extends ServerServiceFilter implements Unwrappable
Modifier and Type | Class and Description |
---|---|
class |
ServiceAccessController.Access |
Constructor and Description |
---|
ServiceAccessController(ServerService next) |
Modifier and Type | Method and Description |
---|---|
void |
checkHostsAuthorization(java.net.InetAddress clientAddress,
java.net.InetAddress serverAddress) |
void |
init(java.util.Properties props) |
void |
service(java.io.InputStream in,
java.io.OutputStream out) |
void |
service(java.net.Socket socket) |
getDelegate, getIP, getName, getPort, start, stop
unwrap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
unwrap
public ServiceAccessController(ServerService next)
public void service(java.net.Socket socket) throws ServiceException, java.io.IOException
service
in interface ServerService
service
in class ServerServiceFilter
ServiceException
java.io.IOException
public void service(java.io.InputStream in, java.io.OutputStream out) throws ServiceException, java.io.IOException
service
in interface ServerService
service
in class ServerServiceFilter
ServiceException
java.io.IOException
public void checkHostsAuthorization(java.net.InetAddress clientAddress, java.net.InetAddress serverAddress) throws java.lang.SecurityException
java.lang.SecurityException
public void init(java.util.Properties props) throws java.lang.Exception
init
in interface Service
init
in class ServerServiceFilter
java.lang.Exception