}
@Override
public boolean auth(Auth auth, JIDContext context) {
try {
context.write(new Challenge(this.saslServers.push(context, Sasl.createSaslServer(mechanism, this.protocol, context.domain(), this.props, new ServerCallbackHandler(context))).evaluateResponse(new byte[0])));
return true;
} catch (Exception e) {
this.log.error(e.toString());
Trace.trace(this.log, e);
return false;