Exemplo n.º 1
0
    public URI generateURI(String redirectUri, boolean asRequest)
        throws ConfigurationException, ProcessingException, IOException {
      String samlParameterName = GeneralConstants.SAML_RESPONSE_KEY;

      if (asRequest) {
        samlParameterName = GeneralConstants.SAML_REQUEST_KEY;
      }

      return builder.generateRedirectUri(samlParameterName, redirectUri, document);
    }
Exemplo n.º 2
0
 public URI responseURI(String actionUrl)
     throws ConfigurationException, ProcessingException, IOException {
   return builder.generateRedirectUri(GeneralConstants.SAML_RESPONSE_KEY, actionUrl, document);
 }