Package swiss.trustbroker.saml.service
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
ConstructorsConstructorDescriptionSamlOutputService(TrustBrokerProperties trustBrokerProperties, swiss.trustbroker.common.saml.service.ArtifactCacheService artifactCacheService, org.apache.velocity.app.VelocityEngine velocityEngine) -
Method Summary
Modifier and TypeMethodDescriptionbooleanapplies(swiss.trustbroker.api.saml.dto.EncodingParameters encodingParameters) <T extends org.opensaml.saml.saml2.core.RequestAbstractType>
voidsendRequest(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>
voidsendResponse(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)
-
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:
appliesin interfaceswiss.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:
sendRequestin interfaceswiss.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:
sendResponsein interfaceswiss.trustbroker.api.saml.service.OutputService
-