Interface SshAuth
- All Superinterfaces:
org.jvnet.hk2.config.ConfigBeanProxy
public interface SshAuth
extends org.jvnet.hk2.config.ConfigBeanProxy
A cluster defines a homogeneous set of server instances that share
the same applications, resources, and configuration.
-
Method Summary
Modifier and TypeMethodDescriptionPoints to a key file.SSH Keyfilepassphrase.SSHpassword.Points to a username.voidsetKeyfile(String keyfile) Sets the value of thekeyfileproperty.voidsetKeyPassphrase(String passphrase) Sets the value of thepassphraseproperty.voidsetPassword(String password) Sets the value of thepasswordproperty.voidsetUserName(String userName) Sets the value of theuserNameproperty.Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Method Details
-
getUserName
String getUserName()Points to a username.- Returns:
- a username name
-
setUserName
Sets the value of theuserNameproperty.- Parameters:
userName- allowed object isString- Throws:
PropertyVetoException- if a listener vetoes the change
-
getKeyfile
String getKeyfile()Points to a key file.- Returns:
- a key file name
-
setKeyfile
Sets the value of thekeyfileproperty.- Parameters:
keyfile- allowed object isString- Throws:
PropertyVetoException- if a listener vetoes the change
-
getPassword
String getPassword()SSHpassword.- Returns:
- SSH Password which may be a password alias of the form ${ALIAS=aliasname}
-
setPassword
Sets the value of thepasswordproperty.- Parameters:
password- allowed object isString- Throws:
PropertyVetoException- if a listener vetoes the change
-
getKeyPassphrase
String getKeyPassphrase()SSH Keyfilepassphrase.- Returns:
- SSH keyfile encryption
passphrasewhich may be a password alias of the form ${ALIAS=aliasname}
-
setKeyPassphrase
Sets the value of thepassphraseproperty.- Parameters:
passphrase- allowed object isString- Throws:
PropertyVetoException- if a listener vetoes the change
-