Class BasicSSHUserPrivateKey.UsersPrivateKeySource
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BasicSSHUserPrivateKey.PrivateKeySource>
-
- com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.PrivateKeySource
-
- com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.UsersPrivateKeySource
-
- All Implemented Interfaces:
Describable<BasicSSHUserPrivateKey.PrivateKeySource>
- Enclosing class:
- BasicSSHUserPrivateKey
@Deprecated public static class BasicSSHUserPrivateKey.UsersPrivateKeySource extends BasicSSHUserPrivateKey.PrivateKeySource
Deprecated.This approach has security vulnerability and should be migrated toBasicSSHUserPrivateKey.DirectEntryPrivateKeySource
Let the user
-
-
Constructor Summary
Constructors Constructor Description UsersPrivateKeySource()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>
getPrivateKeys()
Deprecated.Gets the private key from the sourcelong
getPrivateKeysLastModified()
Deprecated.Returns a revision count or a timestamp (in either case strictly increasing after changes to the private keys)-
Methods inherited from class com.cloudbees.jenkins.plugins.sshcredentials.impl.BasicSSHUserPrivateKey.PrivateKeySource
isSnapshotSource
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Method Detail
-
getPrivateKeys
@NonNull public List<String> getPrivateKeys()
Deprecated.Gets the private key from the source- Specified by:
getPrivateKeys
in classBasicSSHUserPrivateKey.PrivateKeySource
-
getPrivateKeysLastModified
public long getPrivateKeysLastModified()
Deprecated.Description copied from class:BasicSSHUserPrivateKey.PrivateKeySource
Returns a revision count or a timestamp (in either case strictly increasing after changes to the private keys)- Overrides:
getPrivateKeysLastModified
in classBasicSSHUserPrivateKey.PrivateKeySource
- Returns:
- a revision count or a timestamp.
-
-