Class VaultUsernamePasswordCredentialImpl

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.datapipe.jenkins.vault.credentials.common.AbstractVaultBaseStandardCredentials
com.datapipe.jenkins.vault.credentials.common.VaultUsernamePasswordCredentialImpl
All Implemented Interfaces:
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, VaultUsernamePasswordCredential, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable

public class VaultUsernamePasswordCredentialImpl extends AbstractVaultBaseStandardCredentials implements VaultUsernamePasswordCredential
See Also:
  • Field Details

  • Constructor Details

    • VaultUsernamePasswordCredentialImpl

      @DataBoundConstructor public VaultUsernamePasswordCredentialImpl(com.cloudbees.plugins.credentials.CredentialsScope scope, String id, String description)
  • Method Details

    • getUsernameKey

      @NonNull public String getUsernameKey()
    • setUsernameKey

      @DataBoundSetter public void setUsernameKey(String usernameKey)
    • getPasswordKey

      @NonNull public String getPasswordKey()
    • setPasswordKey

      @DataBoundSetter public void setPasswordKey(String passwordKey)
    • getUsername

      @NonNull public String getUsername()
      Specified by:
      getUsername in interface com.cloudbees.plugins.credentials.common.UsernameCredentials
    • getPassword

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