Class ScimV2UserObject
java.lang.Object
org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
org.nuxeo.scim.v2.rest.usermanager.ScimV2UserObject
SCIM 2.0 User object.
- Since:
- 2023.14
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final com.unboundid.scim2.server.utils.ResourceTypeDefinition
Fields inherited from class org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
baseURL, mappingService, um, webContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createUser
(com.unboundid.scim2.common.types.UserResource user) javax.ws.rs.core.Response
deleteUserResource
(String uid) protected com.unboundid.scim2.common.types.UserResource
doCreateUser
(com.unboundid.scim2.common.types.UserResource user) protected javax.ws.rs.core.Response
doDeleteUser
(String uid) protected com.unboundid.scim2.common.types.UserResource
doPatchUser
(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) protected com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource>
doSearch
(ScimV2QueryContext queryCtx) protected com.unboundid.scim2.common.types.UserResource
doUpdateUser
(String uid, com.unboundid.scim2.common.types.UserResource user) com.unboundid.scim2.common.ScimResource
getUserResource
(String uid) protected com.unboundid.scim2.server.utils.ResourcePreparer<com.unboundid.scim2.common.ScimResource>
com.unboundid.scim2.common.ScimResource
protected com.unboundid.scim2.common.types.UserResource
com.unboundid.scim2.common.ScimResource
updateUser
(String uid, com.unboundid.scim2.common.types.UserResource user) Methods inherited from class org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
checkUpdateGuardPreconditions, getResources, isAPowerUserEditableArtifact
-
Field Details
-
RESOURCE_TYPE_DEFINITION
protected static final com.unboundid.scim2.server.utils.ResourceTypeDefinition RESOURCE_TYPE_DEFINITION
-
-
Constructor Details
-
ScimV2UserObject
public ScimV2UserObject(@Context com.sun.jersey.api.core.HttpContext httpContext)
-
-
Method Details
-
createUser
public javax.ws.rs.core.Response createUser(com.unboundid.scim2.common.types.UserResource user) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
getUserResource
public com.unboundid.scim2.common.ScimResource getUserResource(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
updateUser
public com.unboundid.scim2.common.ScimResource updateUser(String uid, com.unboundid.scim2.common.types.UserResource user) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
patchUser
public com.unboundid.scim2.common.ScimResource patchUser(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
deleteUserResource
public javax.ws.rs.core.Response deleteUserResource(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doCreateUser
protected com.unboundid.scim2.common.types.UserResource doCreateUser(com.unboundid.scim2.common.types.UserResource user) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
resolveUserResource
protected com.unboundid.scim2.common.types.UserResource resolveUserResource(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doUpdateUser
protected com.unboundid.scim2.common.types.UserResource doUpdateUser(String uid, com.unboundid.scim2.common.types.UserResource user) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doPatchUser
protected com.unboundid.scim2.common.types.UserResource doPatchUser(String uid, com.unboundid.scim2.common.messages.PatchRequest patch) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doDeleteUser
protected javax.ws.rs.core.Response doDeleteUser(String uid) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doSearch
protected com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource> doSearch(ScimV2QueryContext queryCtx) throws com.unboundid.scim2.common.exceptions.ScimException - Specified by:
doSearch
in classScimV2BaseUMObject
- Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
newResourcePreparer
protected com.unboundid.scim2.server.utils.ResourcePreparer<com.unboundid.scim2.common.ScimResource> newResourcePreparer() throws com.unboundid.scim2.common.exceptions.BadRequestException- Throws:
com.unboundid.scim2.common.exceptions.BadRequestException
-