Package io.jans.scim.ws.rs.scim2
Class FidoDeviceWebService
- java.lang.Object
-
- io.jans.scim.ws.rs.scim2.BaseScimWebService
-
- io.jans.scim.ws.rs.scim2.FidoDeviceWebService
-
- All Implemented Interfaces:
IFidoDeviceWebService
@Named("scim2FidoDeviceEndpoint") @Path("/v2/FidoDevices") public class FidoDeviceWebService extends BaseScimWebService implements IFidoDeviceWebService
Implementation of /FidoDevices endpoint. Methods here are intercepted. Filter io.jans.scim.service.filter.AuthorizationProcessingFilter secures invocations
-
-
Field Summary
-
Fields inherited from class io.jans.scim.ws.rs.scim2.BaseScimWebService
SEARCH_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description FidoDeviceWebService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description jakarta.ws.rs.core.Response
createDevice()
jakarta.ws.rs.core.Response
deleteDevice(String id)
jakarta.ws.rs.core.Response
getDeviceById(String id, String userId, String attrsList, String excludedAttrsList)
jakarta.ws.rs.core.Response
patchDevice(PatchRequest request, String id, String attrsList, String excludedAttrsList)
jakarta.ws.rs.core.Response
searchDevices(String userId, String filter, Integer startIndex, Integer count, String sortBy, String sortOrder, String attrsList, String excludedAttrsList)
jakarta.ws.rs.core.Response
searchDevicesPost(SearchRequest searchRequest, String userId)
void
setup()
jakarta.ws.rs.core.Response
updateDevice(FidoDeviceResource fidoDeviceResource, String id, String attrsList, String excludedAttrsList)
-
Methods inherited from class io.jans.scim.ws.rs.scim2.BaseScimWebService
assignMetaInformation, executeValidation, executeValidation, getEndpointUrl, getErrorResponse, getErrorResponse, getErrorResponse, init, inspectPatchRequest, notFoundResponse, prepareSearchRequest, validateExistenceOfUser
-
-
-
-
Method Detail
-
createDevice
@POST @Consumes({"application/scim+json","application/json"}) @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public jakarta.ws.rs.core.Response createDevice()
-
getDeviceById
@Path("{id}") @GET @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public jakarta.ws.rs.core.Response getDeviceById(@PathParam("id") String id, @QueryParam("userId") String userId, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList)
- Specified by:
getDeviceById
in interfaceIFidoDeviceWebService
-
updateDevice
@Path("{id}") @PUT @Consumes({"application/scim+json","application/json"}) @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public jakarta.ws.rs.core.Response updateDevice(FidoDeviceResource fidoDeviceResource, @PathParam("id") String id, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList)
- Specified by:
updateDevice
in interfaceIFidoDeviceWebService
-
deleteDevice
@Path("{id}") @DELETE @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public jakarta.ws.rs.core.Response deleteDevice(@PathParam("id") String id)
- Specified by:
deleteDevice
in interfaceIFidoDeviceWebService
-
searchDevices
@GET @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public jakarta.ws.rs.core.Response searchDevices(@QueryParam("userId") String userId, @QueryParam("filter") String filter, @QueryParam("startIndex") Integer startIndex, @QueryParam("count") Integer count, @QueryParam("sortBy") String sortBy, @QueryParam("sortOrder") String sortOrder, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList)
- Specified by:
searchDevices
in interfaceIFidoDeviceWebService
-
searchDevicesPost
@Path(".search") @POST @Consumes({"application/scim+json","application/json"}) @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public jakarta.ws.rs.core.Response searchDevicesPost(SearchRequest searchRequest, @QueryParam("userId") String userId)
- Specified by:
searchDevicesPost
in interfaceIFidoDeviceWebService
-
patchDevice
@Path("{id}") @Consumes({"application/scim+json","application/json"}) @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public jakarta.ws.rs.core.Response patchDevice(PatchRequest request, @PathParam("id") String id, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList)
- Specified by:
patchDevice
in interfaceIFidoDeviceWebService
-
setup
@PostConstruct public void setup()
-
-