Interface OutputService


public interface OutputService
A service to render SAML requests and responses.
An implementation is provided by trustbroker-service, generally there should be no need to change that.
This interface could still change.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    applies(EncodingParameters encodingParameters)
     
    <T extends org.opensaml.saml.saml2.core.RequestAbstractType>
    void
    sendRequest(T request, org.opensaml.security.credential.Credential credential, String relayState, String endpoint, jakarta.servlet.http.HttpServletResponse httpServletResponse, EncodingParameters encodingParameters, DestinationType destinationType)
     
    <T extends org.opensaml.saml.saml2.core.StatusResponseType>
    void
    sendResponse(T response, org.opensaml.security.credential.Credential credential, String requestRelayState, String endpoint, jakarta.servlet.http.HttpServletResponse httpServletResponse, EncodingParameters encodingParameters, DestinationType destinationType)
     
  • Method Details

    • applies

      boolean applies(EncodingParameters encodingParameters)
      Parameters:
      encodingParameters -
      Returns:
      True if this output service applies to the given parameters.
    • sendRequest

      <T extends org.opensaml.saml.saml2.core.RequestAbstractType> void sendRequest(T request, org.opensaml.security.credential.Credential credential, String relayState, String endpoint, jakarta.servlet.http.HttpServletResponse httpServletResponse, EncodingParameters encodingParameters, DestinationType destinationType)
    • sendResponse

      <T extends org.opensaml.saml.saml2.core.StatusResponseType> void sendResponse(T response, org.opensaml.security.credential.Credential credential, String requestRelayState, String endpoint, jakarta.servlet.http.HttpServletResponse httpServletResponse, EncodingParameters encodingParameters, DestinationType destinationType)