KEYCLOAK-3214

This commit is contained in:
Bill Burke 2016-12-08 16:47:17 -05:00
parent 5f07fa8057
commit 0550bdb467
2 changed files with 2 additions and 0 deletions

View file

@ -486,6 +486,7 @@ public class AccountService extends AbstractSecuredLocalService {
@Path("revoke-grant") @Path("revoke-grant")
@POST @POST
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
public Response processRevokeGrant(final MultivaluedMap<String, String> formData) { public Response processRevokeGrant(final MultivaluedMap<String, String> formData) {
if (auth == null) { if (auth == null) {
return login("applications"); return login("applications");

View file

@ -986,6 +986,7 @@ public class AuthenticationManagementResource {
@Path("config") @Path("config")
@POST @POST
@NoCache @NoCache
@Consumes(MediaType.APPLICATION_JSON)
public Response createAuthenticatorConfig(AuthenticatorConfigRepresentation rep) { public Response createAuthenticatorConfig(AuthenticatorConfigRepresentation rep) {
auth.requireManage(); auth.requireManage();