org.apache.avro.ipc
Class SaslSocketServer
java.lang.Object
java.lang.Thread
org.apache.avro.ipc.SocketServer
org.apache.avro.ipc.SaslSocketServer
- All Implemented Interfaces:
- Runnable, Server
public class SaslSocketServer
- extends SocketServer
A Server
that uses javax.security.sasl
for authentication
and encryption.
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
SaslSocketServer
public SaslSocketServer(Responder responder,
SocketAddress addr)
throws IOException
- Create using SASL's anonymous (RFC 2245) mechanism.
- Throws:
IOException
SaslSocketServer
public SaslSocketServer(Responder responder,
SocketAddress addr,
String mechanism,
String protocol,
String serverName,
Map<String,?> props,
CallbackHandler cbh)
throws IOException
- Create using the specified
SaslServer
parameters.
- Throws:
IOException
getTransceiver
protected Transceiver getTransceiver(SocketChannel channel)
throws IOException
- Description copied from class:
SocketServer
- Creates an appropriate
Transceiver
for this server.
Returns a SocketTransceiver
by default.
- Overrides:
getTransceiver
in class SocketServer
- Throws:
IOException
Copyright © 2010 The Apache Software Foundation