Class BasicSSHUserPassword

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.jenkins.plugins.sshcredentials.impl.BaseSSHUser
com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPassword
All Implemented Interfaces:
SSHUser, SSHUserPassword, com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.PasswordCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials, com.cloudbees.plugins.credentials.common.UsernameCredentials, com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials, com.cloudbees.plugins.credentials.Credentials, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable

@ResolveWith(ResolverImpl.class) @Deprecated public class BasicSSHUserPassword extends BaseSSHUser implements SSHUserPassword
Deprecated.
use UsernamePasswordCredentialsImpl
A simple username / password for use with SSH connections.
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Deprecated.
    Resolve credentials for legacy code.

    Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    com.cloudbees.plugins.credentials.common.IdCredentials.Helpers

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardUsernameCredentials

    com.cloudbees.plugins.credentials.common.StandardUsernameCredentials.NameProvider

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials

    com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials.NameProvider
  • Field Summary

    Fields inherited from class com.cloudbees.jenkins.plugins.sshcredentials.impl.BaseSSHUser

    username
  • Constructor Summary

    Constructors
    Constructor
    Description
    BasicSSHUserPassword(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String username, String password, String description)
    Deprecated.
    Constructor for stapler.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    protected Object
    Deprecated.
     

    Methods inherited from class com.cloudbees.jenkins.plugins.sshcredentials.impl.BaseSSHUser

    getUsername, isUsernameSecret, setUsernameSecret

    Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    equals, getDescription, getId, hashCode

    Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials

    getDescriptor, getScope

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

    forRun, getDescriptor, getScope

    Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    getId

    Methods inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    getDescription

    Methods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials

    getUsername, isUsernameSecret
  • Constructor Details

    • BasicSSHUserPassword

      public BasicSSHUserPassword(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String username, String password, String description)
      Deprecated.
      Constructor for stapler.
      Parameters:
      scope - the credentials scope
      id -
      username - the username.
      password - the password.
      description - the description.
  • Method Details

    • getPassword

      @NonNull public Secret getPassword()
      Deprecated.
      Specified by:
      getPassword in interface com.cloudbees.plugins.credentials.common.PasswordCredentials
    • readResolve

      protected Object readResolve()
      Deprecated.
      Overrides:
      readResolve in class BaseSSHUser