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

      • Fido2DeviceWebService

        public Fido2DeviceWebService()
    • 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()
      • getF2DeviceById

        @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 getF2DeviceById​(@PathParam("id")
                                                           String id,
                                                           @QueryParam("userId")
                                                           String userId,
                                                           @QueryParam("attributes")
                                                           String attrsList,
                                                           @QueryParam("excludedAttributes")
                                                           String excludedAttrsList)
        Specified by:
        getF2DeviceById in interface IFido2DeviceWebService
      • 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 jakarta.ws.rs.core.Response updateF2Device​(Fido2DeviceResource fidoDeviceResource,
                                                          @PathParam("id")
                                                          String id,
                                                          @QueryParam("attributes")
                                                          String attrsList,
                                                          @QueryParam("excludedAttributes")
                                                          String excludedAttrsList)
        Specified by:
        updateF2Device in interface IFido2DeviceWebService
      • deleteF2Device

        @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 deleteF2Device​(@PathParam("id")
                                                          String id)
        Specified by:
        deleteF2Device in interface IFido2DeviceWebService
      • searchF2Devices

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

        @PostConstruct
        public void setup()