* @throws ProcessingException
* @throws NoSuchAlgorithmException
*/
private void processSAMLAssertion(Document assertionDocument) throws ParsingException, ConfigurationException,
ProcessingException, NoSuchAlgorithmException {
NameIDType issuerSPNameID = new NameIDType();
issuerSPNameID.setValue(IDENTITY_PROVIDER_URL);
DefaultSAML2HandlerRequest handlerAssertionResponseRequest = new DefaultSAML2HandlerRequest(new HTTPContext(
new MockHttpServletRequest(new MockHttpSession(), "POST"), new MockHttpServletResponse(), servletContext),
issuerSPNameID, new SAMLDocumentHolder(new SAML2Response().getSAML2ObjectFromStream(DocumentUtil
.getNodeAsStream(assertionDocument)), assertionDocument), HANDLER_TYPE.SP);