public void sendAuthnRequest()

in saml-authentication-server/src/main/java/jetbrains/buildServer/auth/saml/plugin/SamlAuthenticationScheme.java [90:101]


    public void sendAuthnRequest(@NotNull HttpServletRequest request, @NotNull HttpServletResponse response) throws IOException, SettingsException {
        var samlSettings = buildSettings();
        var auth = new Auth(samlSettings, request, response);
        if (request.getSession() != null) {
            Object urlKey = request.getSession().getAttribute("URL_KEY");
            if (urlKey instanceof String) {
                auth.login((String)urlKey);
                return;
            }
        }
        auth.login();
    }