code: void setId(String sessionAuthId) {
          synchronized (lock) {
              if (isCreatingSession.get()) {
                  this.sessionAuthId = sessionAuthId;
              }
              lock.notifyAll();
          }
      }
docs: Sets id of current authentication process.
  
  @param sessionAuthId id of current authentication process.