Class 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
    • Constructor Detail

      • FidoDeviceWebService

        public FidoDeviceWebService()
    • 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()
      • getDeviceById

        @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 getDeviceById​(@PathParam("id")
                                                       String id,
                                                       @QueryParam("userId")
                                                       String userId,
                                                       @QueryParam("attributes")
                                                       String attrsList,
                                                       @QueryParam("excludedAttributes")
                                                       String excludedAttrsList)
        Specified by:
        getDeviceById in interface IFidoDeviceWebService
      • 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 javax.ws.rs.core.Response updateDevice​(FidoDeviceResource fidoDeviceResource,
                                                      @PathParam("id")
                                                      String id,
                                                      @QueryParam("attributes")
                                                      String attrsList,
                                                      @QueryParam("excludedAttributes")
                                                      String excludedAttrsList)
        Specified by:
        updateDevice in interface IFidoDeviceWebService
      • deleteDevice

        @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 deleteDevice​(@PathParam("id")
                                                      String id)
        Specified by:
        deleteDevice in interface IFidoDeviceWebService
      • searchDevices

        @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 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 interface IFidoDeviceWebService
      • 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 javax.ws.rs.core.Response searchDevicesPost​(SearchRequest searchRequest,
                                                           @QueryParam("userId")
                                                           String userId)
        Specified by:
        searchDevicesPost in interface IFidoDeviceWebService
      • 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 javax.ws.rs.core.Response patchDevice​(PatchRequest request,
                                                     @PathParam("id")
                                                     String id,
                                                     @QueryParam("attributes")
                                                     String attrsList,
                                                     @QueryParam("excludedAttributes")
                                                     String excludedAttrsList)
        Specified by:
        patchDevice in interface IFidoDeviceWebService
      • setup

        @PostConstruct
        public void setup()