Package com.sissi.protocol.iq.auth

Examples of com.sissi.protocol.iq.auth.Success


  @Override
  public boolean input(JIDContext context, Protocol protocol) {
    try {
      SaslServer sasl = null;
      try {
        return (sasl = this.saslServers.pull(context)) != null ? context.write(new Success(sasl.evaluateResponse(protocol.cast(Response.class).getResponse()))).auth(true).auth() : false;
      } finally {
        if (sasl != null) {
          sasl.dispose();
        }
      }
View Full Code Here

TOP

Related Classes of com.sissi.protocol.iq.auth.Success

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.