Package swiss.trustbroker.config.dto
Class OpsAuditConfig
java.lang.Object
swiss.trustbroker.config.dto.OpsAuditConfig
CID (client identifying data) auditing configuration.
- Since:
- 1.8.0
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFields to be considered CID by property names of swiss.trustbroker.audit.dto.AuditDto.inthashCode()booleanEnable CID free logging on the log group swiss.trustbroker.audit.service.OpsAuditLogger.voidsetCidFields(Map<String, Boolean> cidFields) Fields to be considered CID by property names of swiss.trustbroker.audit.dto.AuditDto.voidsetEnabled(boolean enabled) Enable CID free logging on the log group swiss.trustbroker.audit.service.OpsAuditLogger.toString()
-
Constructor Details
-
OpsAuditConfig
public OpsAuditConfig()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Enable CID free logging on the log group swiss.trustbroker.audit.service.OpsAuditLogger.
You need to enable the log group as well This is not controlled by the log level of the log group alone as commonly INFO is enabled for the whole of swiss.trustbroker.
Default: false -
getCidFields
Fields to be considered CID by property names of swiss.trustbroker.audit.dto.AuditDto.
Note: This map might potentially be used to define defaults for Definitions, hence the boolean value. Currently, setting a field to false is equivalent to not configuring it, you might still use that to document that you considered the field not CID. -
setEnabled
public void setEnabled(boolean enabled) Enable CID free logging on the log group swiss.trustbroker.audit.service.OpsAuditLogger.
You need to enable the log group as well This is not controlled by the log level of the log group alone as commonly INFO is enabled for the whole of swiss.trustbroker.
Default: false -
setCidFields
Fields to be considered CID by property names of swiss.trustbroker.audit.dto.AuditDto.
Note: This map might potentially be used to define defaults for Definitions, hence the boolean value. Currently, setting a field to false is equivalent to not configuring it, you might still use that to document that you considered the field not CID. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-