public class SaslSocketServer extends SocketServer
Server that uses javax.security.sasl for authentication and
 encryption.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description | 
|---|
| SaslSocketServer(Responder responder,
                SocketAddress addr)Create using SASL's anonymous
 (RFC 2245) mechanism. | 
| SaslSocketServer(Responder responder,
                SocketAddress addr,
                String mechanism,
                String protocol,
                String serverName,
                Map<String,?> props,
                CallbackHandler cbh)Create using the specified  SaslServerparameters. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Transceiver | getTransceiver(SocketChannel channel)Creates an appropriate  Transceiverfor this server. | 
close, getPort, main, runactiveCount, checkAccess, clone, 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, yieldpublic SaslSocketServer(Responder responder, SocketAddress addr) throws IOException
IOExceptionpublic SaslSocketServer(Responder responder, SocketAddress addr, String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws IOException
SaslServer parameters.IOExceptionprotected Transceiver getTransceiver(SocketChannel channel) throws IOException
SocketServerTransceiver for this server. Returns a
 SocketTransceiver by default.getTransceiver in class SocketServerIOExceptionCopyright © 2009–2020 The Apache Software Foundation. All rights reserved.