sso/src/main/java/com/streamsets/lib/security/http/SSOUserAuthenticator.java
String getLoginUrl(HttpServletRequest request, boolean repeatedRedirect) {
    String requestUrl = getRequestUrl(request, TOKEN_PARAM_SET).toString();
    return getSsoService().createRedirectToLoginUrl(requestUrl, repeatedRedirect);
  }
String getLoginUrl(HttpServletRequest request, boolean repeatedRedirect) {
    String requestUrl = getRequestUrl(request, TOKEN_PARAM_SET).toString();
    return getSsoService().createRedirectToLoginUrl(requestUrl, repeatedRedirect);
  }
/*
Creates Login url with request URL as parameter for a callback redirection on a successful login.