Class SettableAuditLogMedatataResolver
java.lang.Object
com.atlassian.crowd.manager.audit.SettableAuditLogMedatataResolver
- All Implemented Interfaces:
AuditLogMetadataResolver
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
SettableAuditLogMedatataResolver
public SettableAuditLogMedatataResolver()
-
-
Method Details
-
resolveAuthor
- Specified by:
resolveAuthor
in interfaceAuditLogMetadataResolver
- Returns:
- the currently authenticated user/application to set as the author of an auditable action
-
resolveIpAddress
- Specified by:
resolveIpAddress
in interfaceAuditLogMetadataResolver
- 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
- Specified by:
resolveSource
in interfaceAuditLogMetadataResolver
- Returns:
- the source that should be used for auditing the current event
-
setSource
-
reset
public void reset()
-