Class AuditableServerServiceInstanceHandler
java.lang.Object
org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
org.odpi.openmetadata.commonservices.multitenant.AuditableServerServiceInstanceHandler
- Direct Known Subclasses:
GovernanceServerServiceInstanceHandler,OMASServiceInstanceHandler,OMVSServiceInstanceHandler
public abstract class AuditableServerServiceInstanceHandler
extends OMAGServerServiceInstanceHandler
AuditableServerServiceInstanceHandler supports registered services that have an audit log.
-
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.frameworks.auditlog.AuditLoggetAuditLog(String userId, String serverName, String serviceOperationName) Return the audit log for this access service and server.Methods inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
getServerSecurityVerifier, getServiceName, isServerActive, removeServerServiceInstance
-
Method Details
-
getAuditLog
public org.odpi.openmetadata.frameworks.auditlog.AuditLog getAuditLog(String userId, String serverName, String serviceOperationName) throws org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException, org.odpi.openmetadata.commonservices.ffdc.exceptions.UserNotAuthorizedException, org.odpi.openmetadata.commonservices.ffdc.exceptions.PropertyServerException Return the audit log for this access service and server.- Parameters:
userId- calling userIdserverName- name of the server tied to the requestserviceOperationName- name of the REST API call (typically the top-level methodName)- Returns:
- audit log
- Throws:
org.odpi.openmetadata.commonservices.ffdc.exceptions.InvalidParameterException- the server name is not knownorg.odpi.openmetadata.commonservices.ffdc.exceptions.UserNotAuthorizedException- the user is not authorized to issue the request.org.odpi.openmetadata.commonservices.ffdc.exceptions.PropertyServerException- the service name is not known or the metadata collection is not available - indicating a logic error
-