org.jclouds.scriptbuilder.statements.login
Class AdminAccess.Config

java.lang.Object
  extended by org.jclouds.scriptbuilder.statements.login.AdminAccess.Config
Enclosing class:
AdminAccess

protected static class AdminAccess.Config
extends Object


Constructor Summary
protected AdminAccess.Config(String adminUsername, 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
 Credentials getAdminCredentials()
           
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminAccess.Config

protected AdminAccess.Config(@Nullable
                             String adminUsername,
                             @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()

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()

getCryptFunction

public com.google.common.base.Function<String,String> getCryptFunction()

getAdminCredentials

public Credentials getAdminCredentials()


Copyright © 2009-2011 jclouds. All Rights Reserved.