public interface RequestHttpObject<T extends RequestAbstractType>
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getHttpHeaders()
Returns a mapping of header names and values that should be used when sending the request.
|
String |
getMethod()
Returns the HTTP method that should be used to send the request, via the user agent, to the Identity Provider.
|
T |
getRequest()
Returns the actual request (for easy access to its elements).
|
Map<String,String> |
getRequestParameters()
If the
getMethod() returns "POST" the request should be posted to the Identity Provider. |
String |
getSendUrl()
Returns the complete URL that the SP application should use when the user agent is sent to the Identity Provider.
|
String getSendUrl()
For a redirect, this URL could look something like: https://www.theidp.com/auth?SAMLRequest=<encoded request>&RelayState=abcd
.
String getMethod()
Map<String,String> getRequestParameters()
getMethod()
returns "POST" the request should be posted to the Identity Provider. The request
parameters are represented using a Map where the entries represent parameter names and values.
Note: for the "GET" method this method returns null
.
Map<String,String> getHttpHeaders()
T getRequest()
Copyright © 2018 Litsec AB. All rights reserved.