Interface AuditLogMetadataResolver
@Internal
public interface AuditLogMetadataResolver
Resolves the common properties for the audit log changeset - the author and the current request's address
-
Method Summary
Modifier and TypeMethodDescription
-
Method Details
-
resolveAuthor
AuditLogAuthor resolveAuthor()- Returns:
- the currently authenticated user/application to set as the author of an auditable action
-
resolveIpAddress
- Returns:
- the IP address from the current request or null if no request is currently ongoing. This method takes the trusted proxy settings into account.
-
resolveSource
AuditLogEventSource resolveSource()- Returns:
- the source that should be used for auditing the current event
-