public void initializeSession(AuthenticationRequest authenticationRequest, SAMLBindingContext bindingContext) throws SamlSessionException, SharedServiceClientException {
        final String httpSessionId = authenticationRequest.getRequest().getSession().getId();

        if (authenticationRequest.getFederationName() != null) {
            findOrInitializeFederationSession(authenticationRequest, httpSessionId);
        }

        findOrInitializeSamlSession(authenticationRequest, httpSessionId, bindingContext);
    }
@Test
    public void noSupportedIDPTest() throws SamlSessionException, SharedServiceClientException {
        IDPList idpList = OpenSAMLUtils.buildSAMLObject(IDPList.class);
        IDPEntry idpEntry = OpenSAMLUtils.buildSAMLObject(IDPEntry.class);
        idpEntry.setProviderID("OtherIdP");

        Scoping scoping = OpenSAMLUtils.buildSAMLObject(Scoping.class);
        scoping.setIDPList(idpList);

        authnRequest.setScoping(scoping);
        authnRequest.getScoping().getIDPList().getIDPEntrys().add(idpEntry);
        samlSessionService.initializeSession(authenticationRequest, bindingContext);

        assertNull(authenticationRequest.getSamlSession().getIdpEntries());
        assertEquals(authenticationRequest.getSamlSession().getValidationStatus(), STATUS_INVALID.label);
    }