Class SamlOutputService

java.lang.Object
swiss.trustbroker.saml.service.SamlOutputService
All Implemented Interfaces:
swiss.trustbroker.api.saml.service.OutputService

@Service public class SamlOutputService extends Object implements swiss.trustbroker.api.saml.service.OutputService
  • Constructor Summary

    Constructors
    Constructor
    Description
    SamlOutputService(TrustBrokerProperties trustBrokerProperties, swiss.trustbroker.common.saml.service.ArtifactCacheService artifactCacheService, org.apache.velocity.app.VelocityEngine velocityEngine)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    applies(swiss.trustbroker.api.saml.dto.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, swiss.trustbroker.api.saml.dto.EncodingParameters encodingParameters, swiss.trustbroker.api.saml.dto.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, swiss.trustbroker.api.saml.dto.EncodingParameters encodingParameters, swiss.trustbroker.api.saml.dto.DestinationType destinationType)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SamlOutputService

      public SamlOutputService(TrustBrokerProperties trustBrokerProperties, swiss.trustbroker.common.saml.service.ArtifactCacheService artifactCacheService, org.apache.velocity.app.VelocityEngine velocityEngine)
  • Method Details

    • applies

      public boolean applies(swiss.trustbroker.api.saml.dto.EncodingParameters encodingParameters)
      Specified by:
      applies in interface swiss.trustbroker.api.saml.service.OutputService
    • sendRequest

      public <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, swiss.trustbroker.api.saml.dto.EncodingParameters encodingParameters, swiss.trustbroker.api.saml.dto.DestinationType destinationType)
      Specified by:
      sendRequest in interface swiss.trustbroker.api.saml.service.OutputService
    • sendResponse

      public <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, swiss.trustbroker.api.saml.dto.EncodingParameters encodingParameters, swiss.trustbroker.api.saml.dto.DestinationType destinationType)
      Specified by:
      sendResponse in interface swiss.trustbroker.api.saml.service.OutputService