public class RemoteAddressResolver extends Object implements EventProcessor<AuditEvent>
This processor extracts a possible original remote IP from the Http request header and places it into the REMOTE_ADDR variable. This may be useful for load-balancing setups, which mangle the real IP address of the remote client.
DELETE_FLAG| Constructor and Description |
|---|
RemoteAddressResolver() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFrom() |
AuditEvent |
processEvent(AuditEvent event,
Map<String,Object> context)
This method is called upon event reception.
|
void |
setFrom(String from) |
public String getFrom()
public void setFrom(String from)
public AuditEvent processEvent(AuditEvent event, Map<String,Object> context) throws Exception
EventProcessorprocessEvent in interface EventProcessor<AuditEvent>ExceptionEventProcessor.processEvent(org.jwall.audit.Event,
java.util.Map)Copyright © 2015 jwall.org. All Rights Reserved.