session,
ImmutableSet.of(getRoleFromLockKey(lockKey)));
ILock lock = lockManager.acquireLock(lockKey, context.getIdentity());
response.setResult(Result.acquireLockResult(
new AcquireLockResult().setLock(lock.newBuilder())));
return response.setResponseCode(OK);
} catch (AuthFailedException e) {
return addMessage(response, AUTH_FAILED, e);
} catch (LockException e) {