Package org.yamcs.http.audit
Class AuditLog
java.lang.Object
com.google.common.util.concurrent.AbstractService
org.yamcs.http.AbstractHttpService
org.yamcs.http.audit.AuditLog
- All Implemented Interfaces:
com.google.common.util.concurrent.Service
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.google.common.util.concurrent.Service
com.google.common.util.concurrent.Service.Listener, com.google.common.util.concurrent.Service.State
-
Field Summary
Fields inherited from class org.yamcs.http.AbstractHttpService
log
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPrivilegeChecker
(String service, AuditLogPrivilegeChecker checker) void
protected void
doStart()
protected void
doStop()
getServices
(User user) void
init
(HttpServer httpServer) void
listRecords
(String yamcsInstance, int limit, String token, AuditRecordFilter filter, AuditRecordListener consumer) boolean
validateAccess
(String service, User user) Methods inherited from class com.google.common.util.concurrent.AbstractService
addListener, awaitRunning, awaitRunning, awaitRunning, awaitTerminated, awaitTerminated, awaitTerminated, doCancelStart, failureCause, isRunning, notifyFailed, notifyStarted, notifyStopped, startAsync, state, stopAsync, toString
-
Constructor Details
-
AuditLog
public AuditLog()
-
-
Method Details
-
init
- Specified by:
init
in classAbstractHttpService
- Throws:
InitException
-
addPrivilegeChecker
-
validateAccess
-
getServices
-
addRecord
-
listRecords
public void listRecords(String yamcsInstance, int limit, String token, AuditRecordFilter filter, AuditRecordListener consumer) -
doStart
protected void doStart()- Specified by:
doStart
in classcom.google.common.util.concurrent.AbstractService
-
doStop
protected void doStop()- Specified by:
doStop
in classcom.google.common.util.concurrent.AbstractService
-