Skip to content

Commit 9eb3bed

Browse files
Merge pull request #79 from Vlatombe/generic-tls-credentials
Make the credentials label more generic
2 parents 4dca3e2 + 0875b60 commit 9eb3bed

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/main/java/org/jenkinsci/plugins/docker/commons/credentials/DockerServerCredentials.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,13 @@
3333
import javax.annotation.CheckForNull;
3434

3535
/**
36-
* Represents the connection details to talk to a docker host, which involves
36+
* Represents the connection details to talk to a TLS server, which involves
3737
* endpoint URI, optional client secret key & certificate, and optional CA certificate
3838
* to verify the server.
3939
*
4040
* @author Kohsuke Kawaguchi
4141
* @see DockerServerEndpoint
4242
*/
43-
// TODO migrate to a standard type once we have a certificate type that we can migrate to
4443
public class DockerServerCredentials extends BaseStandardCredentials {
4544

4645
@CheckForNull
@@ -116,7 +115,7 @@ public String getServerCaCertificate() {
116115
public static class DescriptorImpl extends BaseStandardCredentialsDescriptor {
117116
@Override
118117
public String getDisplayName() {
119-
return "Docker Host Certificate Authentication";
118+
return "X.509 Client Certificate";
120119
}
121120

122121
}

0 commit comments

Comments
 (0)