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
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.commonservices.multitenant.OMAGServerServiceInstanceHandler
platformInstanceMap, serviceName
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, getServerServiceInstance, getServiceName, isServerActive, removeServerServiceInstance
-
-
-
-
Method Detail
-
getAuditLog
public AuditLog getAuditLog(String userId, String serverName, String serviceOperationName) throws InvalidParameterException, UserNotAuthorizedException, 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:
InvalidParameterException- the server name is not knownUserNotAuthorizedException- the user is not authorized to issue the request.PropertyServerException- the service name is not known or the metadata collection is not available - indicating a logic error
-
-