Interface ExternalHttpAccessLogPublisherCfgClient
- All Superinterfaces:
ConfigurationClient,HttpAccessLogPublisherCfgClient,LogPublisherCfgClient
External HTTP Access Log Publishers publish HTTP access messages to an external handler.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends ExternalHttpAccessLogPublisherCfgClient,? extends ExternalHttpAccessLogPublisherCfg> Get the configuration definition associated with this External HTTP Access Log Publisher.Gets the "config-file" property.Gets the "java-class" property.Gets the "log-field-blacklist" property.Gets the "log-field-whitelist" property.voidsetConfigFile(ValueOrExpression<String> value) Sets the "config-file" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidSets the "log-field-blacklist" property.voidSets the "log-field-whitelist" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, propertiesMethods inherited from interface org.forgerock.opendj.server.config.client.LogPublisherCfgClient
isEnabled, setEnabled
-
Method Details
-
definition
ManagedObjectDefinition<? extends ExternalHttpAccessLogPublisherCfgClient,? extends ExternalHttpAccessLogPublisherCfg> definition()Get the configuration definition associated with this External HTTP Access Log Publisher.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfaceHttpAccessLogPublisherCfgClient- Specified by:
definitionin interfaceLogPublisherCfgClient- Returns:
- Returns the configuration definition associated with this External HTTP Access Log Publisher.
-
getConfigFile
Gets the "config-file" property.The JSON configuration file that defines the External HTTP Access Log Publisher. The content of the JSON configuration file depends on the type of external audit event handler. The path to the file is relative to the server root.
Default value is undefined
- Returns:
- Returns the value of the "config-file" property.
-
setConfigFile
Sets the "config-file" property.The JSON configuration file that defines the External HTTP Access Log Publisher. The content of the JSON configuration file depends on the type of external audit event handler. The path to the file is relative to the server root.
- Parameters:
value- The value of the "config-file" property.- Throws:
PropertyException- If the new value is invalid.
-
getJavaClass
Gets the "java-class" property.The fully-qualified name of the Java class that provides the External HTTP Access Log Publisher implementation.
Default value:
org.opends.server.loggers.CommonAuditHTTPAccessLogPublisher- Specified by:
getJavaClassin interfaceHttpAccessLogPublisherCfgClient- Specified by:
getJavaClassin interfaceLogPublisherCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.The fully-qualified name of the Java class that provides the External HTTP Access Log Publisher implementation.
- Specified by:
setJavaClassin interfaceHttpAccessLogPublisherCfgClient- Specified by:
setJavaClassin interfaceLogPublisherCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getLogFieldBlacklist
SortedSet<ValueOrExpression<String>> getLogFieldBlacklist()Gets the "log-field-blacklist" property.List of fields that the server omits from access log messages.
Valid values for this property are JSON paths for fields present in the log file.
- Returns:
- Returns the values of the "log-field-blacklist" property.
-
setLogFieldBlacklist
Sets the "log-field-blacklist" property.List of fields that the server omits from access log messages.
Valid values for this property are JSON paths for fields present in the log file.
- Parameters:
values- The values of the "log-field-blacklist" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getLogFieldWhitelist
SortedSet<ValueOrExpression<String>> getLogFieldWhitelist()Gets the "log-field-whitelist" property.List of fields that the server includes in access log messages.
Valid values for this property are JSON paths for fields present in the log file.
- Returns:
- Returns the values of the "log-field-whitelist" property.
-
setLogFieldWhitelist
Sets the "log-field-whitelist" property.List of fields that the server includes in access log messages.
Valid values for this property are JSON paths for fields present in the log file.
- Parameters:
values- The values of the "log-field-whitelist" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-