docs: @Restricted(NoExternalUse.class)
      public @Nonnull
      Authentication impersonate(@Nonnull UserDetails userDetails) {
          return new UsernamePasswordAuthenticationToken(userDetails.getUsername(), "", userDetails.getAuthorities());
      }