public interface ScimInterface
| Modifier and Type | Method and Description |
|---|---|
<T extends ScimResource> |
create(String endpoint,
T resource)
Create the provided new SCIM resource at the service provider.
|
void |
delete(String endpoint,
String id)
Delete a SCIM resource at the service provider.
|
<T extends ScimResource> |
delete(T resource)
Delete a SCIM resource at the service provider.
|
ResourceTypeResource |
getResourceType(String name)
Retrieve a known resource type supported by the service provider.
|
ListResponse<ResourceTypeResource> |
getResourceTypes()
Retrieve the resource types supported by the service provider.
|
SchemaResource |
getSchema(String id)
Retrieve a known schema supported by the service provider.
|
ListResponse<SchemaResource> |
getSchemas()
Retrieve the schemas supported by the service provider.
|
ServiceProviderConfigResource |
getServiceProviderConfig()
Retrieve the service provider configuration.
|
<T extends ScimResource> |
modify(String endpoint,
String id,
PatchRequest patchRequest,
Class<T> clazz)
Modify a SCIM resource by updating one or more attributes using a sequence
of operations to "
add", "remove", or "replace" values. |
<T extends ScimResource> |
modify(T resource,
PatchRequest patchRequest)
Modify a SCIM resource by updating one or more attributes using a sequence
of operations to "
add", "remove", or "replace" values. |
<T extends ScimResource> |
replace(T resource)
Modify a SCIM resource by replacing the resource's attributes at the
service provider.
|
<T extends ScimResource> |
retrieve(String endpoint,
String id,
Class<T> cls)
Retrieve a known SCIM resource from the service provider.
|
<T extends ScimResource> |
retrieve(T resource)
Retrieve a known SCIM resource from the service provider.
|
<T extends ScimResource> |
search(String endpoint,
String filter,
Class<T> clazz)
Search for SCIM resources matching the SCIM filter provided.
|
ServiceProviderConfigResource getServiceProviderConfig() throws ScimException
ScimException - if an error occurs.ListResponse<ResourceTypeResource> getResourceTypes() throws ScimException
ScimException - if an error occurs.ResourceTypeResource getResourceType(String name) throws ScimException
name - The name of the resource type.ScimException - if an error occurs.ListResponse<SchemaResource> getSchemas() throws ScimException
ScimException - if an error occurs.SchemaResource getSchema(String id) throws ScimException
id - The schema URN.ScimException - if an error occurs.<T extends ScimResource> T create(String endpoint, T resource) throws ScimException
T - The Java type of the resource.endpoint - The resource endpoint such as: "Users" or "Groups" as
defined by the associated resource type.resource - The new resource to create.ScimException - if an error occurs.<T extends ScimResource> T retrieve(String endpoint, String id, Class<T> cls) throws ScimException
T - The Java type of the resource.endpoint - The resource endpoint such as: "Users" or "Groups" as
defined by the associated resource type.id - The resource identifier (for example the value of the "id"
attribute).cls - The Java class object used to determine the type to return.ScimException - if an error occurs.<T extends ScimResource> T retrieve(T resource) throws ScimException
T - The Java type of the resource.resource - The resource to retrieve.ScimException - if an error occurs.<T extends ScimResource> T replace(T resource) throws ScimException
T - The Java type of the resource.resource - The previously retrieved and revised resource.ScimException - if an error occurs.<T extends ScimResource> T modify(String endpoint, String id, PatchRequest patchRequest, Class<T> clazz) throws ScimException
add", "remove", or "replace" values. The service provider
configuration maybe used to discover service provider support for PATCH.T - The Java type of the resource.endpoint - The resource endpoint such as: "Users" or "Groups" as
defined by the associated resource type.id - The resource identifier (for example the value of the "id"
attribute).patchRequest - the patch request to use for the update.clazz - the class of the SCIM resource.ScimException - if an error occurs.<T extends ScimResource> T modify(T resource, PatchRequest patchRequest) throws ScimException
add", "remove", or "replace" values. The service provider
configuration maybe used to discover service provider support for PATCH.T - The Java type of the resource.resource - The resource to modify.patchRequest - the patch request to use for the update.ScimException - if an error occurs.void delete(String endpoint, String id) throws ScimException
endpoint - The resource endpoint such as: "Users" or "Groups" as
defined by the associated resource type.id - The resource identifier (for example the value of the "id"
attribute).ScimException - if an error occurs.<T extends ScimResource> void delete(T resource) throws ScimException
T - The Java type of the resource.resource - The resource to delete.ScimException - if an error occurs.<T extends ScimResource> ListResponse<T> search(String endpoint, String filter, Class<T> clazz) throws ScimException
T - The SCIM resource type to return a list of.endpoint - a SCIM resource type endpoint.filter - a SCIM filter string.clazz - the class representing the type of the SCIM resource.ScimException - if an error occurs.Copyright © 2015–2021 Ping Identity Corporation. All rights reserved.