protected static class AdminAccess.Config extends Object
Modifier | Constructor and Description |
---|---|
protected |
AdminAccess.Config(String adminUsername,
String adminFullName,
String adminHome,
String adminPublicKey,
String adminPrivateKey,
String adminPassword,
String loginPassword,
boolean lockSsh,
boolean grantSudoToAdminUser,
boolean authorizeAdminPublicKey,
boolean installAdminPrivateKey,
boolean resetLoginPassword,
com.google.common.base.Function<String,String> cryptFunction) |
Modifier and Type | Method and Description |
---|---|
Credentials |
getAdminCredentials() |
String |
getAdminFullName() |
String |
getAdminHome() |
String |
getAdminPassword() |
String |
getAdminPrivateKey() |
String |
getAdminPublicKey() |
String |
getAdminUsername() |
com.google.common.base.Function<String,String> |
getCryptFunction() |
String |
getLoginPassword() |
boolean |
shouldAuthorizeAdminPublicKey() |
boolean |
shouldGrantSudoToAdminUser() |
boolean |
shouldInstallAdminPrivateKey() |
boolean |
shouldLockSsh() |
boolean |
shouldResetLoginPassword() |
String |
toString() |
protected AdminAccess.Config(@Nullable String adminUsername, @Nullable String adminFullName, @Nullable String adminHome, @Nullable String adminPublicKey, @Nullable String adminPrivateKey, @Nullable String adminPassword, @Nullable String loginPassword, boolean lockSsh, boolean grantSudoToAdminUser, boolean authorizeAdminPublicKey, boolean installAdminPrivateKey, boolean resetLoginPassword, com.google.common.base.Function<String,String> cryptFunction)
public String getAdminUsername()
public String getAdminFullName()
public String getAdminHome()
public String getAdminPublicKey()
public String getAdminPrivateKey()
public String getAdminPassword()
public String getLoginPassword()
public boolean shouldLockSsh()
public boolean shouldGrantSudoToAdminUser()
public boolean shouldAuthorizeAdminPublicKey()
public boolean shouldInstallAdminPrivateKey()
public boolean shouldResetLoginPassword()
public Credentials getAdminCredentials()
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.