public final class PasswordSshCredential extends SshCredential
Modifier and Type | Method and Description |
---|---|
void |
authenticate(SshAuthenticator authenticator) |
char[] |
getPassword() |
static PasswordSshCredential |
of(String username,
char[] password) |
static PasswordSshCredential |
of(String username,
String password) |
getUsername
public static PasswordSshCredential of(String username, String password)
public static PasswordSshCredential of(String username, char[] password)
public void authenticate(SshAuthenticator authenticator) throws IOException
authenticate
in class com.palantir.giraffe.host.Credential<SshAuthenticator>
IOException
public char[] getPassword()