public static class LoginCredentials.Builder extends Credentials.Builder<LoginCredentials>
credential, identity
Constructor and Description |
---|
LoginCredentials.Builder() |
Modifier and Type | Method and Description |
---|---|
LoginCredentials.Builder |
authenticateSudo(boolean authenticateSudo) |
LoginCredentials |
build() |
LoginCredentials.Builder |
credential(String credential) |
LoginCredentials.Builder |
identity(String identity) |
LoginCredentials.Builder |
noPassword() |
LoginCredentials.Builder |
noPrivateKey() |
LoginCredentials.Builder |
password(String password) |
LoginCredentials.Builder |
privateKey(String privateKey) |
LoginCredentials.Builder |
user(String user) |
public LoginCredentials.Builder identity(String identity)
identity
in class Credentials.Builder<LoginCredentials>
public LoginCredentials.Builder user(String user)
public LoginCredentials.Builder password(String password)
public LoginCredentials.Builder noPassword()
public LoginCredentials.Builder privateKey(String privateKey)
public LoginCredentials.Builder noPrivateKey()
public LoginCredentials.Builder credential(String credential)
credential
in class Credentials.Builder<LoginCredentials>
public LoginCredentials.Builder authenticateSudo(boolean authenticateSudo)
public LoginCredentials build()
build
in class Credentials.Builder<LoginCredentials>
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.