Package io.jans.scim.ws.rs.scim2
Class Fido2DeviceWebService
- java.lang.Object
-
- io.jans.scim.ws.rs.scim2.BaseScimWebService
-
- io.jans.scim.ws.rs.scim2.Fido2DeviceWebService
-
- All Implemented Interfaces:
IFido2DeviceWebService
@Named("scim2Fido2DeviceEndpoint") @Path("/v2/Fido2Devices") public class Fido2DeviceWebService extends BaseScimWebService implements IFido2DeviceWebService
Implementation of /Fido2Devices 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 Fido2DeviceWebService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createDevice()
javax.ws.rs.core.Response
deleteF2Device(String id)
javax.ws.rs.core.Response
getF2DeviceById(String id, String userId, String attrsList, String excludedAttrsList)
javax.ws.rs.core.Response
patchF2Device(PatchRequest request, String id, String attrsList, String excludedAttrsList)
javax.ws.rs.core.Response
searchF2Devices(String userId, String filter, Integer startIndex, Integer count, String sortBy, String sortOrder, String attrsList, String excludedAttrsList)
javax.ws.rs.core.Response
searchF2DevicesPost(SearchRequest searchRequest, String userId)
void
setup()
javax.ws.rs.core.Response
updateF2Device(Fido2DeviceResource 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 javax.ws.rs.core.Response createDevice()
-
getF2DeviceById
@Path("{id}") @GET @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public javax.ws.rs.core.Response getF2DeviceById(@PathParam("id") String id, @QueryParam("userId") String userId, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList)
- Specified by:
getF2DeviceById
in interfaceIFido2DeviceWebService
-
updateF2Device
@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 javax.ws.rs.core.Response updateF2Device(Fido2DeviceResource fidoDeviceResource, @PathParam("id") String id, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList)
- Specified by:
updateF2Device
in interfaceIFido2DeviceWebService
-
deleteF2Device
@Path("{id}") @DELETE @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public javax.ws.rs.core.Response deleteF2Device(@PathParam("id") String id)
- Specified by:
deleteF2Device
in interfaceIFido2DeviceWebService
-
searchF2Devices
@GET @Produces({"application/scim+json; charset=utf-8","application/json; charset=utf-8"}) @HeaderParam("Accept") @DefaultValue("application/scim+json") public javax.ws.rs.core.Response searchF2Devices(@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:
searchF2Devices
in interfaceIFido2DeviceWebService
-
searchF2DevicesPost
@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 javax.ws.rs.core.Response searchF2DevicesPost(SearchRequest searchRequest, @QueryParam("userId") String userId)
- Specified by:
searchF2DevicesPost
in interfaceIFido2DeviceWebService
-
patchF2Device
@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 javax.ws.rs.core.Response patchF2Device(PatchRequest request, @PathParam("id") String id, @QueryParam("attributes") String attrsList, @QueryParam("excludedAttributes") String excludedAttrsList)
- Specified by:
patchF2Device
in interfaceIFido2DeviceWebService
-
setup
@PostConstruct public void setup()
-
-