public class CommonAuditHttpAccessAuditFilter extends Object implements org.forgerock.http.Filter
Constructor and Description |
---|
CommonAuditHttpAccessAuditFilter(RequestHandler auditServiceHandler,
Clock clock)
Constructs a new HttpAccessAuditFilter.
|
Modifier and Type | Method and Description |
---|---|
Promise<org.forgerock.http.protocol.Response,NeverThrowsException> |
filter(org.forgerock.services.context.Context context,
org.forgerock.http.protocol.Request request,
org.forgerock.http.Handler next) |
public CommonAuditHttpAccessAuditFilter(RequestHandler auditServiceHandler, Clock clock)
auditServiceHandler
- The RequestHandler
to publish the events.clock
- The Clock
to use.public Promise<org.forgerock.http.protocol.Response,NeverThrowsException> filter(org.forgerock.services.context.Context context, org.forgerock.http.protocol.Request request, org.forgerock.http.Handler next)
filter
in interface org.forgerock.http.Filter
Copyright 2010-2018 ForgeRock AS.