Uses of Class
org.forgerock.json.JsonValue
Packages that use JsonValue
Package
Description
Package contains the AuditService.
Package contains audit events.
This package contains the default
AuditEventHandlers.This package contains the batch publisher and its various implementations.
Contains the classes for filtering audit events.
This package contains the default AuditEventHandler implementations.
This package contains a JDBC AuditEventHandler implementation.
This package contains a JMS AuditEventHandler implementation.
This package contains the JSON-file
AuditEventHandler implementation.This package contains the JSON-stdout
AuditEventHandler implementation.This package contains a Syslog AuditEventHandler implementation.
This package contains utilities to build and configure audit service and handlers from JSON configuration.
This package contains utility classes used in the audit service.
This package provides APIs for OAuth 2.0 services implementations.
Provides routing functionality for HTTP requests.
Provides interfaces for managing and interacting with HTTP Sessions.
Provides an API for the traversal and manipulation of JSON object model structures in Java.
Classes and interfaces for creating and manipulating JWKs.
Classes and interfaces for JWTs.
JWT implementation(s) of
TokenHandler.Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
JSON resource Commons HTTP Framework integration.
Service Provider interface for registering audit events.
Decorator API to ease heap object customization and transformation.
Contains a decorator which overrides the existing request URI, making requests relative to
a new base URI.
Capture decoration classes that prints filters and handlers input and output messages.
This package contains a special decorator that is responsible to invoke other decorators.
Contains an abstract decorator dedicated to Filter and Handler.
Contains a decorator that log time elapsed in a Filter or a Handler.
Contains decorators that can wrap filters and handlers with tracing contexts.
This package contains classes related to audit information of FAPI request.
This package contains filter classes related to
RegistrationRequest
processing and validation.Filters the requests and/or responses of HTTP.
This package contains the components used to implement circuit breaking.
This package contains the OAuth2 Token validation filter that acts as an OAuth 2 Resource Server.
Collection of heaplets supporting OAuth2 client authentication Filters.
JWT confirmation key support for access tokens.
Handles HTTP requests by generating responses.
Provides automated router capability that loads its configurations files (called routes) from a given directory.
Identity Gateway SAML support.
Manages collections or "heaps" of associated objects, initialized from
declarative configuration artifacts.
Integrates with the ForgeRock HTTP Framework.
Integration classes specifically for ForgeRock Access Management.
Provides the Common Secrets API for accessing secrets of various kinds.
Access Management Server.
This package contains classes used to perform JWT validation.
AM notifications service.
Web socket notifications service implementation.
This package contains classes to call AM to retrieve user's session info.
This package contains classes to call AM to retrieve user's profile info.
Defines a storage service to be used by the UI to persist its component model.
Miscellaneous utility classes.
This package contains the classes classes and interfaces used in the services' implementations.
This package contains the
Context interface and various common protocol
independent implementations.Provides token handler definition.
Provides a mechanism for implementing query filters.
-
Uses of JsonValue in org.forgerock.audit
Constructors in org.forgerock.audit with parameters of type JsonValueModifierConstructorDescriptionAuditingContext(JsonValue savedContext, ClassLoader classLoader) Restore a serialized audit context. -
Uses of JsonValue in org.forgerock.audit.events
Fields in org.forgerock.audit.events declared as JsonValueModifier and TypeFieldDescriptionprotected JsonValueAuditEventBuilder.jsonValueRepresents the event as a JSON value.Methods in org.forgerock.audit.events that return JsonValueModifier and TypeMethodDescriptionstatic JsonValueAuditEventHelper.getAuditEventProperties(JsonValue auditEvent) Gets the Audit Event schema properties.static JsonValueAuditEventHelper.getAuditEventSchema(JsonValue auditEvent) Gets the Audit Event schema.Returns the JSON schema for the requested topic if this object has meta-data for that topic.AuditEvent.getValue()Returns the Json value of this event.Methods in org.forgerock.audit.events with parameters of type JsonValueModifier and TypeMethodDescriptionstatic JsonValueAuditEventHelper.getAuditEventProperties(JsonValue auditEvent) Gets the Audit Event schema properties.static JsonValueAuditEventHelper.getAuditEventSchema(JsonValue auditEvent) Gets the Audit Event schema.AuditEventHelper.getConfiguredAuditEventHandlers(JsonValue auditEvent) Gets the AuditEventHandlers that the audit event is configure to log to.static StringAuditEventHelper.getPropertyType(JsonValue auditEvent, JsonPointer property) Gets a AuditEvent property type.static booleanAuditEventHelper.isPropertyRequired(JsonValue auditEvent, JsonPointer property) Gets whether a AuditEvent property is required.final TSets the provided request details for the event.final TAccessAuditEventBuilder.responseWithDetail(AccessAuditEventBuilder.ResponseStatus status, String statusCode, long elapsedTime, TimeUnit elapsedTimeUnits, JsonValue detail) Sets the provided response for the event, with an additional detail.EventTopicsMetaDataBuilder.withAdditionalTopicSchemas(JsonValue additionalTopicSchemas) Specifies schemas for additional topics.EventTopicsMetaDataBuilder.withCoreTopicSchemaExtensions(JsonValue coreTopicSchemaExtensions) Specifies additional fields that should be added to the schemas for core event topics.Constructor parameters in org.forgerock.audit.events with type arguments of type JsonValueModifierConstructorDescriptionEventTopicsMetaData(Map<String, JsonValue> eventTopicsMetaData) Create a new EventTopicsMetaData. -
Uses of JsonValue in org.forgerock.audit.events.handlers
Methods in org.forgerock.audit.events.handlers that return JsonValueMethods in org.forgerock.audit.events.handlers with parameters of type JsonValueModifier and TypeMethodDescriptionAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) Publishes an event to the provided topic.NoOpAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) Constructors in org.forgerock.audit.events.handlers with parameters of type JsonValueModifierConstructorDescriptionAuditEventTopicState(Context context, String topic, JsonValue event) Creates a (topic,event) pair. -
Uses of JsonValue in org.forgerock.audit.events.handlers.buffering
Methods in org.forgerock.audit.events.handlers.buffering with parameters of type JsonValueModifier and TypeMethodDescriptionvoidBatchConsumer.addToBatch(String topic, JsonValue event, StringBuilder payload) Adds an audit event to a batch payload.booleanOffers up an event to be added to a batch.booleanInserts the specified element at the tail of this queue if it is possible to do so immediately without exceeding the queue's capacity, returningtrueupon success andfalseif this queue is full. -
Uses of JsonValue in org.forgerock.audit.filter
Methods in org.forgerock.audit.filter with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.audit.handlers.csv
Methods in org.forgerock.audit.handlers.csv with parameters of type JsonValueModifier and TypeMethodDescriptionCsvAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) Create a csv audit log entry. -
Uses of JsonValue in org.forgerock.audit.handlers.jdbc
Methods in org.forgerock.audit.handlers.jdbc with parameters of type JsonValueModifier and TypeMethodDescriptionJdbcAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.jms
Methods in org.forgerock.audit.handlers.jms with parameters of type JsonValueModifier and TypeMethodDescriptionvoidJmsAuditEventHandler.addToBatch(String topic, JsonValue event, StringBuilder payload) JmsAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.json
Methods in org.forgerock.audit.handlers.json with parameters of type JsonValueModifier and TypeMethodDescriptionJsonAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.json.stdout
Methods in org.forgerock.audit.handlers.json.stdout with parameters of type JsonValueModifier and TypeMethodDescriptionJsonStdoutAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.handlers.syslog
Methods in org.forgerock.audit.handlers.syslog with parameters of type JsonValueModifier and TypeMethodDescriptionSyslogAuditEventHandler.publishEvent(Context context, String topic, JsonValue event) -
Uses of JsonValue in org.forgerock.audit.json
Methods in org.forgerock.audit.json that return JsonValueModifier and TypeMethodDescriptionstatic JsonValueAuditJsonConfig.getAuditEventHandlerConfigurationSchema(String className, ClassLoader classLoader) Gets the configuration schema for an audit event handler as json schema.static JsonValueAuditJsonConfig.getJson(InputStream input) Returns a JSON value from the provided input stream.Methods in org.forgerock.audit.json with parameters of type JsonValueModifier and TypeMethodDescriptionstatic <C extends EventHandlerConfiguration>
CAuditJsonConfig.parseAuditEventHandlerConfiguration(Class<C> clazz, JsonValue jsonConfig) Returns the audit event handler configuration from the provided JSON string.static AuditServiceConfigurationAuditJsonConfig.parseAuditServiceConfiguration(JsonValue json) Returns the audit service configuration from the provided JSON value.static voidAuditJsonConfig.registerHandlerToService(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder) Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service.static voidAuditJsonConfig.registerHandlerToService(JsonValue jsonConfig, AuditServiceBuilder auditServiceBuilder, ClassLoader classLoader) Configures and registers the audit event handler corresponding to the provided JSON configuration to the provided audit service, using a specific class loader. -
Uses of JsonValue in org.forgerock.audit.util
Methods in org.forgerock.audit.util that return JsonValueModifier and TypeMethodDescriptionstatic JsonValueElasticsearchUtil.denormalizeJson(JsonValue value) De-normalizes JSON that was previously normalized byElasticsearchUtil.normalizeJson(JsonValue).static JsonValueExpands a Json Object Map, where the keys of the map are theJsonPointers and the values are the value theJsonPointerresolves to.protected static JsonValueElasticsearchUtil.restoreKeyPeriods(JsonValue value, JsonValue normalized) Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String).Methods in org.forgerock.audit.util with parameters of type JsonValueModifier and TypeMethodDescriptionstatic JsonValueElasticsearchUtil.denormalizeJson(JsonValue value) De-normalizes JSON that was previously normalized byElasticsearchUtil.normalizeJson(JsonValue).static StringJsonValueUtils.extractValueAsString(JsonValue json, String fieldName) Extracts String representation of field identified byfieldNamefromjsonobject.static StringJsonValueUtils.extractValueAsString(JsonValue json, JsonPointer pointer) Extracts String representation of field identified bypointerfromjsonobject.Flattens aJsonValueto a Map, where the keys of the Map areJsonPointers and the values are the value theJsonPointers resolve to.JsonSchemaUtils.generateJsonPointers(JsonValue schema) Generates the Set ofJsonPointers in a given JsonSchema.static StringElasticsearchUtil.normalizeJson(JsonValue value) Deprecated.static booleanElasticsearchUtil.renameField(JsonValue jsonValue, String oldKey, String newKey) Renames a field within the givenJsonValue.protected static JsonValueElasticsearchUtil.restoreKeyPeriods(JsonValue value, JsonValue normalized) Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String). -
Uses of JsonValue in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 that return JsonValueModifier and TypeMethodDescriptionAccessTokenInfo.asJsonValue()Returns the raw JSON as aJsonValue.Constructors in org.forgerock.http.oauth2 with parameters of type JsonValueModifierConstructorDescriptionAccessTokenInfo(JsonValue rawInfo, String token, Set<String> scopes, long expiresAt) Build anAccessTokenInfowith the provided information.OAuth2Context(JsonValue savedContext, ClassLoader classLoader) Creates a new context from the JSON representation of a previously persisted context. -
Uses of JsonValue in org.forgerock.http.routing
Constructors in org.forgerock.http.routing with parameters of type JsonValueModifierConstructorDescriptionApiVersionRouterContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation.UriRouterContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation. -
Uses of JsonValue in org.forgerock.http.session
Constructors in org.forgerock.http.session with parameters of type JsonValueModifierConstructorDescriptionSessionContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation. -
Uses of JsonValue in org.forgerock.json
Methods in org.forgerock.json that return JsonValueModifier and TypeMethodDescriptionAdds the specified value to the list.Adds the specified value to the end of the list.Adds the specified value.JsonValue.add(JsonPointer pointer, Object object) Adds the value identified by the specified pointer, relative to this value as root.JsonValue.addIfNotNull(String key, Object object) Adds the specified object value only if it is not nullJsonValue.addPermissive(JsonPointer pointer, Object object) Adds the value identified by the specified pointer, relative to this value as root.final JsonValueJsonValue.clone()Returns a shallow copy of this JSON value.JsonValue.copy()Returns a deep copy of this JSON value.Defaults the JSON value to the specified value if it is currentlynull.static JsonValueCompares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginalvalue to arrive at thetargetvalue.Performs a deep comparison of this JSON vlaue with another JSON value, and produces a JSON Patch value, which contains the operations necessary to modify the current value to arrive at thetargetvalue.Called to enforce that the JSON value is of a particular type.JsonValue.get(int index) Returns the specified child value.Returns the specified item value.JsonValue.get(JsonPointer pointer) Returns the specified child value with a pointer, relative to this value as root.JsonValueException.getJsonValue()Returns the JSON value for which the exception was thrown.static JsonValueReturns a JSON value whose content is the provided object.static JsonValueJsonValue.json(Object object, JsonPointer pointer) Returns a JSON value whose content is the provided object and whose pointer is the provided pointer.static JsonValueCreates a new JSON value which combines the contents two JSON values.Creates a new JSON value which combines the contents this JSON value with another.Sets the value of the specified child list element.Sets the value of the specified member.JsonValue.put(JsonPointer pointer, Object object) Sets the value identified by the specified pointer, relative to this value as root.JsonValue.putIfNotNull(String key, Object object) Sets the value of the specified member, only if it is not null.JsonValue.putPermissive(JsonPointer pointer, Object object) Sets the value identified by the specified pointer, relative to this value as root.JsonValue.required()Throws aJsonValueExceptionif the JSON value isnull.Methods in org.forgerock.json that return types with arguments of type JsonValueModifier and TypeMethodDescriptionstatic Function<JsonValue,byte[], JsonValueException> JsonValueFunctions.base64Binary()static Function<JsonValue,byte[], JsonValueException> JsonValueFunctions.base64urlBinary()Returns abyte[]by converting the JsonValue usingasString()and thenBase64url-decoding the result.static Function<JsonValue,Charset, JsonValueException> JsonValueFunctions.charset()Returns the JSON string value as a character set used for byte encoding/decoding.static Function<JsonValue,JsonValue, JsonValueException> JsonValueFunctions.deepTransformBy(Function<JsonValue, ?, JsonValueException> function) Returns the JSON value as the result of a deep JsonValue object-traversal, applying the provided transformfunctionto each element.static Function<JsonValue,JsonValue, JsonValueException> JsonValueFunctions.deepTransformBy(Function<JsonValue, ?, JsonValueException> function) Returns the JSON value as the result of a deep JsonValue object-traversal, applying the provided transformfunctionto each element.static Function<JsonValue,Duration, JsonValueException> JsonValueFunctions.duration()Deprecated, for removal: This API element is subject to removal in a future version.useJsonValueFunctions.javaDuration()insteadstatic <T extends Enum<T>>
Function<JsonValue,T, JsonValueException> JsonValueFunctions.enumConstant(Class<T> type) Returns the JSON string value as an enum constant of the specified enum type.static Function<JsonValue,Instant, JsonValueException> JsonValueFunctions.epochSecondsInstant()Returns aInstantby converting the JsonValue into a number and interpreting that as the number of seconds since the UTC epoch as perInstant.ofEpochSecond(long).static Function<JsonValue,File, JsonValueException> JsonValueFunctions.file()Returns the JSON string value as aFileobject.static Function<JsonValue,JsonValue, JsonValueException> JsonValueFunctions.identity()Deprecated.useJsonValue::copydirectly insteadstatic Function<JsonValue,JsonValue, JsonValueException> JsonValueFunctions.identity()Deprecated.useJsonValue::copydirectly insteadstatic Function<JsonValue,Instant, JsonValueException> JsonValueFunctions.instant()JsonValueFunctions.integer()Returns anIntegerby converting the JsonValue usingasInteger(), or by parsing the JsonValue string usingInteger.parseInt(String).JsonValue.iterator()Returns an iterator over the child values that this JSON value contains.static Function<JsonValue,Duration, JsonValueException> JsonValueFunctions.javaDuration()Returns the JSON string value as aDuration.Returns the JSON value as aListcontaining objects whose type (and value) is specified by a transformation function.static Function<JsonValue,Number, JsonValueException> JsonValueFunctions.numberInInclusiveRange(Number lower, Number upper) Returns a function that returns a number in the inclusive range oflowerandupper(ornull) from aJsonValue.static Function<JsonValue,Optional<JsonValue>, JsonValueException> JsonValueFunctions.optional()Return anOptionalif the given JsonValue has a value, orOptional.empty()if the JsonValue contains a null value.static Function<JsonValue,Optional<JsonValue>, JsonValueException> JsonValueFunctions.optional()Return anOptionalif the given JsonValue has a value, orOptional.empty()if the JsonValue contains a null value.static <T> Function<JsonValue,Optional<T>, JsonValueException> JsonValueFunctions.optionalOf(Function<JsonValue, T, JsonValueException> mappingFunction) Return anOptionalof a new type if the given JsonValue has a value, orOptional.empty()if the JsonValue contains a null value.static Function<JsonValue,Boolean, NeverThrowsException> JsonValueFunctions.parseBoolean()Returns aBooleanby converting the JsonValue usingasLong(), or by parsing the JsonValue string usingBoolean.parseBoolean(String).static Function<JsonValue,Long, NumberFormatException> JsonValueFunctions.parseLong()Returns aLongby converting the JsonValue usingasLong(), or by parsing the JsonValue string usingLong.parseLong(String).static Function<JsonValue,Pattern, JsonValueException> JsonValueFunctions.pattern()Returns the JSON string value as a regular expression pattern.JsonValueFunctions.pointer()Returns the JSON string value as a JSON pointer.static Function<JsonValue,Double, JsonValueException> JsonValueFunctions.positiveDouble()static Function<JsonValue,Integer, JsonValueException> JsonValueFunctions.positiveInteger()static <V> Function<JsonValue,Set<V>, JsonValueException> Returns the JSON value as aSetcontaining objects whose type (and value) is specified by the parametertype.Returns the JSON value as aSetcontaining objects whose type (and value) is specified by a transformation function.JsonValue.stream()Construct a Stream from this JsonValue object.static Function<JsonValue,List<String>, JsonValueException> JsonValueFunctions.stringOrListOfStrings()Return a list of string values from the given JsonValue.static Function<JsonValue,URI, JsonValueException> JsonValueFunctions.uri()Returns the JSON string value as a uniform resource identifier.static Function<JsonValue,URL, JsonValueException> JsonValueFunctions.url()Returns the JSON string value as a uniform resource locator.static Function<JsonValue,UUID, JsonValueException> JsonValueFunctions.uuid()Returns the JSON string value as a universally unique identifier (UUID).Methods in org.forgerock.json with parameters of type JsonValueModifier and TypeMethodDescriptionfinal JsonValuestatic JsonValueCompares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginalvalue to arrive at thetargetvalue.Performs a deep comparison of this JSON vlaue with another JSON value, and produces a JSON Patch value, which contains the operations necessary to modify the current value to arrive at thetargetvalue.JsonPatchValueTransformer.getTransformedValue(JsonValue target, JsonValue op) Return the value to be used for a given patch operation.static booleanCompares two JSON values, and returns whether the two objects are identical.booleanPerforms a deep comparison of this JSON value with another JSON value, and returns whether the two objects are identical.static JsonValueCreates a new JSON value which combines the contents two JSON values.Creates a new JSON value which combines the contents this JSON value with another.static voidApplies a set of modifications in a JSON patch value to an original value, resulting in the intended target value.static voidJsonPatch.patch(JsonValue original, JsonValue patch, JsonPatchValueTransformer transform) Applies a set of modifications in a JSON patch value to an original value, resulting in the intended target value.voidApplies a set of modifications in a JSON patch value to the current object, resulting in the intended target value.protected ObjectJsonValueTraverseFunction.traverseList(JsonValue value) Transform a JsonValue List into another object.protected ObjectJsonValueTraverseFunction.traverseMap(JsonValue value) Transform a JsonValue Map into another object.Method parameters in org.forgerock.json with type arguments of type JsonValueModifier and TypeMethodDescription<V,E extends Exception>
VReturns the JSON value as an object whose type (and value) is specified by a transformation function.JsonValue.asAsync(AsyncFunction<JsonValue, V, E> transformFunction) Returns the JSON value as a promised object whose type (and value) is specified by a transformation function.static Function<JsonValue,JsonValue, JsonValueException> JsonValueFunctions.deepTransformBy(Function<JsonValue, ?, JsonValueException> function) Returns the JSON value as the result of a deep JsonValue object-traversal, applying the provided transformfunctionto each element.Returns the JSON value as aListcontaining objects whose type (and value) is specified by a transformation function.static <T> Function<JsonValue,Optional<T>, JsonValueException> JsonValueFunctions.optionalOf(Function<JsonValue, T, JsonValueException> mappingFunction) Return anOptionalof a new type if the given JsonValue has a value, orOptional.empty()if the JsonValue contains a null value.Returns the JSON value as aSetcontaining objects whose type (and value) is specified by a transformation function.Constructors in org.forgerock.json with parameters of type JsonValueModifierConstructorDescriptionJsonValueException(JsonValue value) Constructs a new exception with the specified JSON value andnullas its detail message.JsonValueException(JsonValue value, String message) Constructs a new exception with the specified JSON value and detail message.JsonValueException(JsonValue value, String message, Throwable cause) Constructs a new exception with the specified JSON value, detail message and cause.JsonValueException(JsonValue value, Throwable cause) Constructs a new exception with the specified JSON value and cause.Constructor parameters in org.forgerock.json with type arguments of type JsonValueModifierConstructorDescriptionJsonValueTraverseFunction(Function<JsonValue, ?, JsonValueException> transform) Construct the traversal function with a transformation function to apply to each array element nested object attribute value element, or primitive element. -
Uses of JsonValue in org.forgerock.json.jose.jwk
Methods in org.forgerock.json.jose.jwk that return JsonValueModifier and TypeMethodDescriptionJWKSet.getJWKsAsJsonValue()Get the JWKs in the set.EcJWK.toJsonValue()JWK.toJsonValue()Returns a json representation of the JWK.protected static JsonValueJWK.toJsonValue(String json) Converts a String into a JsonValue.protected static JsonValueJWKSet.toJsonValue(String json) Converts a json string to a jsonValue.OctJWK.toJsonValue()OkpJWK.toJsonValue()RsaJWK.PrimesInfo.toJsonValue()Returns a json representation of the other factors.RsaJWK.toJsonValue()Methods in org.forgerock.json.jose.jwk that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJWKSetParser.gatherHttpContentsAsync(URL url) Uses the Client to gather HTTP information.Methods in org.forgerock.json.jose.jwk with parameters of type JsonValueModifier and TypeMethodDescriptionprotected static voidJWK.loadJWKFromJson(JWK.Builder builder, JsonValue json) Load the generic JWK attributes from the json, by side effect.static EcJWKParses a JWK from a JsonValue json object.static JWKParses a JsonValue into the proper JWK type.static JWKSetParses a JWKSet object from a jsonValue object.static OctJWKParses a OctJWK object from a jsonValue object.static OkpJWKParses a JWK from a JsonValue json object.static RsaJWKParses a RsaJWK from a jsonValue Object.static RsaJWK.PrimesInfoParses a PrimesInfo from a jsonValue Object.protected voidAdd a string value into a json only if it's not null.Constructors in org.forgerock.json.jose.jwk with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.json.jose.jwt
Methods in org.forgerock.json.jose.jwt that return JsonValueModifier and TypeMethodDescriptionReturns the specified item value.JWObject.toJsonValue()Returns a json representation of the JWObject. -
Uses of JsonValue in org.forgerock.json.jose.tokenhandler
Methods in org.forgerock.json.jose.tokenhandler that return JsonValueModifier and TypeMethodDescriptionJwtTokenHandler.validateAndExtractState(String snapshotToken) Deprecated.SecretsJwtTokenHandler.validateAndExtractState(String snapshotToken) Methods in org.forgerock.json.jose.tokenhandler with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return JsonValueModifier and TypeMethodDescriptionstatic JsonValueResources.filterResource(JsonValue resource, Collection<JsonPointer> fields) Returns a JSON object containing only the specified fields from the provided JSON value.ActionRequest.getContent()Returns the content of this action request.CreateRequest.getContent()Returns the content of the JSON resource to be created.ResourceResponse.getContent()Returns the JSON content of this resource.UpdateRequest.getContent()Returns the content of the JSON resource to be replaced.final JsonValueResourceException.getDetail()Returns the additional detail which can be evaluated by applications.ActionResponse.getJsonContent()Gets theJsonValuecontent contained in theResponse.PatchOperation.getValue()Returns the value for the patch operation.ActionRequest.toJsonValue()CreateRequest.toJsonValue()DeleteRequest.toJsonValue()PatchOperation.toJsonValue()Returns a JSON value representation of this patch operation.PatchRequest.toJsonValue()QueryRequest.toJsonValue()ReadRequest.toJsonValue()Request.toJsonValue()Return a JsonValue representation of this request.final JsonValueResourceException.toJsonValue()Returns the exception in a JSON object structure, suitable for inclusion in the entity of an HTTP error response.UpdateRequest.toJsonValue()Methods in org.forgerock.json.resource that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJsonValueFunctions.queryFilter()Parses and returns the JSON string value as aQueryFilter.JsonValueFunctions.resourcePath()Returns the JSON string value as aResourcePath.Methods in org.forgerock.json.resource with parameters of type JsonValueModifier and TypeMethodDescriptionPatchRequest.addPatchOperation(String operation, String field, JsonValue value) Adds a single patch operation which should be performed against the targeted resource.intstatic JsonValueResources.filterResource(JsonValue resource, Collection<JsonPointer> fields) Returns a JSON object containing only the specified fields from the provided JSON value.static ActionResponseResponses.newActionResponse(JsonValue json) Returns a newJsonValueresponse with the provided JSON content.static CreateRequestRequests.newCreateRequest(String resourceContainer, String newResourceId, JsonValue content) Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequestRequests.newCreateRequest(String resourceContainer, JsonValue content) Returns a new create request with the provided resource path, and JSON content.static CreateRequestRequests.newCreateRequest(ResourcePath resourceContainer, String newResourceId, JsonValue content) Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequestRequests.newCreateRequest(ResourcePath resourceContainer, JsonValue content) Returns a new create request with the provided resource path, and JSON content.static ResourceResponseResponses.newResourceResponse(String id, String revision, JsonValue content) Returns a newResourceresponse with the provided Resource as content.static UpdateRequestRequests.newUpdateRequest(String resourceContainer, String resourceId, JsonValue newContent) Returns a new update request with the provided resource container path, resource ID, and new JSON content.static UpdateRequestRequests.newUpdateRequest(String resourcePath, JsonValue newContent) Returns a new update request with the provided resource path and new JSON content.static UpdateRequestRequests.newUpdateRequest(ResourcePath resourceContainer, String resourceId, JsonValue newContent) Returns a new update request with the provided resource container path, resource ID, and new JSON content.static UpdateRequestRequests.newUpdateRequest(ResourcePath resourcePath, JsonValue newContent) Returns a new update request with the provided resource path and new JSON content.ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification.resourcePathAndVersionSpecification(JsonValue versionMatrix) Create a newResourcePathAndVersionSpecificationconfigured with resource path to version specification.ActionRequest.setContent(JsonValue content) Sets the content of this action request.CreateRequest.setContent(JsonValue content) Sets the content of the JSON resource to be created.UpdateRequest.setContent(JsonValue content) Sets the content of the JSON resource to be replaced.final <E extends ResourceException>
ESets the additional detail which can be evaluated by applications.static PatchOperationParses the provided JSON content as a patch operation.static List<PatchOperation>PatchOperation.valueOfList(JsonValue json) Parses the provided JSON content as a list of patch operations.Constructors in org.forgerock.json.resource with parameters of type JsonValueModifierConstructorDescriptionAdviceContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation. -
Uses of JsonValue in org.forgerock.json.resource.http
Constructors in org.forgerock.json.resource.http with parameters of type JsonValueModifierConstructorDescriptionHttpContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation. -
Uses of JsonValue in org.forgerock.openig.audit
Methods in org.forgerock.openig.audit that return types with arguments of type JsonValue -
Uses of JsonValue in org.forgerock.openig.decoration
Methods in org.forgerock.openig.decoration that return JsonValueModifier and TypeMethodDescriptionContext.getConfig()Returns the heap object being decorated configuration.Methods in org.forgerock.openig.decoration with parameters of type JsonValueModifier and TypeMethodDescriptionDecorates the provideddelegateinstance with the provideddecoratorConfigconfiguration. -
Uses of JsonValue in org.forgerock.openig.decoration.baseuri
Methods in org.forgerock.openig.decoration.baseuri with parameters of type JsonValueModifier and TypeMethodDescription -
Uses of JsonValue in org.forgerock.openig.decoration.capture
Methods in org.forgerock.openig.decoration.capture with parameters of type JsonValueModifier and TypeMethodDescription -
Uses of JsonValue in org.forgerock.openig.decoration.global
Methods in org.forgerock.openig.decoration.global with parameters of type JsonValueModifier and TypeMethodDescriptionDecorate the given object instance with the previously declared set of decorations instead of the provided one.Constructors in org.forgerock.openig.decoration.global with parameters of type JsonValueModifierConstructorDescriptionGlobalDecorator(JsonValue config, Heap heap, String... reservedFieldNames) Builds a new GlobalDecorator using given decorators JSON object element. -
Uses of JsonValue in org.forgerock.openig.decoration.helper
Fields in org.forgerock.openig.decoration.helper declared as JsonValueModifier and TypeFieldDescriptionprotected JsonValueDecoratorHeaplet.configThe heaplet's object configuration object.Methods in org.forgerock.openig.decoration.helper with parameters of type JsonValueModifier and TypeMethodDescriptionstatic <R> LazyReference<R>LazyReference.newReference(Heap heap, JsonValue reference, Class<R> type, boolean optional) Builds a LazyReference dedicated to resolve the given (optional or not)referenceof typetypefrom the givenheap. -
Uses of JsonValue in org.forgerock.openig.decoration.timer
Methods in org.forgerock.openig.decoration.timer with parameters of type JsonValueModifier and TypeMethodDescription -
Uses of JsonValue in org.forgerock.openig.decoration.tracing
Methods in org.forgerock.openig.decoration.tracing with parameters of type JsonValueModifier and TypeMethodDescription -
Uses of JsonValue in org.forgerock.openig.fapi.audit
Methods in org.forgerock.openig.fapi.audit that return types with arguments of type JsonValue -
Uses of JsonValue in org.forgerock.openig.fapi.dcr.request
Methods in org.forgerock.openig.fapi.dcr.request that return JsonValueModifier and TypeMethodDescriptionRegistrationRequest.getMetadata(String key) Generic get method allowing any metadata value to be retrieved.RegistrationRequest.toJsonValue()Creates a JSON representation of the registration request.Constructors in org.forgerock.openig.fapi.dcr.request with parameters of type JsonValueModifierConstructorDescriptionRegistrationRequest(SoftwareStatement softwareStatement, JsonValue clientMetadata) Constructor. -
Uses of JsonValue in org.forgerock.openig.filter
Methods in org.forgerock.openig.filter that return JsonValueModifier and TypeMethodDescriptionJwtBuilderContext.claimsAsJsonValue()Returns the JWT claims as unmodifiableJsonValue. -
Uses of JsonValue in org.forgerock.openig.filter.circuitbreaker
Methods in org.forgerock.openig.filter.circuitbreaker with parameters of type JsonValueModifier and TypeMethodDescriptionstatic CircuitBreakerFilterCircuitBreakerFilter.Heaplet.newInstance(JsonValue config, Heap heap) Create a new instance of aCircuitBreakerFilter. -
Uses of JsonValue in org.forgerock.openig.filter.oauth2
Methods in org.forgerock.openig.filter.oauth2 that return JsonValueModifier and TypeMethodDescriptionOAuth2TokenExchangeContext.getRawInfo()Returns the raw exchange token info as issued by the authorization server.Methods in org.forgerock.openig.filter.oauth2 that return types with arguments of type JsonValueModifier and TypeMethodDescriptionstatic Function<JsonValue,ResourceAccess, HeapException> ResourceAccessConfigSupport.resourceAccess(Heap heap) JsonValuefunction capable of configuring an instance of aResourceAccesssubtype from suppliedscopesconfiguration. -
Uses of JsonValue in org.forgerock.openig.filter.oauth2.client.authentication
Methods in org.forgerock.openig.filter.oauth2.client.authentication that return types with arguments of type JsonValueModifier and TypeMethodDescriptionEncryptedPrivateKeyJwtClientAuthenticationFilterHeaplet.configuredBuilder(EncryptedPrivateKeyJwtClientAuthenticationFilter.Builder builder) Supports fulfillment of the suppliedEncryptedPrivateKeyJwtClientAuthenticationFilter.Builderwith configuration.PrivateKeyJwtClientAuthenticationFilterHeaplet.configuredBuilder(PrivateKeyJwtClientAuthenticationFilter.Builder<?> builder) Supports fulfillment of the suppliedPrivateKeyJwtClientAuthenticationFilter.Builderwith configuration. -
Uses of JsonValue in org.forgerock.openig.filter.oauth2.cnf
Methods in org.forgerock.openig.filter.oauth2.cnf with parameters of type JsonValueModifier and TypeMethodDescriptionClientContextCertificateThumbprintVerifier.verify(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) ConfirmationKeyVerifier.verify(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) Verifies the given confirmation key value.Sha256AttributeCertificateThumbprintVerifier.verify(Context context, AccessTokenInfo tokenInfo, JsonValue cnfKey) -
Uses of JsonValue in org.forgerock.openig.handler
Methods in org.forgerock.openig.handler with parameters of type JsonValueModifier and TypeMethodDescriptionHttpClientHandlerHeaplet.circuitBreakerFilter(JsonValue config) Create a circuit breaker filter from configurations.HttpClientHandlerHeaplet.retryFilter(JsonValue config, org.forgerock.monitoring.api.instrument.MeterRegistry meterRegistry) Returns aRetryFilterif the provided configuration enabled its usage, or empty if not. -
Uses of JsonValue in org.forgerock.openig.handler.router
Methods in org.forgerock.openig.handler.router that return JsonValueModifier and TypeMethodDescriptionUndeploy a route, meaning that it unloads it but also deletes the associated file.Methods in org.forgerock.openig.handler.router with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.openig.handler.saml
Methods in org.forgerock.openig.handler.saml with parameters of type JsonValueModifier and TypeMethodDescriptionprotected abstract voidAbstractSamlFederationHeaplet.completeSamlConfig(JsonValue config, String logoutUri, org.forgerock.openig.handler.saml.SamlConfig.Builder builder) Permit to complement the SamlConfigSamlConfig.Builder.protected voidSamlFederationFilterHeaplet.completeSamlConfig(JsonValue config, String logoutUri, org.forgerock.openig.handler.saml.SamlConfig.Builder builder) protected voidSamlFederationHandlerHeaplet.completeSamlConfig(JsonValue config, String logoutUri, org.forgerock.openig.handler.saml.SamlConfig.Builder builder) Deprecated. -
Uses of JsonValue in org.forgerock.openig.heap
Fields in org.forgerock.openig.heap declared as JsonValueModifier and TypeFieldDescriptionprotected JsonValueGenericHeaplet.configThe heaplet's object configuration object.Methods in org.forgerock.openig.heap that return JsonValueModifier and TypeMethodDescriptionDefaultDeclarationProvider.Declaration.config()Returns the value of theconfigrecord component.GenericHeaplet.getConfig()Returns the config associated to thatHeaplet.Initializes the heap using the given configuration.Methods in org.forgerock.openig.heap that return types with arguments of type JsonValueModifier and TypeMethodDescriptionDefaultDeclarationProvider.Declaration.decorations()Returns the value of thedecorationsrecord component.GenericHeaplet.evaluatedWithHeapProperties()Returns a function that will evaluate the expression hold by aJsonValueusing the properties defined in the heap of this Heaplet.GenericHeaplet.evaluatedWithHeapProperties()Returns a function that will evaluate the expression hold by aJsonValueusing the properties defined in the heap of this Heaplet.protected <T> Function<JsonValue,Expression<T>, JsonValueException> GenericHeaplet.expression(Class<T> type) Returns a function that will create anExpressionfrom the string by theJsonValueusing the bindings defined in the heap of this Heaplet as initial bindings.Methods in org.forgerock.openig.heap with parameters of type JsonValueModifier and TypeMethodDescriptionCalled to request the heaplet to create an object.Initializes the heap using the given configuration.<T> TResolves a mandatory object with the specified reference.<T> TResolves an object with the specified reference, optionally or not.<T> T<T> T<T> TSame asHeapImpl.resolve(JsonValue, Class)but with decorations to add.Constructors in org.forgerock.openig.heap with parameters of type JsonValueModifierConstructorDescriptionDeclaration(String name, Heaplet heaplet, JsonValue config) Alternative constructor when no decorator is needed.Public constructor.Constructor parameters in org.forgerock.openig.heap with type arguments of type JsonValue -
Uses of JsonValue in org.forgerock.openig.http
Methods in org.forgerock.openig.http that return JsonValueModifier and TypeMethodDescriptionAdminHttpApplication.getConfig()Returns the configuration of the admin application.BaseAdminHttpApplication.getConfig()Constructors in org.forgerock.openig.http with parameters of type JsonValueModifierConstructorDescriptionBaseAdminHttpApplication(String adminPrefix, JsonValue config, Environment environment, boolean serveDeprecatedPrometheusEndpoint, org.forgerock.config.resolvers.PropertyResolver propertyResolver, org.forgerock.monitoring.api.instrument.MeterRegistry meterRegistry, StartupMetrics parentStartupMetrics, HttpClientProvider httpClientProvider, WebSocketClientProvider webSocketClientProvider, Clock clock, IgTicker ticker, ProductInfo productInfo, org.forgerock.openig.tracing.OpenTelemetryService openTelemetryService, SystemHealth systemHealth) Construct aBaseAdminHttpApplication.GatewayHttpApplication(Environment environment, JsonValue config, EndpointRegistry registry, org.forgerock.monitoring.api.instrument.MeterRegistry meterRegistry, StartupMetrics parentStartupMetrics, org.forgerock.config.resolvers.PropertyResolver propertyResolver, HttpClientProvider httpClientProvider, WebSocketClientProvider webSocketClientProvider, WebSocketProxyFilterProvider webSocketProxyFilterProvider, Clock clock, IgTicker ticker, AsyncSessionManager sharedSessionManager, ProductInfo productInfo, org.forgerock.openig.tracing.TracingProvider tracingProvider) Construct aGatewayHttpApplication. -
Uses of JsonValue in org.forgerock.openig.openam
Methods in org.forgerock.openig.openam that return JsonValueModifier and TypeMethodDescriptionSessionInfoContext.asJsonValue()Returns the raw information of theSessionInfoobject asJsonValue.SsoTokenContext.asJsonValue()Returns the info associated with this context as aJsonValue.UserProfileContext.asJsonValue()Get the raw JSON representation as aJsonValue.PolicyDecisionContext.getJsonActions()Returns the unmodifiable actions entry in the policy decision (nevernull).PolicyDecisionContext.getJsonAdvices()Returns the unmodifiable advices entry in the policy decision (nevernull).PolicyDecisionContext.getJsonAttributes()Returns the unmodifiable attributes entry in the policy decision (nevernull). -
Uses of JsonValue in org.forgerock.openig.secrets
Methods in org.forgerock.openig.secrets that return types with arguments of type JsonValueModifier and TypeMethodDescriptionSecretsProviderHeaplet.secretsProvider(Heap heap) Method supporting other client heaplets that wish to create aSecretsProviderusing alternative compact configuration formats. -
Uses of JsonValue in org.forgerock.openig.tools.am
Methods in org.forgerock.openig.tools.am with parameters of type JsonValueModifier and TypeMethodDescriptionNotificationsConfig.Builder.vertxConfig(JsonValue vertxConfig) Set the vertx configuration to pass to the underlying WebSocket provider. -
Uses of JsonValue in org.forgerock.openig.tools.jwt.validation
Methods in org.forgerock.openig.tools.jwt.validation that return types with arguments of type JsonValueModifier and TypeMethodDescriptionstatic JwtClaimConstraint<JsonValue>Constraints.isNotNull()Returnsemptyif the value is present.Method parameters in org.forgerock.openig.tools.jwt.validation with type arguments of type JsonValueModifier and TypeMethodDescriptionJwtValidator.Builder.claim(String key, JwtClaimConstraint<JsonValue> jwtClaimConstraint) Adds aJwtClaimConstrainton a claim.<T,E extends Exception>
JwtValidator.BuilderJwtValidator.Builder.claim(String key, Function<JsonValue, ? extends T, E> transformer, JwtClaimConstraint<T> jwtClaimConstraint) Adds aJwtClaimConstrainton a claim.JwtValidator.Builder.optionalClaim(String key, JwtClaimConstraint<JsonValue> jwtClaimConstraint) Adds aJsonValuebasedJwtClaimConstrainton an optional claim.<T,E extends Exception>
JwtValidator.BuilderJwtValidator.Builder.optionalClaim(String key, Function<JsonValue, ? extends T, E> transformer, JwtClaimConstraint<T> jwtClaimConstraint) Adds aJwtClaimConstrainton an optional claim. -
Uses of JsonValue in org.forgerock.openig.tools.notifications
Methods in org.forgerock.openig.tools.notifications that return JsonValueModifier and TypeMethodDescriptionNotification.body()Returns the value of thebodyrecord component.Methods in org.forgerock.openig.tools.notifications that return types with arguments of type JsonValueModifier and TypeMethodDescriptionAuditUtils.notificationsAuditSchema()Return aMapthat represents the JSON schema for the notifications audit event.Constructors in org.forgerock.openig.tools.notifications with parameters of type JsonValueModifierConstructorDescriptionNotification(Instant timestamp, String topic, JsonValue body) Creates a notification that happened attimestamp, on the giventopicwith the givenbody. -
Uses of JsonValue in org.forgerock.openig.tools.notifications.ws
Methods in org.forgerock.openig.tools.notifications.ws with parameters of type JsonValueModifier and TypeMethodDescriptionstatic SubscriptionAckDecode a JSON encodedSubscriptionAck.WebSocketClientProvider.newClient(ClientTlsOptions tlsOptions, ProxyOptions proxyOptions, Duration connectionTimeout, Duration idleTimeout, JsonValue vertxConfig) Creates a new WebSocket client.Method parameters in org.forgerock.openig.tools.notifications.ws with type arguments of type JsonValue -
Uses of JsonValue in org.forgerock.openig.tools.session
Methods in org.forgerock.openig.tools.session that return JsonValueModifier and TypeMethodDescriptionSessionInfo.getRawInfo()Returns the session info for the given SSO Token asJsonValueif any, ornullif none.Constructors in org.forgerock.openig.tools.session with parameters of type JsonValueModifierConstructorDescriptionSessionInfo(String ssoToken, JsonValue rawInfo) Builds a newSessionInfo. -
Uses of JsonValue in org.forgerock.openig.tools.userprofile
Methods in org.forgerock.openig.tools.userprofile that return JsonValueModifier and TypeMethodDescriptionUserProfile.asRawJson()Get the raw JSON representation as aJsonValue.Methods in org.forgerock.openig.tools.userprofile with parameters of type JsonValueModifier and TypeMethodDescriptionstatic StringUtility method to unwrap a profile attribute that is wrapped in a JSON array.Constructors in org.forgerock.openig.tools.userprofile with parameters of type JsonValueModifierConstructorDescriptionUserProfile(JsonValue rawInfo) Constructor taking the rawJsonValue. -
Uses of JsonValue in org.forgerock.openig.ui.record
Methods in org.forgerock.openig.ui.record with parameters of type JsonValueModifier and TypeMethodDescriptionStore the given content on disk and returns aRecordthat represents the new resource. -
Uses of JsonValue in org.forgerock.openig.util
Methods in org.forgerock.openig.util that return JsonValueModifier and TypeMethodDescriptionstatic JsonValueReturns, if the given JSON value contains one of the names, the first defined JSON value, otherwise if the given JSON value does not match any of the names, then a JsonValue encapsulating null is returned.static JsonValueJsonValues.getWithDeprecation(JsonValue config, org.slf4j.Logger logger, String name, String... deprecatedNames) Returns the named property from the provided JSON object, falling back to zero or more deprecated property names.static JsonValueBuilds aJsonValuefrom the given URL.Methods in org.forgerock.openig.util that return types with arguments of type JsonValueModifier and TypeMethodDescriptionstatic Function<JsonValue,Bindings, JsonValueException> JsonValues.bindings()Returns a function that will create some bindings based of a Map-basedJsonValue.static Function<JsonValue,Bindings, JsonValueException> Returns a function that will create some bindings based of a Map-basedJsonValue.JsonValues.constantSecretReference()Returns aSecretReference.constant(Secret)from aGenericSecretattribute value.JsonValues.encryptionMethod()Returns a function that transforms the JSON value to aEncryptionMethodobject.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.evaluated()Returns a function that will evaluate all String nodes.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.evaluated()Returns a function that will evaluate all String nodes.static Function<JsonValue,JsonValue, JsonValueException> Returns a function that will evaluate all String nodes.static Function<JsonValue,JsonValue, JsonValueException> Returns a function that will evaluate all String nodes.JsonValues.evaluatedAsync(Bindings bindings) Returns an async function that will evaluate all String nodes.JsonValues.evaluatedAsync(Bindings bindings) Returns an async function that will evaluate all String nodes.JsonValues.expectedType(Class<T> type, Function<JsonValue, T, E> adapter) Allows to usedefaultToin an heaplet configuration to retrieve an object.static <T> Function<JsonValue,Expression<T>, JsonValueException> JsonValues.expression(Class<T> type) Returns a function for transforming JsonValues to expressions.static <T> Function<JsonValue,Expression<T>, JsonValueException> JsonValues.expression(Class<T> type, Bindings bindings) Returns a function for transforming JsonValues to expressions.static Function<JsonValue,Instant, JsonValueException> JsonValues.instant()static Function<JsonValue,JwtFactory, HeapException> JwtFactoryConfigUtils.jwtFactory(Heap heap, SecretsProvider secretsProvider) Function supporting transformation of JSON configuration to aJwtFactoryinstance registered in the heap.static <T> Function<JsonValue,LeftValueExpression<T>, JsonValueException> JsonValues.leftValueExpression(Class<T> type) Returns a function for transforming JsonValues to left-value expressions.static Function<JsonValue,Duration, JsonValueException> JsonValues.limitedDuration(Duration defaultDuration) Transform duration configuration to aDuration, ensuring its value is limited.Returns a function that transform a JSON node value into a list of adapted instances.static <T> Function<JsonValue,T, HeapException> JsonValues.lookupOrCreateHeapObject(Heap heap, Class<T> type) Returns the JSON value as aMapcontaining values whose type is specified by a transformation function.static Function<JsonValue,Optional<JsonValue>, JsonValueException> JsonValues.optional()static Function<JsonValue,Optional<JsonValue>, JsonValueException> JsonValues.optional()static <T> Function<JsonValue,T, HeapException> JsonValues.optionalHeapObject(Heap heap, Class<T> type) static <T> Function<JsonValue,Optional<T>, JsonValueException> JsonValues.optionalOf(Function<JsonValue, T, JsonValueException> delegate) Returns a wrapping function returning anOptionalresult of the givendelegatefunction.static Function<JsonValue,Duration, JsonValueException> JsonValues.positiveLimitedDuration(Duration defaultDuration) Transform duration configuration to aDuration, ensuring its value is positive and limited.JsonValues.properties()Returns a function that transforms the JSON value to aPropertiesobject.static <S extends Secret>
Function<JsonValue,Purpose<S>, JsonValueException> static Function<JsonValue,JsonValue, JsonValueException> Displays a custom message when the required attribute is not present in the configuration.static Function<JsonValue,JsonValue, JsonValueException> Displays a custom message when the required attribute is not present in the configuration.static <T> Function<JsonValue,T, HeapException> JsonValues.requiredHeapObject(Heap heap, Class<T> type) static Function<JsonValue,JsonValue, JsonValueException> JsonValues.resolvedLocation()Returns a function that will resolve the field $location.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.resolvedLocation()Returns a function that will resolve the field $location.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.resolvedLocation(Bindings bindings) Returns a function that will resolve the field $location.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.resolvedLocation(Bindings bindings) Returns a function that will resolve the field $location.JsonValues.secretPropertyFormat(Heap heap) Returns aSecretPropertyFormatobject from aJsonValue.static <S extends Secret>
Function<JsonValue,SecretReference<S>, JsonValueException> JsonValues.secretReferenceOf(Function<JsonValue, Purpose<S>, JsonValueException> purposeTransformer, SecretsProvider secretsProvider) Returns a function that returns aSecretReferencefor thePurposerepresented by the givenStringvalue label and known to the suppliedSecretsProvider.Returns a function that transform a JSON node value into a Set of adapted instances.static Function<JsonValue,JwtFactory, HeapException> JwtFactoryConfigUtils.signedJwtFactory(Heap heap, SecretsProvider secretsProvider) Function supporting transformation of JSON configuration to aJwtFactoryinstance registered in the heap.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.slashEnded()Returns the JsonValue with its value ended by a slash.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.slashEnded()Returns the JsonValue with its value ended by a slash.Returns the JSON value as aStreamcontaining objects whose type (and value) is specified by a transformation function.JsonValues.tokenized(org.forgerock.config.resolvers.PropertyResolver propertyResolver) Returns a function performing deep token substitution and object coercion ($ "functions").JsonValues.tokenized(org.forgerock.config.resolvers.PropertyResolver propertyResolver) Returns a function performing deep token substitution and object coercion ($ "functions").static Function<JsonValue,JsonValue, JsonValueException> JsonValues.trailingSlashRemoved()Returns the JsonValue with any trailing slash removed from the value.static Function<JsonValue,JsonValue, JsonValueException> JsonValues.trailingSlashRemoved()Returns the JsonValue with any trailing slash removed from the value.Methods in org.forgerock.openig.util with parameters of type JsonValueModifier and TypeMethodDescriptionstatic Class<?>Returns the class object associated with a named class or interface, using the thread context class loader.static JsonValueReturns, if the given JSON value contains one of the names, the first defined JSON value, otherwise if the given JSON value does not match any of the names, then a JsonValue encapsulating null is returned.static JsonValueJsonValues.getWithDeprecation(JsonValue config, org.slf4j.Logger logger, String name, String... deprecatedNames) Returns the named property from the provided JSON object, falling back to zero or more deprecated property names.static voidJsonValues.warnForDeprecation(JsonValue config, org.slf4j.Logger logger, String name, String deprecatedName) Issues a warning that the configuration propertyoldNameis deprecated and that the propertynewNameshould be used instead.Method parameters in org.forgerock.openig.util with type arguments of type JsonValueModifier and TypeMethodDescriptionJsonValues.expectedType(Class<T> type, Function<JsonValue, T, E> adapter) Allows to usedefaultToin an heaplet configuration to retrieve an object.Returns a function that transform a JSON node value into a list of adapted instances.Returns the JSON value as aMapcontaining values whose type is specified by a transformation function.static <T> Function<JsonValue,Optional<T>, JsonValueException> JsonValues.optionalOf(Function<JsonValue, T, JsonValueException> delegate) Returns a wrapping function returning anOptionalresult of the givendelegatefunction.static <S extends Secret>
Function<JsonValue,SecretReference<S>, JsonValueException> JsonValues.secretReferenceOf(Function<JsonValue, Purpose<S>, JsonValueException> purposeTransformer, SecretsProvider secretsProvider) Returns a function that returns aSecretReferencefor thePurposerepresented by the givenStringvalue label and known to the suppliedSecretsProvider.Returns a function that transform a JSON node value into a Set of adapted instances.Returns the JSON value as aStreamcontaining objects whose type (and value) is specified by a transformation function. -
Uses of JsonValue in org.forgerock.services
Methods in org.forgerock.services that return JsonValueModifier and TypeMethodDescriptionTransactionId.toJson()Returns a representation of this TransactionId as a JsonValue.Methods in org.forgerock.services with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.services.context
Fields in org.forgerock.services.context declared as JsonValueModifier and TypeFieldDescriptionprotected final JsonValueAbstractContext.dataThe Context data.Methods in org.forgerock.services.context that return JsonValueModifier and TypeMethodDescriptionAbstractContext.toJsonValue()Context.toJsonValue()Return this Context as a JsonValue (for persistence).RequestAuditContext.toJsonValue()TransactionIdContext.toJsonValue()Updates the data object to have the current transactionId state.Constructors in org.forgerock.services.context with parameters of type JsonValueModifierConstructorDescriptionAbstractContext(JsonValue savedContext, ClassLoader classLoader) Creates a new context from the JSON representation of a previously persisted context.AttributesContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation.ClientContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation.RequestAuditContext(JsonValue savedContext, ClassLoader classLoader) Restores a saved context.RootContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation.SecurityContext(JsonValue savedContext, ClassLoader classLoader) Restore from JSON representation.TransactionIdContext(JsonValue savedContext, ClassLoader classLoader) Restores a saved context. -
Uses of JsonValue in org.forgerock.tokenhandler
Methods in org.forgerock.tokenhandler that return JsonValueModifier and TypeMethodDescriptionTokenHandler.validateAndExtractState(String token) Validates and parses the token, extracting any encapsulated state.Methods in org.forgerock.tokenhandler with parameters of type JsonValue -
Uses of JsonValue in org.forgerock.util.query
Methods in org.forgerock.util.query that return types with arguments of type JsonValueModifier and TypeMethodDescriptionJsonValueFilterVisitor.jsonValueFilterVisitor()Returns aQueryFilterVisitorthat can assess if aJsonValueresource matches a set of criteria defined by aQueryFilter.Methods in org.forgerock.util.query with parameters of type JsonValueModifier and TypeMethodDescriptionJsonValueFilterVisitor.visitAndFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters) JsonValueFilterVisitor.visitBooleanLiteralFilter(JsonValue p, boolean value) JsonValueFilterVisitor.visitComplexFilter(JsonValue p, JsonPointer field, QueryFilter<JsonPointer> subFilter) JsonValueFilterVisitor.visitContainsFilter(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitEqualsFilter(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitExtendedMatchFilter(JsonValue p, JsonPointer field, String matchingRuleId, Object valueAssertion) JsonValueFilterVisitor.visitGreaterThanFilter(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitGreaterThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitLessThanFilter(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitLessThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion) JsonValueFilterVisitor.visitNotFilter(JsonValue p, QueryFilter<JsonPointer> subFilter) JsonValueFilterVisitor.visitOrFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters) JsonValueFilterVisitor.visitPresentFilter(JsonValue p, JsonPointer field) JsonValueFilterVisitor.visitStartsWithFilter(JsonValue p, JsonPointer field, Object valueAssertion)
ElasticsearchUtil.NORMALIZING_OBJECT_MAPPERinstead.