public static class ServiceProviderSAMLWorkflow.RedirectionHandler extends Object
Constructor and Description |
---|
RedirectionHandler() |
Modifier and Type | Method and Description |
---|---|
void |
sendPost(DestinationInfoHolder destinationHolder,
javax.servlet.http.HttpServletResponse response,
boolean willSendRequest)
Send the payload via HTTP/POST
|
void |
sendRedirectForRequestor(String url,
javax.servlet.http.HttpServletResponse response)
Send the payload via HTTP/REDIRECT
|
void |
sendRedirectForResponder(String destination,
javax.servlet.http.HttpServletResponse response)
Send the payload via HTTP/REDIRECT
|
public void sendPost(DestinationInfoHolder destinationHolder, javax.servlet.http.HttpServletResponse response, boolean willSendRequest) throws IOException
destinationHolder
- DestinationInfoHolder
holds info on the destinationresponse
- HttpServletResponse
willSendRequest
- whether it is a SAML request or response so that the page title can be setIOException
public void sendRedirectForRequestor(String url, javax.servlet.http.HttpServletResponse response) throws IOException
url
- the redirect urlresponse
- HttpServletResponse
IOException
public void sendRedirectForResponder(String destination, javax.servlet.http.HttpServletResponse response) throws IOException
destination
- the destination urlresponse
- HttpServletResponse
IOException
Copyright © 2018. All rights reserved.