| Package | Description |
|---|---|
| org.forgerock.openam.scripting |
Common scripting-related components for use in scripted OpenAM modules (e.g., scripted authentication modules).
|
| org.forgerock.openam.scripting.rest | |
| org.forgerock.openam.scripting.rest.batch | |
| org.forgerock.openam.scripting.service |
| Modifier and Type | Method and Description |
|---|---|
static ScriptException |
ScriptException.createAndLogDebug(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
static ScriptException |
ScriptException.createAndLogDebug(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
Throwable cause,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
static ScriptException |
ScriptException.createAndLogError(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
static ScriptException |
ScriptException.createAndLogError(org.slf4j.Logger logger,
ScriptConstants.ScriptErrorCode errorCode,
Throwable cause,
String... arguments)
Convenience method that will log the message represented by the error code and
construct a new
ScriptException. |
| Modifier and Type | Method and Description |
|---|---|
static ScriptConstants.ScriptContext |
ScriptConstants.getContextFromString(String context)
Retrieve the
ScriptContext instance for the given context. |
static SupportedScriptingLanguage |
ScriptConstants.getLanguageFromString(String languageName)
Retrieve the
SupportedScriptingLanguage instance for the given language. |
| Modifier and Type | Method and Description |
|---|---|
org.forgerock.json.resource.ResourceException |
ScriptExceptionMappingHandler.handleError(org.forgerock.services.context.Context context,
org.forgerock.json.resource.Request request,
ScriptException error) |
org.forgerock.json.resource.ResourceException |
ScriptExceptionMappingHandler.handleError(org.forgerock.services.context.Context context,
String debug,
org.forgerock.json.resource.Request request,
ScriptException error) |
org.forgerock.json.resource.ResourceException |
ScriptExceptionMappingHandler.handleError(org.forgerock.json.resource.Request request,
ScriptException error) |
org.forgerock.json.resource.ResourceException |
ScriptExceptionMappingHandler.handleError(ScriptException error) |
org.forgerock.json.resource.ResourceException |
ScriptExceptionMappingHandler.handleError(String debug,
org.forgerock.json.resource.Request request,
ScriptException error) |
| Constructor and Description |
|---|
ScriptResource(org.slf4j.Logger logger,
ScriptingServiceFactory scriptConfigService,
ExceptionMappingHandler<ScriptException,org.forgerock.json.resource.ResourceException> exceptionMappingHandler,
ScriptValidator scriptValidator)
Creates an instance of the
ScriptResource. |
| Constructor and Description |
|---|
BatchResource(ScriptEvaluator scriptEvaluator,
ScriptingServiceFactory scriptingServiceFactory,
Debug debug,
ExceptionMappingHandler<ScriptException,org.forgerock.json.resource.ResourceException> exceptionMappingHandler,
Requester requester) |
| Modifier and Type | Method and Description |
|---|---|
ScriptConfiguration |
ScriptConfiguration.Builder.build()
Construct the
ScriptConfiguration with the parameters set on this builder. |
ScriptConfiguration |
ScriptingService.create(ScriptConfiguration config,
Subject subject)
Create the scripting configuration and persist it.
|
ScriptConfiguration |
ScriptConfigurationService.create(ScriptConfiguration config,
Subject subject) |
void |
ScriptingService.delete(String uuid)
Delete the configuration with the given UUID.
|
void |
ScriptConfigurationService.delete(String uuid) |
Set<ScriptConfiguration> |
ScriptingService.get(org.forgerock.util.query.QueryFilter<String> queryFilter)
Retrieve the stored configuration.
|
ScriptConfiguration |
ScriptingService.get(String uuid)
Retrieve the stored configuration.
|
ScriptConfiguration |
ScriptConfigurationService.get(String uuid) |
Set<ScriptConfiguration> |
ScriptingService.getAll()
Retrieve the stored configuration.
|
ScriptConfiguration |
ScriptingService.update(ScriptConfiguration config,
Subject subject)
Update the given scripting configuration and persist it.
|
ScriptConfiguration |
ScriptConfigurationService.update(ScriptConfiguration config,
Subject subject) |
Copyright © 2010–2024 Open Identity Platform Community. All rights reserved.