Lines Matching refs:srv
134 SaslServer srv = Sasl.createSaslServer(MECH, PROTOCOL, REALM, ps,
155 handshake(clnt, srv);
177 SaslServer srv = Sasl.createSaslServer(MECH, PROTOCOL, REALM, null,
198 handshake(clnt, srv);
200 srv.getNegotiatedProperty("com.sun.security.sasl.ntlm.hostname"))) {
228 SaslServer srv = Sasl.createSaslServer(MECH, PROTOCOL, REALM, null,
249 handshake(clnt, srv);
273 SaslServer srv = Sasl.createSaslServer(MECH, PROTOCOL, REALM, null,
294 handshake(clnt, srv);
320 SaslServer srv = Sasl.createSaslServer(MECH, PROTOCOL, null, ps,
341 handshake(clnt, srv);
356 private static void handshake(SaslClient clnt, SaslServer srv)
362 if (srv == null) {
373 while (!clnt.isComplete() || !srv.isComplete()) {
374 challenge = srv.evaluateResponse(response);
387 if (clnt.isComplete() && srv.isComplete()) {
389 if (!srv.getAuthorizationID().equals(USER1)) {
396 + " server complete? " + srv.isComplete());
400 !srv.getNegotiatedProperty(Sasl.QOP).equals("auth") ||
406 srv.dispose();