Class SplunkAuditEventHandlerConfiguration.ConnectionConfiguration
java.lang.Object
org.forgerock.audit.handlers.splunk.SplunkAuditEventHandlerConfiguration.ConnectionConfiguration
- Enclosing class:
- SplunkAuditEventHandlerConfiguration
public static final class SplunkAuditEventHandlerConfiguration.ConnectionConfiguration
extends Object
Configuration of connection to Splunk.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetHost()Gets thehostfor the connection (defaultlocalhost).intgetPort()Gets theportfor the connection (default8088).booleanisUseSSL()Indicates if the connection uses SSL.voidSets thehostfor the connection.voidsetPort(int port) Sets theportfor the connection.voidsetUseSSL(boolean useSSL) Sets the use of a SSL connection.
-
Constructor Details
-
ConnectionConfiguration
public ConnectionConfiguration()
-
-
Method Details
-
isUseSSL
public boolean isUseSSL()Indicates if the connection uses SSL.- Returns:
truewhen the connection uses SSL.
-
setUseSSL
public void setUseSSL(boolean useSSL) Sets the use of a SSL connection.- Parameters:
useSSL-truewhen the connection uses SSL.
-
getHost
Gets thehostfor the connection (defaultlocalhost).- Returns:
- The
hostfor the connection.
-
setHost
Sets thehostfor the connection.- Parameters:
host- Thehostfor the connection.
-
getPort
public int getPort()Gets theportfor the connection (default8088).- Returns:
- The
portfor the connection.
-
setPort
public void setPort(int port) Sets theportfor the connection.- Parameters:
port- Theportfor the connection.
-