try {
ServiceProviderSAMLRequestProcessor requestProcessor = new ServiceProviderSAMLRequestProcessor(
request.getMethod().equals("POST"), this.serviceURL);
requestProcessor.setTrustKeyManager(keyManager);
requestProcessor.setConfiguration(spConfiguration);
boolean result = requestProcessor.process(samlRequest, httpContext, handlers, chainLock);
if (enableAudit) {
PicketLinkAuditEvent auditEvent = new PicketLinkAuditEvent(AuditLevel.INFO);
auditEvent.setType(PicketLinkAuditEventType.REQUEST_FROM_IDP);
auditEvent.setWhoIsAuditing(getContextPath());