Interface ExternalAccessLogPublisherCfgClient
- All Superinterfaces:
AccessLogPublisherCfgClient
,CommonAuditAccessLogPublisherCfgClient
,ConfigurationClient
,LogPublisherCfgClient
External Access Log Publishers publish access messages to an external handler.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends ExternalAccessLogPublisherCfgClient,
? extends ExternalAccessLogPublisherCfg> Get the configuration definition associated with this External Access Log Publisher.Gets the "config-file" property.Gets the "java-class" property.Gets the "log-field-blacklist" property.void
setConfigFile
(ValueOrExpression<String> value) Sets the "config-file" property.void
setJavaClass
(ValueOrExpression<String> value) Sets the "java-class" property.void
Sets the "log-field-blacklist" property.Methods inherited from interface org.forgerock.opendj.server.config.client.AccessLogPublisherCfgClient
createAccessLogFilteringCriteria, getAccessLogFilteringCriteria, getFilteringPolicy, isSuppressInternalOperations, isSuppressSynchronizationOperations, listAccessLogFilteringCriteria, removeAccessLogFilteringCriteria, setFilteringPolicy, setSuppressInternalOperations, setSuppressSynchronizationOperations
Methods inherited from interface org.forgerock.opendj.server.config.client.CommonAuditAccessLogPublisherCfgClient
isLogControls, setLogControls
Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, properties
Methods inherited from interface org.forgerock.opendj.server.config.client.LogPublisherCfgClient
isEnabled, setEnabled
-
Method Details
-
definition
ManagedObjectDefinition<? extends ExternalAccessLogPublisherCfgClient,? extends ExternalAccessLogPublisherCfg> definition()Get the configuration definition associated with this External Access Log Publisher.- Specified by:
definition
in interfaceAccessLogPublisherCfgClient
- Specified by:
definition
in interfaceCommonAuditAccessLogPublisherCfgClient
- Specified by:
definition
in interfaceConfigurationClient
- Specified by:
definition
in interfaceLogPublisherCfgClient
- Returns:
- Returns the configuration definition associated with this External Access Log Publisher.
-
getConfigFile
Gets the "config-file" property.The JSON configuration file that defines the External 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 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 Access Log Publisher implementation.
Default value:
org.opends.server.loggers.ExternalAccessLogPublisher
- Specified by:
getJavaClass
in interfaceAccessLogPublisherCfgClient
- Specified by:
getJavaClass
in 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 Access Log Publisher implementation.
- Specified by:
setJavaClass
in interfaceAccessLogPublisherCfgClient
- Specified by:
setJavaClass
in 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.
-