public class SaslSocketServer extends SocketServer
Server
that uses javax.security.sasl
for authentication and
encryption.Thread.State, Thread.UncaughtExceptionHandler
MAX_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
SaslServer parameters. |
Modifier and Type | Method and Description |
---|---|
protected Transceiver |
getTransceiver(SocketChannel channel)
Creates an appropriate
Transceiver for this server. |
close, getPort, main, run
activeCount, 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, yield
public SaslSocketServer(Responder responder, SocketAddress addr) throws IOException
IOException
public SaslSocketServer(Responder responder, SocketAddress addr, String mechanism, String protocol, String serverName, Map<String,?> props, CallbackHandler cbh) throws IOException
SaslServer
parameters.IOException
protected Transceiver getTransceiver(SocketChannel channel) throws IOException
SocketServer
Transceiver
for this server. Returns a
SocketTransceiver
by default.getTransceiver
in class SocketServer
IOException
Copyright © 2009–2022 The Apache Software Foundation. All rights reserved.