@Test void testGeneratedRequestWithoutRelayState() throws URISyntaxException { RequestHandler requestHandler = new RequestHandler(mockSessionStore, mockConfigHolder, mockServiceProviderConfig); File keystoreFile = new File(RequestHandlerTest.class.getResource("/de/governikus/eumw/eidasmiddleware/bos-test-tctoken.saml-sign.p12") .toURI()); KeyStore keyStore = KeyStoreSupporter.readKeyStore(keystoreFile, DEFAULT_PASSWORD); String request = createSAMLRequest(keyStore, DEFAULT_PASSWORD, "bos-test-tctoken.saml-sign", "http: "http: String tcTokenURL = requestHandler.handleSAMLRequest(request, false); Assertions.assertNotNull(tcTokenURL); }
String handleSAMLRequest(String samlRequestBase64, boolean isPost) { return handleSAMLRequest(null, samlRequestBase64, isPost); }
RequestHandler { String handleSAMLRequest(String samlRequestBase64, boolean isPost) { return handleSAMLRequest(null, samlRequestBase64, isPost); } }
RequestHandler { String handleSAMLRequest(String samlRequestBase64, boolean isPost) { return handleSAMLRequest(null, samlRequestBase64, isPost); } RequestHandler(SessionStore store,
                        ConfigHolder configHolder,
                        ServiceProviderConfig serviceProviderConfig); }
RequestHandler { String handleSAMLRequest(String samlRequestBase64, boolean isPost) { return handleSAMLRequest(null, samlRequestBase64, isPost); } RequestHandler(SessionStore store,
                        ConfigHolder configHolder,
                        ServiceProviderConfig serviceProviderConfig); String handleSAMLRequest(String relayState, String samlRequestBase64, boolean isPost); String getTcTokenURL(String sessionId); }
RequestHandler { String handleSAMLRequest(String samlRequestBase64, boolean isPost) { return handleSAMLRequest(null, samlRequestBase64, isPost); } RequestHandler(SessionStore store,
                        ConfigHolder configHolder,
                        ServiceProviderConfig serviceProviderConfig); String handleSAMLRequest(String relayState, String samlRequestBase64, boolean isPost); String getTcTokenURL(String sessionId); static final String CANNOT_PARSE_SAML_REQUEST; }