KEYCLOAK-725 Add realm update to the Admin Client

This commit is contained in:
Stian Thorgersen committed 2014-09-30 15:43:18 +02:00
1 parent 0f307afd16
commit f026772c87
2 files changed
+20

No files matched your search

@@ -2,8 +2,10 @@ package org.keycloak.admin.client.resource;
import org.keycloak.representations.idm.RealmRepresentation;
import javax.ws.rs.Consumes;
import javax.ws.rs.DELETE;
import javax.ws.rs.GET;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;
@@ -17,6 +19,10 @@ public interface RealmResource {
@Produces(MediaType.APPLICATION_JSON)
public RealmRepresentation toRepresentation();
@PUT
@Consumes(MediaType.APPLICATION_JSON)
public void update(RealmRepresentation realmRepresentation);
@Path("applications")
public ApplicationsResource applications();