|
Response | getDeviceById (String id, String userId, String attrsList, String excludedAttrsList) |
|
Response | updateDevice (FidoDeviceResource fidoDevice, String id, String attrsList, String excludedAttrsList) |
|
Response | deleteDevice (String id) |
|
Response | searchDevices (String userId, String filter, Integer startIndex, Integer count, String sortBy, String sortOrder, String attrsList, String excludedAttrsList) |
|
Response | searchDevicesPost (SearchRequest searchRequest, String userId) |
|
String | getEndpointUrl () |
|
Response | getDeviceById (@PathParam("id") String id, @QueryParam("userId") String userId, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
|
Response | updateDevice (FidoDeviceResource fidoDeviceResource, @PathParam("id") String id, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
|
Response | deleteDevice (@PathParam("id") String id) |
|
Response | searchDevices ( @QueryParam("userId") String userId, @QueryParam(QUERY_PARAM_FILTER) String filter, @QueryParam(QUERY_PARAM_START_INDEX) Integer startIndex, @QueryParam(QUERY_PARAM_COUNT) Integer count, @QueryParam(QUERY_PARAM_SORT_BY) String sortBy, @QueryParam(QUERY_PARAM_SORT_ORDER) String sortOrder, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
|
Response | searchDevicesPost (SearchRequest searchRequest, @QueryParam("userId") String userId) |
|
Response | patchDevice (PatchRequest request, @PathParam("id") String id, @QueryParam(QUERY_PARAM_ATTRIBUTES) String attrsList, @QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String excludedAttrsList) |
|
Aims at decorating SCIM fido service methods. Currently applies validations via ResourceValidator class or other custom validation logic
Created by jgomer on 2017-10-09.
Response org.gluu.oxtrust.ws.rs.scim2.IFidoDeviceWebService.patchDevice |
( |
PatchRequest |
request, |
|
|
@PathParam("id") String |
id, |
|
|
@QueryParam(QUERY_PARAM_ATTRIBUTES) String |
attrsList, |
|
|
@QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String |
excludedAttrsList |
|
) |
| |
|
inherited |
Service method that allows to modify a Fido device resource via PATCH (see section 3.5.2 of RFC 7644).
Note that patching offers a fine-grained control over the attributes to modify. While PUT is more intended to replace attribute values, PATCH allows to perform localized updates, removals and additions in certain portions of the target resource.
- 引数
-
request | A PatchRequest that contains the operations to apply upon the resource being updated |
id | The id of the resource to update |
attrsList | See notes about attributes query param |
excludedAttrsList | See notes about excludedAttributes query param |
- 戻り値
- An object abstracting the response obtained from the server to this request. A succesful response for this operation should contain a status code of 200 and a FidoDeviceResource in the entity body (the resource after modifications took place)
org.gluu.oxtrust.ws.rs.scim2.FidoDeviceWebServiceで実装されています。
Response org.gluu.oxtrust.ws.rs.scim2.IFidoDeviceWebService.updateDevice |
( |
FidoDeviceResource |
fidoDeviceResource, |
|
|
@PathParam("id") String |
id, |
|
|
@QueryParam(QUERY_PARAM_ATTRIBUTES) String |
attrsList, |
|
|
@QueryParam(QUERY_PARAM_EXCLUDED_ATTRS) String |
excludedAttrsList |
|
) |
| |
|
inherited |
Service method that allows updating a Fido device resource via PUT (as per section 3.5.1 of RFC 7644).
This operation is not suitable to delete/remove/nullify attributes. For this purpose you can use the PATCH operation instead. PUT is intended to do replacements using the (not-null) values supplied in fidoDeviceResource
parameter.
To learn more about how the update works, read the replacement rules found at ScimResourceUtil#transferToResourceReplace.
- 引数
-
fidoDeviceResource | An object that contains the data to update on a destination resource. There is no need to supply a full resource, just provide one with the attributes which are intended to be replaced in the destination |
id | The "id" attribute of the resource to update (destination) |
attrsList | See notes about attributes query param |
excludedAttrsList | See notes about excludedAttributes query param |
- 戻り値
- An object abstracting the response obtained from the server to this request. A succesful response for this operation should contain a status code of 200 and a FidoDeviceResource in the entity body (the resource after the update took place)
org.gluu.oxtrust.ws.rs.scim2.FidoDeviceWebServiceで実装されています。