KEYCLOAK-3214
This commit is contained in:
parent
5f07fa8057
commit
0550bdb467
2 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||||
|
|
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue