throw logger.processingError(e);
}
Map<String, Object> requestOptions = request.getOptions();
PicketLinkAuditHelper auditHelper = (PicketLinkAuditHelper) requestOptions.get(GeneralConstants.AUDIT_HELPER);
if (auditHelper != null) {
PicketLinkAuditEvent auditEvent = new PicketLinkAuditEvent(AuditLevel.INFO);
auditEvent.setWhoIsAuditing((String) requestOptions.get(GeneralConstants.CONTEXT_PATH));
auditEvent.setType(PicketLinkAuditEventType.INVALIDATE_HTTP_SESSION);
auditEvent.setHttpSessionID(httpSession.getId());
auditHelper.audit(auditEvent);
}
httpSession.invalidate(); // We are done with the logout interaction
} else {
// Put the participant in transit mode