public class HtmlResponseTemplate extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getPostPage(String targetUrl,
SamlProtocol.Type type,
String samlValue,
String relayState)
Gets a Form Submit page with containing the specified information.
|
static String |
getRedirectPage(String targetUrl)
Gets a Redirect page containing the specified information.
|
public static String getPostPage(String targetUrl, SamlProtocol.Type type, String samlValue, String relayState)
targetUrl
- Destination URLtype
- the SamlProtocol.Type
samlValue
- Base64 encoded saml objectrelayState
- the relay StateThis work is licensed under a Creative Commons Attribution 4.0 International License.