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); }
public URI responseURI(String actionUrl) throws ConfigurationException, ProcessingException, IOException { return builder.generateRedirectUri(GeneralConstants.SAML_RESPONSE_KEY, actionUrl, document); }