Merge branch 'master' of github.com:jamesagnew/hapi-fhir
This commit is contained in:
commit
533339c92c
|
@ -115,6 +115,10 @@ public class AuditingInterceptor extends InterceptorAdapter {
|
||||||
log.debug("No auditing configured.");
|
log.debug("No auditing configured.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if(theResponseObject == null || theResponseObject.isEmpty()){
|
||||||
|
log.debug("No bundle to audit");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
try{
|
try{
|
||||||
log.info("Auditing bundle: " + theResponseObject + " from request " + theRequestDetails);
|
log.info("Auditing bundle: " + theResponseObject + " from request " + theRequestDetails);
|
||||||
SecurityEvent auditEvent = new SecurityEvent();
|
SecurityEvent auditEvent = new SecurityEvent();
|
||||||
|
@ -164,6 +168,10 @@ public class AuditingInterceptor extends InterceptorAdapter {
|
||||||
log.debug("No auditing configured.");
|
log.debug("No auditing configured.");
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if(theResponseObject == null){
|
||||||
|
log.debug("No object to audit");
|
||||||
|
return true;
|
||||||
|
}
|
||||||
try{
|
try{
|
||||||
log.info("Auditing resource: " + theResponseObject + " from request: " + theRequestDetails);
|
log.info("Auditing resource: " + theResponseObject + " from request: " + theRequestDetails);
|
||||||
SecurityEvent auditEvent = new SecurityEvent();
|
SecurityEvent auditEvent = new SecurityEvent();
|
||||||
|
|
Loading…
Reference in New Issue