[KEYCLOAK-2336] - Support ECP clients using SOAP 1.1
This commit is contained in:
parent
ded919c0a6
commit
7ec52ebc2b
2 changed files with 2 additions and 2 deletions
|
@ -554,7 +554,7 @@ public class SamlService extends AuthorizationEndpointBase {
|
|||
}
|
||||
|
||||
@POST
|
||||
@Consumes("application/soap+xml")
|
||||
@Consumes({"application/soap+xml",MediaType.TEXT_XML})
|
||||
public Response soapBinding(InputStream inputStream) {
|
||||
SamlEcpProfileService bindingService = new SamlEcpProfileService(realm, event);
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ public class SamlEcpProfileTest {
|
|||
|
||||
Response authenticationResponse = ClientBuilder.newClient().target(singleSignOnService).request()
|
||||
.header(HttpHeaders.AUTHORIZATION, authHeader)
|
||||
.post(Entity.entity(DocumentUtil.asString(authenticationRequest), "application/soap+xml"));
|
||||
.post(Entity.entity(DocumentUtil.asString(authenticationRequest), "text/xml"));
|
||||
|
||||
assertEquals(OK.getStatusCode(), authenticationResponse.getStatus());
|
||||
|
||||
|
|
Loading…
Reference in a new issue