@Test void testPOST() { RequestHandler requestHandler = new RequestHandler(mockSessionStore, mockConfigHolder, mockServiceProviderConfig); String tcTokenURL = requestHandler.handleSAMLRequest(RELAY_STATE, POST_REQUEST, true); 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; }