Skip to content

Commit 969a275

Browse files
ClientCert param was added in OutputServer class
1 parent 73fc474 commit 969a275

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

splunk/src/main/java/com/splunk/OutputServer.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,15 @@ public String getStatus() {
8989
return getString("status", null);
9090
}
9191

92+
/**
93+
* Returns client certificate path.
94+
*
95+
* @return
96+
*/
97+
public String getClientCert() {
98+
return getString("clientCert", "");
99+
}
100+
92101
/**
93102
* Sets the type of data distribution method when two or more servers
94103
* exist in the same forwarder group. Valid values are: "clone", "balance",
@@ -172,6 +181,15 @@ public void setSslVerifyServerCert(boolean sslVerifyServerCert) {
172181
setCacheValue("sslVerifyServerCert", sslVerifyServerCert);
173182
}
174183

184+
/**
185+
* Sets the client certificate path which is being supported in recent versions.
186+
*
187+
* @param clientCert The path for client certificate.
188+
*/
189+
public void setClientCert(String clientCert) {
190+
setCacheValue("clientCert", clientCert);
191+
}
192+
175193
/**
176194
* Returns an object that contains all current connections to the output
177195
* server.

0 commit comments

Comments
 (0)