public static void processSamlResponse(HttpServletRequest request,HttpServletResponse response,PrintWriter out) throws IOException {
  String url=getUrl(request,response);
  XUIState xuiState=InjectorHolder.getInstance(XUIState.class);
  if (xuiState.isXUIEnabled()) {
    response.sendRedirect(url);
  }
 else {
    out.println(getAutoSubmittingFormHtml(url));
  }
}

public static void processSamlResponse ( HttpServletRequest request , HttpServletResponse response , PrintWriter out ) throws IOException { String url = getUrl ( request , response ) ; XUIState xuiState = InjectorHolder . getInstance ( XUIState . class ) ; if ( xuiState . isXUIEnabled ( ) ) { response . sendRedirect ( url ) ; } else { out . println ( getAutoSubmittingFormHtml ( url ) ) ; } }
processes the saml response for the saml2 authentication module and then directs the user back to the authentication process differently for xui and non - xui cases .
