-
InterfaceDescriptionuse
StandardUsernamePasswordCredentials
-
ClassDescriptionuse
UsernamePasswordCredentialsImpl
This approach has security vulnerability and should be migrated toBasicSSHUserPrivateKey.DirectEntryPrivateKeySource
This approach has security vulnerability and should be migrated toBasicSSHUserPrivateKey.DirectEntryPrivateKeySource
UseStandardUsernameListBoxModel
withSSHAuthenticator
instead.
-
MethodDescriptionno more used since FileOnMaster- and Users- PrivateKeySource are deprecated tooas of 0.3 Use
SSHAuthenticator.authenticate(TaskListener)
and provide a listener to receive errors.UseCredentialsMatchers.filter(List, CredentialsMatcher)
andSSHAuthenticator.matcher(Class)
useAbstractIdCredentialsListBoxModel.with(com.cloudbees.plugins.credentials.common.IdCredentials)
useAbstractIdCredentialsListBoxModel.withMatching(CredentialsMatcher, Iterable)
orAbstractIdCredentialsListBoxModel.withAll(Iterable)
-
ConstructorDescription
StandardUsernameCredentials
as the common class.