Class PrivateRepoCloner

java.lang.Object
utu.vbingm.privaterepocloner.PrivateRepoCloner

public final class PrivateRepoCloner extends Object
Facade for storing repo credentials and cloning private HTTPS repositories.

Sensitive data handling: Access tokens are never returned by this API and are never persisted to disk. Tokens are stored in the OS keyring and injected directly into JGit when cloning.

Security note: On most platforms, processes running as the same OS user may access the same keyring. This library mitigates accidental leakage (disk/logs) but cannot defend against malicious code executing under the same user identity. Prefer short-lived tokens and harden the host.

Exceptions

Thread-safety

  • Profile-store reads/writes use a JVM-local lock to avoid concurrent file corruption.
  • Keyring operations use short-lived handles.
  • Method Details