public class UserResourceImpl extends AbstractIdentityResource implements UserResource
Modifier and Type | Field and Description |
---|---|
protected String |
rootResourcePath |
identityService
resource, resourceId
objectMapper, relativeRootResourcePath
processEngine
Constructor and Description |
---|
UserResourceImpl(String processEngineName,
String userId,
String rootResourcePath,
com.fasterxml.jackson.databind.ObjectMapper objectMapper) |
Modifier and Type | Method and Description |
---|---|
ResourceOptionsDto |
availableOperations(javax.ws.rs.core.UriInfo context) |
void |
deleteUser() |
protected User |
findUserObject() |
UserProfileDto |
getUserProfile(javax.ws.rs.core.UriInfo context) |
void |
unlockUser() |
void |
updateCredentials(UserCredentialsDto account) |
void |
updateProfile(UserProfileDto profile) |
ensureNotReadOnly
isAuthorized, isAuthorized, isAuthorized
getObjectMapper, getProcessEngine, setRelativeRootResourceUri
protected String rootResourcePath
public UserProfileDto getUserProfile(javax.ws.rs.core.UriInfo context)
getUserProfile
in interface UserResource
public ResourceOptionsDto availableOperations(javax.ws.rs.core.UriInfo context)
availableOperations
in interface UserResource
public void deleteUser()
deleteUser
in interface UserResource
public void unlockUser()
unlockUser
in interface UserResource
public void updateCredentials(UserCredentialsDto account)
updateCredentials
in interface UserResource
public void updateProfile(UserProfileDto profile)
updateProfile
in interface UserResource
protected User findUserObject()
Copyright © 2022. All rights reserved.