public final class UserUpdateService extends Object implements CollectionResourceProvider
Constructor and Description |
---|
UserUpdateService(ConnectionFactory connectionFactory,
SecurityAnswer securityAnswer,
ResourcePath identityService,
KbaConfig kbaConfig)
Construct a service to update the user's KBA info.
|
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
patchInstance(Context context,
String resourceId,
PatchRequest request)
Patches an existing resource within the collection. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
actionCollection, actionInstance, createInstance, deleteInstance, queryCollection, readInstance, updateInstance
@Inject public UserUpdateService(ConnectionFactory connectionFactory, SecurityAnswer securityAnswer, ResourcePath identityService, KbaConfig kbaConfig)
connectionFactory
- a ConnectionFactory with access to the identityService route.securityAnswer
- the helper class for security answersidentityService
- the route to the identity service used to patch the userkbaConfig
- the kbaConfig that contains questions and kbaPropertyNamepublic Promise<ResourceResponse,ResourceException> patchInstance(Context context, String resourceId, PatchRequest request)
CollectionResourceProvider
Patches
an existing resource within the collection.patchInstance
in interface CollectionResourceProvider
context
- The request server context.resourceId
- The ID of the targeted resource within the collection.request
- The patch request.Promise
containing the result of the operation.RequestHandler.handlePatch(Context, PatchRequest)
Copyright © 2010-2018, ForgeRock All Rights Reserved.