public class UndertowRedirectionHandler extends ServiceProviderSAMLWorkflow.RedirectionHandler
ServiceProviderSAMLWorkflow.RedirectionHandler
for Undertow| Constructor and Description |
|---|
UndertowRedirectionHandler(HttpServerExchange httpServerExchange) |
| Modifier and Type | Method and Description |
|---|---|
void |
sendPost(DestinationInfoHolder holder,
HttpServletResponse response,
boolean willSendRequest)
Send the payload via HTTP/POST
|
void |
sendRedirectForRequestor(String destination,
HttpServletResponse response)
Send the payload via HTTP/REDIRECT
|
void |
sendRedirectForResponder(String destination,
HttpServletResponse response)
Send the payload via HTTP/REDIRECT
|
public UndertowRedirectionHandler(HttpServerExchange httpServerExchange)
public void sendPost(DestinationInfoHolder holder, HttpServletResponse response, boolean willSendRequest) throws IOException
ServiceProviderSAMLWorkflow.RedirectionHandlersendPost in class ServiceProviderSAMLWorkflow.RedirectionHandlerholder - 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 destination, HttpServletResponse response) throws IOException
ServiceProviderSAMLWorkflow.RedirectionHandlersendRedirectForRequestor in class ServiceProviderSAMLWorkflow.RedirectionHandlerdestination - the redirect urlresponse - HttpServletResponseIOExceptionpublic void sendRedirectForResponder(String destination, HttpServletResponse response) throws IOException
ServiceProviderSAMLWorkflow.RedirectionHandlersendRedirectForResponder in class ServiceProviderSAMLWorkflow.RedirectionHandlerdestination - the destination urlresponse - HttpServletResponseIOExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.