docs: protected Credentials getCredentialsFromDelegatedClient(final J2EContext webContext, final BaseClient<Credentials, CommonProfile> client) {
          val credentials = client.getCredentials(webContext);
          LOGGER.debug("Retrieved credentials from client as [{}]", credentials);
          if (credentials == null) {
              throw new IllegalArgumentException("Unable to determine credentials from the context with client " + client.getName());
          }
          return credentials;
      }