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 Constructor Description ConnectionConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getHost()
Gets thehost
for the connection (defaultlocalhost
).int
getPort()
Gets theport
for the connection (default8088
).boolean
isUseSSL()
Indicates if the connection uses SSL.void
setHost(String host)
Sets thehost
for the connection.void
setPort(int port)
Sets theport
for the connection.void
setUseSSL(boolean useSSL)
Sets the use of a SSL connection.
-
-
-
Method Detail
-
isUseSSL
public boolean isUseSSL()
Indicates if the connection uses SSL.- Returns:
true
when the connection uses SSL.
-
setUseSSL
public void setUseSSL(boolean useSSL)
Sets the use of a SSL connection.- Parameters:
useSSL
-true
when the connection uses SSL.
-
getHost
public String getHost()
Gets thehost
for the connection (defaultlocalhost
).- Returns:
- The
host
for the connection.
-
setHost
public void setHost(String host)
Sets thehost
for the connection.- Parameters:
host
- Thehost
for the connection.
-
getPort
public int getPort()
Gets theport
for the connection (default8088
).- Returns:
- The
port
for the connection.
-
setPort
public void setPort(int port)
Sets theport
for the connection.- Parameters:
port
- Theport
for the connection.
-
-