From 0550bdb4675b7c285220f6414b2fa28d68868764 Mon Sep 17 00:00:00 2001 From: Bill Burke Date: Thu, 8 Dec 2016 16:47:17 -0500 Subject: [PATCH] KEYCLOAK-3214 --- .../java/org/keycloak/services/resources/AccountService.java | 1 + .../resources/admin/AuthenticationManagementResource.java | 1 + 2 files changed, 2 insertions(+) diff --git a/services/src/main/java/org/keycloak/services/resources/AccountService.java b/services/src/main/java/org/keycloak/services/resources/AccountService.java index f2f4951233..75cc5a7134 100755 --- a/services/src/main/java/org/keycloak/services/resources/AccountService.java +++ b/services/src/main/java/org/keycloak/services/resources/AccountService.java @@ -486,6 +486,7 @@ public class AccountService extends AbstractSecuredLocalService { @Path("revoke-grant") @POST + @Consumes(MediaType.APPLICATION_FORM_URLENCODED) public Response processRevokeGrant(final MultivaluedMap formData) { if (auth == null) { return login("applications"); diff --git a/services/src/main/java/org/keycloak/services/resources/admin/AuthenticationManagementResource.java b/services/src/main/java/org/keycloak/services/resources/admin/AuthenticationManagementResource.java index 0128425953..c2f39f1dd1 100755 --- a/services/src/main/java/org/keycloak/services/resources/admin/AuthenticationManagementResource.java +++ b/services/src/main/java/org/keycloak/services/resources/admin/AuthenticationManagementResource.java @@ -986,6 +986,7 @@ public class AuthenticationManagementResource { @Path("config") @POST @NoCache + @Consumes(MediaType.APPLICATION_JSON) public Response createAuthenticatorConfig(AuthenticatorConfigRepresentation rep) { auth.requireManage();