Thread thread;
@Override
public void configure(InetSocketAddress addr, int maxcc) throws IOException {
if (System.getProperty("java.security.auth.login.config") != null) {
try {
saslServerCallbackHandler = new SaslServerCallbackHandler(Configuration.getConfiguration());
login = new Login("Server",saslServerCallbackHandler);
login.startThreadIfNeeded();
}
catch (LoginException e) {
throw new IOException("Could not configure server because SASL configuration did not allow the "