Class ScimV2BaseUMObject
java.lang.Object
org.nuxeo.scim.v2.rest.usermanager.ScimV2BaseUMObject
- Direct Known Subclasses:
ScimV2GroupObject
,ScimV2UserObject
- Since:
- 2023.14
-
Field Summary
Modifier and TypeFieldDescriptionprotected final String
protected final ScimV2MappingService
protected final UserManager
protected final WebContext
-
Constructor Summary
ModifierConstructorDescriptionprotected
ScimV2BaseUMObject
(com.sun.jersey.api.core.HttpContext httpContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected abstract com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource>
doSearch
(ScimV2QueryContext queryCtx) com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource>
protected boolean
Check that the current artifact is editable by a power user.
-
Field Details
-
baseURL
-
mappingService
-
um
-
webContext
-
-
Constructor Details
-
ScimV2BaseUMObject
protected ScimV2BaseUMObject(com.sun.jersey.api.core.HttpContext httpContext)
-
-
Method Details
-
getResources
public com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource> getResources(Integer startIndex, Integer count, String filter, String sortBy, String sortOrder) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
doSearch
protected abstract com.unboundid.scim2.common.messages.ListResponse<com.unboundid.scim2.common.ScimResource> doSearch(ScimV2QueryContext queryCtx) throws com.unboundid.scim2.common.exceptions.ScimException - Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
checkUpdateGuardPreconditions
protected void checkUpdateGuardPreconditions() throws com.unboundid.scim2.common.exceptions.ScimException- Throws:
com.unboundid.scim2.common.exceptions.ScimException
-
isAPowerUserEditableArtifact
protected boolean isAPowerUserEditableArtifact()Check that the current artifact is editable by a power user. Basically this means not an administrator user or not an administrator group.
-