Class HtmlResponseTemplate

java.lang.Object
ddf.security.samlp.impl.HtmlResponseTemplate

public class HtmlResponseTemplate extends Object
  • Method Details

    • getPostPage

      public static String getPostPage(String targetUrl, SamlProtocol.Type type, String samlValue, String relayState)
      Gets a Form Submit page with containing the specified information. Will turn any null Strings into blank Strings.
      Parameters:
      targetUrl - Destination URL
      type - the SamlProtocol.Type
      samlValue - Base64 encoded saml object
      relayState - the relay State
      Returns:
      Formatted Form submit page
    • getRedirectPage

      public static String getRedirectPage(String targetUrl)
      Gets a Redirect page containing the specified information. Will turn any null Strings into blank Strings.
      Parameters:
      targetUrl - Destination URL
      Returns:
      Formatted Redirect Page