Class AdminAccess.Config
- java.lang.Object
-
- org.jclouds.scriptbuilder.statements.login.AdminAccess.Config
-
- Enclosing class:
- AdminAccess
protected static class AdminAccess.Config extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Constructor Detail
-
Config
protected 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)
-
-
Method Detail
-
getAdminUsername
public String getAdminUsername()
-
getAdminFullName
public String getAdminFullName()
-
getAdminHome
public String getAdminHome()
-
getAdminPublicKey
public String getAdminPublicKey()
-
getAdminPrivateKey
public String getAdminPrivateKey()
-
getAdminPassword
public String getAdminPassword()
-
getLoginPassword
public String getLoginPassword()
-
shouldLockSsh
public boolean shouldLockSsh()
-
shouldGrantSudoToAdminUser
public boolean shouldGrantSudoToAdminUser()
-
shouldAuthorizeAdminPublicKey
public boolean shouldAuthorizeAdminPublicKey()
-
shouldInstallAdminPrivateKey
public boolean shouldInstallAdminPrivateKey()
-
shouldResetLoginPassword
public boolean shouldResetLoginPassword()
-
getAdminCredentials
public Credentials getAdminCredentials()
-
-