Class ElasticsearchAuditEventHandlerConfiguration.ConnectionConfiguration

java.lang.Object
org.forgerock.audit.handlers.elasticsearch.ElasticsearchAuditEventHandlerConfiguration.ConnectionConfiguration
Enclosing class:
ElasticsearchAuditEventHandlerConfiguration

public static class ElasticsearchAuditEventHandlerConfiguration.ConnectionConfiguration extends Object
Configuration of connection to Elasticsearch.
  • Constructor Details

    • ConnectionConfiguration

      public ConnectionConfiguration()
  • Method Details

    • 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 the host for the connection (default localhost).
      Returns:
      The host for the connection.
    • setHost

      public void setHost(String host)
      Sets the host for the connection.
      Parameters:
      host - The host for the connection.
    • getPort

      public int getPort()
      Gets the port for the connection (default 9200).
      Returns:
      The port for the connection.
    • setPort

      public void setPort(int port)
      Sets the port for the connection.
      Parameters:
      port - The port for the connection.
    • getPassword

      public String getPassword()
      Gets Elasticsearch password for HTTP basic authentication.
      Returns:
      The password.
    • setPassword

      public void setPassword(String password)
      Sets Elasticsearch password for HTTP basic authentication.
      Parameters:
      password - The password.
    • getUsername

      public String getUsername()
      Gets Elasticsearch username for HTTP basic authentication.
      Returns:
      The username.
    • setUsername

      public void setUsername(String username)
      Sets Elasticsearch username for HTTP basic authentication.
      Parameters:
      username - The username.