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")
@POST
@Consumes(MediaType.APPLICATION_FORM_URLENCODED)
public Response processRevokeGrant(final MultivaluedMap<String, String> formData) {
if (auth == null) {
return login("applications");

View file

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