code: @Override
      public void initializeNativeSession(Session session) {
          super.initializeNativeSession(session);
  
          if (this.user == null) {
              this.user = session.getUserPrincipal();
          }
      }
docs: {@inheritDoc}