public class ConfigurationResource extends Object implements SingletonResourceProvider
CREST resource responsible for exposing the module configuration of the JASPI runtime.
The resource offers only two operations, read and update. Performing a read will simply read the JASPI runtime's current module configuration and performing an update will update the runtime's module configuration which will be used for every subsequent request.
| Constructor and Description |
|---|
ConfigurationResource() |
| Modifier and Type | Method and Description |
|---|---|
Promise<ActionResponse,ResourceException> |
actionInstance(Context context,
ActionRequest request)
Unsupported operation.
|
Promise<ResourceResponse,ResourceException> |
patchInstance(Context context,
PatchRequest request)
Unsupported operation.
|
Promise<ResourceResponse,ResourceException> |
readInstance(Context context,
ReadRequest request)
Will perform a read of the runtime's module configuration.
|
Promise<ResourceResponse,ResourceException> |
updateInstance(Context context,
UpdateRequest request)
Will perform an update of the runtime's module configuration.
|
public Promise<ActionResponse,ResourceException> actionInstance(Context context, ActionRequest request)
actionInstance in interface SingletonResourceProvidercontext - The request server context.request - The action request.Promise containing the result of the operation.RequestHandler.handleAction(Context, ActionRequest)public Promise<ResourceResponse,ResourceException> patchInstance(Context context, PatchRequest request)
patchInstance in interface SingletonResourceProvidercontext - The request server context.request - The patch request.Promise containing the result of the operation.RequestHandler.handlePatch(Context, PatchRequest)public Promise<ResourceResponse,ResourceException> readInstance(Context context, ReadRequest request)
readInstance in interface SingletonResourceProvidercontext - The request server context.request - The read request.Promise containing the result of the operation.RequestHandler.handleRead(Context, ReadRequest)public Promise<ResourceResponse,ResourceException> updateInstance(Context context, UpdateRequest request)
updateInstance in interface SingletonResourceProvidercontext - The request server context.request - The update request.Promise containing the result of the operation.RequestHandler.handleUpdate(Context, UpdateRequest)Copyright © 2025 Open Identity Platform Community. All rights reserved.