use of org.keycloak.protocol.saml.profile.ecp.SamlEcpProfileService in project keycloak by keycloak.
the class SamlService method soapBinding.
/**
* Handles SOAP messages. Chooses the correct response path depending on whether the message is of type ECP
* @param inputStream the data of the request.
* @return The response to the SOAP message
*/
@POST
@NoCache
@Consumes({ "application/soap+xml", MediaType.TEXT_XML })
public Response soapBinding(InputStream inputStream) {
SamlEcpProfileService bindingService = new SamlEcpProfileService(realm, event, destinationValidator);
ResteasyProviderFactory.getInstance().injectProperties(bindingService);
return bindingService.authenticate(inputStream);
}
Aggregations