com.cloudbees.jenkins.plugins.sshcredentials.impl
Class BasicSSHUserPassword
java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.jenkins.plugins.sshcredentials.impl.BaseSSHUser
com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPassword
- All Implemented Interfaces:
- SSHUser, SSHUserPassword, com.cloudbees.plugins.credentials.Credentials, hudson.model.Describable<com.cloudbees.plugins.credentials.Credentials>, java.io.Serializable
public class BasicSSHUserPassword
- extends BaseSSHUser
- implements SSHUserPassword
A simple username / password for use with SSH connections.
- See Also:
- Serialized Form
|
Constructor Summary |
BasicSSHUserPassword(com.cloudbees.plugins.credentials.CredentialsScope scope,
java.lang.String id,
java.lang.String username,
java.lang.String password,
java.lang.String description)
Constructor for stapler. |
|
Method Summary |
hudson.util.Secret |
getPassword()
Returns the password. |
| Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials |
getDescriptor, getScope |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.cloudbees.plugins.credentials.Credentials |
getDescriptor, getScope |
BasicSSHUserPassword
@DataBoundConstructor
public BasicSSHUserPassword(com.cloudbees.plugins.credentials.CredentialsScope scope,
java.lang.String id,
java.lang.String username,
java.lang.String password,
java.lang.String description)
- Constructor for stapler.
- Parameters:
scope - the credentials scopeid - username - the username.password - the password.description - the description.
getPassword
@NonNull
public hudson.util.Secret getPassword()
- Returns the password.
- Specified by:
getPassword in interface SSHUserPassword
- Returns:
- the password.
Copyright © 2004-2012. All Rights Reserved.