public class UndertowRedirectionHandler extends ServiceProviderSAMLWorkflow.RedirectionHandler
ServiceProviderSAMLWorkflow.RedirectionHandler
for UndertowConstructor 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.RedirectionHandler
sendPost
in class ServiceProviderSAMLWorkflow.RedirectionHandler
holder
- 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 destination, HttpServletResponse response) throws IOException
ServiceProviderSAMLWorkflow.RedirectionHandler
sendRedirectForRequestor
in class ServiceProviderSAMLWorkflow.RedirectionHandler
destination
- the redirect urlresponse
- HttpServletResponse
IOException
public void sendRedirectForResponder(String destination, HttpServletResponse response) throws IOException
ServiceProviderSAMLWorkflow.RedirectionHandler
sendRedirectForResponder
in class ServiceProviderSAMLWorkflow.RedirectionHandler
destination
- the destination urlresponse
- HttpServletResponse
IOException
Copyright © 2016 JBoss by Red Hat. All rights reserved.