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