Interface ImpersonationService
-
- All Superinterfaces:
JAXRSService
- All Known Implementing Classes:
ImpersonationServiceImpl
@Path("wa/impersonation") public interface ImpersonationService extends JAXRSService
-
-
Field Summary
-
Fields inherited from interface org.apache.syncope.common.rest.api.service.JAXRSService
CRLF, DOUBLE_DASH, PARAM_ANYTYPE_KIND, PARAM_ANYTYPEKEY, PARAM_CONNID_PAGED_RESULTS_COOKIE, PARAM_DETAILS, PARAM_ENTITY_KEY, PARAM_FIQL, PARAM_KEYWORD, PARAM_MAX, PARAM_NOTIFICATION, PARAM_ORDERBY, PARAM_PAGE, PARAM_REALM, PARAM_RECURSIVE, PARAM_RESOURCE, PARAM_SIZE, PARAM_USER
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
create(@NotNull String owner, @NotNull ImpersonationAccount account)
void
delete(@NotNull String owner, @NotNull String impersonated)
List<ImpersonationAccount>
read(@NotNull String owner)
-
-
-
Method Detail
-
read
@GET @Path("{owner}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) List<ImpersonationAccount> read(@NotNull @PathParam("owner") @NotNull String owner)
-
create
@POST @Path("{owner}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void create(@NotNull @PathParam("owner") @NotNull String owner, @NotNull @NotNull ImpersonationAccount account)
-
delete
@DELETE @Path("{owner}/{impersonated}") @Consumes({"application/json","application/yaml","application/xml"}) @Produces({"application/json","application/yaml","application/xml"}) void delete(@NotNull @PathParam("owner") @NotNull String owner, @NotNull @PathParam("impersonated") @NotNull String impersonated)
-
-