Interface PasswordRotation

All Superinterfaces:
CredentialProbe<PasswordRotation.Endpoint, String>
All Known Implementing Classes:
FileCredentialRotation

public interface PasswordRotation extends CredentialProbe<PasswordRotation.Endpoint, String>
Opt-in password probing and delivery; implementations must never put credentials in connection URLs or logs.
  • Method Details

    • supports

      boolean supports(String method, String hostData, int port)
      Checks the exact method and Host options without connecting or performing external I/O.
    • snapshotHostData

      default String snapshotHostData(String hostData)
      A configuration binding safe to include in relay metadata; implementations must omit embedded credentials.
    • connect

      void connect(TransferModule module, PasswordRotation.Endpoint endpoint, String directory, ECtransSetup setup, String password) throws IOException
      Connects this module to the approved endpoint without using its legacy credentials or a reusable cookie.
      Throws:
      IOException
    • approved

      static PasswordRotation.Approved approved(long host)
    • parse

      static PasswordRotation.Approved parse(String configuration, String archive)
      The first field identifies the installed module; the remaining configuration belongs entirely to that module.