Class ConfluenceAuditIpAddressProvider
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.audit.ConfluenceAuditIpAddressProvider
-
- All Implemented Interfaces:
com.atlassian.audit.core.spi.service.IpAddressProvider
public class ConfluenceAuditIpAddressProvider extends Object implements com.atlassian.audit.core.spi.service.IpAddressProvider
This SPI defines how IP address will be stored in audit events- Since:
- 7.5.0
-
-
Constructor Summary
Constructors Constructor Description ConfluenceAuditIpAddressProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
currentIpAddress()
Optional<String>
forwarderIpAddress()
String
remoteIpAddress()
-
-
-
Method Detail
-
currentIpAddress
@Nullable public String currentIpAddress()
- Specified by:
currentIpAddress
in interfacecom.atlassian.audit.core.spi.service.IpAddressProvider
-
remoteIpAddress
@Nullable public String remoteIpAddress()
- Specified by:
remoteIpAddress
in interfacecom.atlassian.audit.core.spi.service.IpAddressProvider
-
-