Interface PasswordRotation
- All Superinterfaces:
CredentialProbe<PasswordRotation.Endpoint, String>
- All Known Implementing Classes:
FileCredentialRotation
Opt-in password probing and delivery; implementations must never put credentials in connection URLs or logs.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordstatic interfaceNested classes/interfaces inherited from interface CredentialProbe
CredentialProbe.Result -
Method Summary
Modifier and TypeMethodDescriptionstatic PasswordRotation.Approvedapproved(long host) voidconnect(TransferModule module, PasswordRotation.Endpoint endpoint, String directory, ECtransSetup setup, String password) Connects this module to the approved endpoint without using its legacy credentials or a reusable cookie.static PasswordRotation.ApprovedThe first field identifies the installed module; the remaining configuration belongs entirely to that module.default StringsnapshotHostData(String hostData) A configuration binding safe to include in relay metadata; implementations must omit embedded credentials.booleanChecks the exact method and Host options without connecting or performing external I/O.Methods inherited from interface CredentialProbe
parseEndpoint, probe
-
Method Details
-
supports
-
snapshotHostData
-
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
-
parse
The first field identifies the installed module; the remaining configuration belongs entirely to that module.
-