/** * {@inheritDoc} * * forwards to older method {@link #handleAuthentication(ServerCnxn, byte[])} */ @Override public KeeperException.Code handleAuthentication(ServerObjs serverObjs, byte[] authData) { return implementation.handleAuthentication(serverObjs.getCnxn(), authData); }
if(ap != null) { try { authReturn = ap.handleAuthentication(cnxn, authPacket.getAuth()); } catch(RuntimeException e) { LOG.warn("Caught runtime exception from AuthenticationProvider: " + scheme + " due to " + e);
AuthenticationProvider ap = ProviderRegistry.getProvider(scheme); if (ap == null || (ap.handleAuthentication(this, authPacket.getAuth()) != KeeperException.Code.OK)) { if (ap == null) {