in src/main/java/org/apache/sling/auth/saml2/impl/AuthenticationHandlerSAML2Impl.java [612:620]
private void redirectToGotoURL(HttpServletRequest req, HttpServletResponse resp) {
String gotoURL = (String)req.getSession().getAttribute(GOTO_URL_SESSION_ATTRIBUTE);
logger.info("Redirecting to requested URL: {}", gotoURL);
try {
resp.sendRedirect(gotoURL);
} catch (IOException e) {
throw new SAML2RuntimeException(e);
}
}