public AuthenticationRequest startAuthenticationProcess(HttpServletRequest httpRequest) throws ComponentInitializationException, MessageDecodingException, SamlValidationException, SharedServiceClientException, DienstencatalogusException, SamlSessionException {
        BaseHttpServletRequestXMLMessageDecoder decoder = decodeXMLRequest(httpRequest);
        AuthenticationRequest authenticationRequest = createAuthenticationRequest(httpRequest, decoder);
        SAMLBindingContext bindingContext = createAndValidateBindingContext(decoder);
        validateAuthenticationRequest(authenticationRequest);
        parseAuthentication(authenticationRequest);
        validateWithOtherDomainServices(authenticationRequest, bindingContext);
        return authenticationRequest;
    }
@Test //entrance
    public void parseInvalidAuthenticationRequestTest() {
        String samlRequest = readXMLFile(authnRequestEntranceInvalidFile);
        String decodeSAMLRequest = encodeAuthnRequest(samlRequest);
        httpServletRequestMock.setParameter("SAMLRequest", decodeSAMLRequest);

        Exception exception = assertThrows(SamlValidationException.class,
                () -> authenticationService.startAuthenticationProcess(httpServletRequestMock));

        assertEquals("AuthnRequest validation error", exception.getMessage());
    }