Package org.keycloak.authorization.admin
Class ResourceServerService
- java.lang.Object
-
- org.keycloak.authorization.admin.ResourceServerService
-
public class ResourceServerService extends Object
- Author:
- Pedro Igor
-
-
Constructor Summary
Constructors Constructor Description ResourceServerService(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResourceServer
create(boolean newClient)
void
delete()
javax.ws.rs.core.Response
exportSettings()
javax.ws.rs.core.Response
findById()
Object
getPermissionTypeResource()
PolicyService
getPolicyResource()
ResourceSetService
getResourceSetResource()
ScopeService
getScopeResource()
javax.ws.rs.core.Response
importSettings(ResourceServerRepresentation rep)
javax.ws.rs.core.Response
update(ResourceServerRepresentation server)
-
-
-
Constructor Detail
-
ResourceServerService
public ResourceServerService(AuthorizationProvider authorization, ResourceServer resourceServer, ClientModel client, AdminPermissionEvaluator auth, AdminEventBuilder adminEvent)
-
-
Method Detail
-
create
public ResourceServer create(boolean newClient)
-
update
@PUT @Consumes("application/json") @Produces("application/json") public javax.ws.rs.core.Response update(ResourceServerRepresentation server)
-
delete
public void delete()
-
findById
@GET @Produces("application/json") public javax.ws.rs.core.Response findById()
-
exportSettings
@Path("/settings") @GET @Produces("application/json") public javax.ws.rs.core.Response exportSettings()
-
importSettings
@Path("/import") @POST @Consumes("application/json") public javax.ws.rs.core.Response importSettings(ResourceServerRepresentation rep)
-
getResourceSetResource
@Path("/resource") public ResourceSetService getResourceSetResource()
-
getScopeResource
@Path("/scope") public ScopeService getScopeResource()
-
getPolicyResource
@Path("/policy") public PolicyService getPolicyResource()
-
getPermissionTypeResource
@Path("/permission") public Object getPermissionTypeResource()
-
-