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
- HttpServletResponse
willSendRequest
- whether it is a SAML request or response so that the page title can be setIOException
public void sendRedirectForRequestor(String url, HttpServletResponse response) throws IOException
url
- the redirect urlresponse
- HttpServletResponse
IOException
public void sendRedirectForResponder(String destination, HttpServletResponse response) throws IOException
destination
- the destination urlresponse
- HttpServletResponse
IOException
Copyright © 2016 JBoss by Red Hat. All rights reserved.