Class AuditEventMapper
java.lang.Object
se.swedenconnect.bankid.idp.audit.AuditEventMapper
Deprecated, for removal: This API element is subject to removal in a future version.
Wrapper for ObjectMapper to handle AuditEvent.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
ConstructorDescriptionAuditEventMapper
(ObjectMapper mapper) Deprecated, for removal: This API element is subject to removal in a future version.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Deserializes AuditEvent from jsonwrite
(AuditEvent event) Deprecated, for removal: This API element is subject to removal in a future version.Serializes AuditEvent to JSON.
-
Constructor Details
-
AuditEventMapper
Deprecated, for removal: This API element is subject to removal in a future version.Constructor.- Parameters:
mapper
- theObjectMapper
-
-
Method Details
-
write
Deprecated, for removal: This API element is subject to removal in a future version.Serializes AuditEvent to JSON.- Parameters:
event
- to serialize- Returns:
- json-string
-
read
Deprecated, for removal: This API element is subject to removal in a future version.Deserializes AuditEvent from json- Parameters:
event
- to deserialize- Returns:
- AuditEvent
-
se.swedenconnect.spring.saml.idp.audit.repository.AuditEventMapper
instead