public void auditNodeAuthenticationFailure(boolean mitigationSuccessful,
			String reportingActor, String reportingProcess, 
			String failedActor,
    		String failedUri, String failureDescription)
	{
		if (!isAuditorEnabled()) {
			return;
		}
		RFC3881EventOutcomeCodes eventOutcome;
		if (mitigationSuccessful) {
			eventOutcome = RFC3881EventCodes.RFC3881EventOutcomeCodes.SERIOUS_FAILURE;
		} else {
			eventOutcome = RFC3881EventCodes.RFC3881EventOutcomeCodes.MAJOR_FAILURE;
		}
		SecurityAlertEvent alertEvent = new SecurityAlertEvent(eventOutcome, new DICOMEventTypeCodes.NodeAuthentication());
		alertEvent.setAuditSourceId(getAuditSourceId(), getAuditEnterpriseSiteId());
		if (!EventUtils.isEmptyOrNull(reportingActor)) {
			alertEvent.addReportingUser(reportingActor);
		}
		if (!EventUtils.isEmptyOrNull(reportingProcess)) {
			alertEvent.addReportingUser(reportingProcess);
		}
		if (!EventUtils.isEmptyOrNull(failedActor)) {
			alertEvent.addActiveParticipant(failedActor);
		}
		alertEvent.addURIParticipantObject(failedUri, failureDescription);
		audit(alertEvent);
	}
public void auditNodeAuthenticationFailure ( boolean mitigationSuccessful , String reportingActor , String reportingProcess , String failedActor , String failedUri , String failureDescription ) { if ( ! isAuditorEnabled ( ) ) { return ; } RFC3881EventOutcomeCodes eventOutcome ; if ( mitigationSuccessful ) { eventOutcome = RFC3881EventCodes . RFC3881EventOutcomeCodes . SERIOUS_FAILURE ; } else { eventOutcome = RFC3881EventCodes . RFC3881EventOutcomeCodes . MAJOR_FAILURE ; } SecurityAlertEvent alertEvent = new SecurityAlertEvent ( eventOutcome , new DICOMEventTypeCodes . NodeAuthentication ( ) ) ; alertEvent . setAuditSourceId ( getAuditSourceId ( ) , getAuditEnterpriseSiteId ( ) ) ; if ( ! EventUtils . isEmptyOrNull ( reportingActor ) ) { alertEvent . addReportingUser ( reportingActor ) ; } if ( ! EventUtils . isEmptyOrNull ( reportingProcess ) ) { alertEvent . addReportingUser ( reportingProcess ) ; } if ( ! EventUtils . isEmptyOrNull ( failedActor ) ) { alertEvent . addActiveParticipant ( failedActor ) ; } alertEvent . addURIParticipantObject ( failedUri , failureDescription ) ; audit ( alertEvent ) ; }
Sends a DICOM Security Alert / Node Authentication event message for
node authentication failures.  Based on DICOM Supplement 95 specifications,
if the security successfully mitigated a PHI leak, then
an event outcome indicator of "SERIOUS FAILURE" is sent.  Otherwise, an
event outcome indicator of "MAJOR FAILURE" is sent.

@param mitigationSuccessful Whether the system's security mitigated a PHI leak
@param reportingActor Name of the actor reporting the authentication failure
@param reportingProcess Name of the process reporting the authentication failure
@param failedActor The actor that failed to authenticate
@param failedUri The URI the actor attempted to access
@param failureDescription A textual description of the failure