Class SCIMUserWebObject
java.lang.Object
org.nuxeo.ecm.webengine.model.impl.AbstractResource<ResourceTypeImpl>
org.nuxeo.ecm.webengine.model.impl.DefaultObject
org.nuxeo.scim.server.jaxrs.usermanager.BaseUMObject
org.nuxeo.scim.server.jaxrs.usermanager.SCIMUserWebObject
Simple Resource class used to expose the SCIM API on Users endpoint
- Since:
- 7.4
- Author:
- tiry
-
Field Summary
Fields inherited from class org.nuxeo.scim.server.jaxrs.usermanager.BaseUMObject
baseUrl, fixeMediaType, mapper, um
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionjavax.ws.rs.core.Response
createUser
(com.unboundid.scim.data.UserResource user) javax.ws.rs.core.Response
deleteUserResource
(javax.ws.rs.core.UriInfo uriInfo, String uid) protected com.unboundid.scim.data.UserResource
doCreateUser
(com.unboundid.scim.data.UserResource user) protected javax.ws.rs.core.Response
doCreateUserResponse
(com.unboundid.scim.data.UserResource user, javax.ws.rs.core.MediaType mt) protected javax.ws.rs.core.Response
doUpdateUser
(String uid, com.unboundid.scim.data.UserResource user, javax.ws.rs.core.MediaType mt) protected String
com.unboundid.scim.data.UserResource
getUserResource
(javax.ws.rs.core.UriInfo uriInfo, String uid) com.unboundid.scim.data.UserResource
getUserResourceAsJSON
(javax.ws.rs.core.UriInfo uriInfo, String uid) com.unboundid.scim.data.UserResource
getUserResourceAsXml
(javax.ws.rs.core.UriInfo uriInfo, String uid) com.unboundid.scim.sdk.Resources<com.unboundid.scim.data.UserResource>
getUsers
(javax.ws.rs.core.UriInfo uriInfo) protected com.unboundid.scim.data.UserResource
javax.ws.rs.core.Response
updateUser
(javax.ws.rs.core.UriInfo uriInfo, String uid, com.unboundid.scim.data.UserResource user) Methods inherited from class org.nuxeo.scim.server.jaxrs.usermanager.BaseUMObject
checkUpdateGuardPreconditions, initialize, isAPowerUserEditableArtifact
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.DefaultObject
disptachAdapter, isAdapter
Methods inherited from class org.nuxeo.ecm.webengine.model.impl.AbstractResource
checkGuard, dispose, getActiveAdapter, getAdapter, getContext, getFacets, getLinks, getModule, getName, getNext, getNextSegment, getPath, getPrevious, getTemplate, getTrailingPath, getType, getURL, getView, hasFacet, initialize, isInstanceOf, isRoot, newAdapter, newObject, redirect, setNext, setPrevious, setRoot, toString
-
Constructor Details
-
SCIMUserWebObject
public SCIMUserWebObject()
-
-
Method Details
-
getPrefix
- Specified by:
getPrefix
in classBaseUMObject
-
resolveUserRessource
-
getUsers
public com.unboundid.scim.sdk.Resources<com.unboundid.scim.data.UserResource> getUsers(@Context javax.ws.rs.core.UriInfo uriInfo) -
getUserResource
public com.unboundid.scim.data.UserResource getUserResource(@Context javax.ws.rs.core.UriInfo uriInfo, String uid) -
getUserResourceAsXml
public com.unboundid.scim.data.UserResource getUserResourceAsXml(@Context javax.ws.rs.core.UriInfo uriInfo, String uid) -
getUserResourceAsJSON
public com.unboundid.scim.data.UserResource getUserResourceAsJSON(@Context javax.ws.rs.core.UriInfo uriInfo, String uid) -
createUser
public javax.ws.rs.core.Response createUser(com.unboundid.scim.data.UserResource user) -
doCreateUserResponse
protected javax.ws.rs.core.Response doCreateUserResponse(com.unboundid.scim.data.UserResource user, javax.ws.rs.core.MediaType mt) -
doCreateUser
protected com.unboundid.scim.data.UserResource doCreateUser(com.unboundid.scim.data.UserResource user) -
updateUser
public javax.ws.rs.core.Response updateUser(@Context javax.ws.rs.core.UriInfo uriInfo, String uid, com.unboundid.scim.data.UserResource user) -
doUpdateUser
protected javax.ws.rs.core.Response doUpdateUser(String uid, com.unboundid.scim.data.UserResource user, javax.ws.rs.core.MediaType mt) -
deleteUserResource
public javax.ws.rs.core.Response deleteUserResource(@Context javax.ws.rs.core.UriInfo uriInfo, String uid)
-