Uses of Class
org.forgerock.json.JsonValue
-
Packages that use JsonValue Package Description org.forgerock.am.iot This package contains all classes pertaining to AM's IoT functionality.org.forgerock.api.jackson Extensions to Jackson's JSON Schema to support the API Descriptor extensions to standard JSON Schema.org.forgerock.api.models ForgeRock API Descriptor models.org.forgerock.authz.filter.api This package defines the common authorization API interfaces and classes used by both the CREST API and CHF HTTP API.org.forgerock.caf.authentication.framework This package defines the authentication framework classes for the authentication of messages via authentication contexts and modules.org.forgerock.config.resolvers This package contains the common config property resolvers.org.forgerock.config.util Contains utility classes for commons config.org.forgerock.http.oauth2 This package provides APIs for OAuth 2.0 services implementations.org.forgerock.http.routing Provides routing functionality for HTTP requests.org.forgerock.http.session Provides interfaces for managing and interacting with HTTP Sessions.org.forgerock.json Provides an API for the traversal and manipulation of JSON object model structures in Java.org.forgerock.json.jose.jwk Classes and interfaces for creating and manipulating JWKs.org.forgerock.json.jose.jwt Classes and interfaces for JWTs.org.forgerock.json.jose.tokenhandler JWT implementation(s) ofTokenHandler.org.forgerock.json.resource Classes and interfaces for core types including connections, request handlers, resources, and their exceptions.org.forgerock.macaroons Implementation of Macaroons: Cookies with contextual caveats for decentralized authorization in the cloud. SeeMacaroonfor more details.org.forgerock.oauth Commons OAuth Framework API.org.forgerock.oauth.clients.apple Forgerock Apple Client implementation.org.forgerock.oauth.clients.facebook Forgerock Facebook Client Implementation.org.forgerock.oauth.clients.oauth2 OAuth 2.0 ForgeRock Client Implementation.org.forgerock.oauth.clients.oidc OpenID Connect ForgeRock Client Implementation.org.forgerock.oauth2.core Defines the core classes to implement OAuth2 for OpenAM.org.forgerock.openam.auth.node.api This package contains the API for writing authentication nodes.org.forgerock.openam.oauth2 Classes that provide AM's features as an OAuth 2.0 Authorization Server.org.forgerock.openam.oauth2.token.macaroon Functionality for issuing access and refresh token asMacaroons.org.forgerock.openam.services.push.dispatch.predicates Classes pertaining to the predicates used by the Push Service's Message Dispatcher.org.forgerock.openam.sts.config.user Contains the classes which encapsulate the user-provided configuration state necessary to publish a STS instance.org.forgerock.openam.sts.rest.token.provider Contains classes and interface definitions common to all token provider classes.org.forgerock.openam.sts.rest.token.provider.oidc Classes related to producing OpenIdConnect tokensorg.forgerock.openam.sts.user.invocation This package contains classes related to creating the json payloads corresponding to REST-STS and TokenGenerationService invocations.org.forgerock.openam.uma Classes that support AM's UMA AS functionality.org.forgerock.openidconnect Classes required for the AM OAuth2 OIDC implementation.org.forgerock.secrets.vault Secrets backend that reads secrets from a remote Hashicorp Vault server.org.forgerock.selfservice.core This package contains the core implementation for the anonymous process service.org.forgerock.selfservice.core.crypto This package contains crypto related implementations for self-service.org.forgerock.selfservice.core.util This package contains core utility methods and classes.org.forgerock.selfservice.stages.captcha This package contains captcha stage implementation.org.forgerock.selfservice.stages.email This package contains a common email stage implementation.org.forgerock.selfservice.stages.kba This package contains a common user kba stage implementation.org.forgerock.selfservice.stages.parameters This package contains a parameter passing stage implementation.org.forgerock.selfservice.stages.registration This package contains a common user registration stage implementation.org.forgerock.selfservice.stages.reset This package contains a common reset password stage implementation.org.forgerock.selfservice.stages.user This package contains a common user related stage implementation.org.forgerock.services This package contains the classes classes and interfaces used in the services' implementations.org.forgerock.services.context This package contains theContextinterface and various common protocol independent implementations.org.forgerock.tokenhandler Provides token handler definition.org.forgerock.util.query Provides a mechanism for implementing query filters. -
-
Uses of JsonValue in org.forgerock.am.iot
Methods in org.forgerock.am.iot that return JsonValue Modifier and Type Method Description JsonValueThingsAccessAuditFilter. getActionSuccessDetail(ActionRequest request, ActionResponse response) -
Uses of JsonValue in org.forgerock.api.jackson
Methods in org.forgerock.api.jackson with parameters of type JsonValue Modifier and Type Method Description voidCrestAnySchema. validate(JsonValue object)voidCrestArraySchema. validate(JsonValue object)voidCrestBooleanSchema. validate(JsonValue object)voidCrestObjectSchema. validate(JsonValue object) -
Uses of JsonValue in org.forgerock.api.models
Methods in org.forgerock.api.models that return JsonValue Modifier and Type Method Description JsonValueTranslateJsonSchema. apply(JsonValue value)Applies the translation to string values by converting them toLocalizableString.abstract JsonValueSchema. getSchema()Obtain the schema definition if it is not a reference.Methods in org.forgerock.api.models with parameters of type JsonValue Modifier and Type Method Description JsonValueTranslateJsonSchema. apply(JsonValue value)Applies the translation to string values by converting them toLocalizableString.Schema.BuilderSchema.Builder. schema(JsonValue schema)Sets the schema. -
Uses of JsonValue in org.forgerock.authz.filter.api
Methods in org.forgerock.authz.filter.api that return JsonValue Modifier and Type Method Description JsonValueAuthorizationResult. getDetail()Gets the detail of why the request is not authorized to access the requested resource.Methods in org.forgerock.authz.filter.api with parameters of type JsonValue Modifier and Type Method Description static AuthorizationResultAuthorizationResult. accessDenied(String reason, JsonValue detail)Creates a newAuthorizationResultinstance which indicates that access to the request protected resource is denied, for the given reason and detail. -
Uses of JsonValue in org.forgerock.caf.authentication.framework
Methods in org.forgerock.caf.authentication.framework with parameters of type JsonValue Modifier and Type Method Description voidAuditApi. audit(JsonValue auditMessage)Audits the authentication request, using the audit information from the given audit message.Constructors in org.forgerock.caf.authentication.framework with parameters of type JsonValue Constructor Description MessageContextImpl(JsonValue savedContext, ClassLoader classLoader)Creates a new context from the JSON representation of a previously persisted context. -
Uses of JsonValue in org.forgerock.config.resolvers
Methods in org.forgerock.config.resolvers with parameters of type JsonValue Modifier and Type Method Description static PropertyResolverPropertyResolvers. jsonResolver(String name, JsonValue json)Construct a newJsonValueResolverusing a given aJsonValue.static PropertyResolverPropertyResolvers. jsonResolver(JsonValue json)Construct a newJsonValueResolverusing a given aJsonValue. -
Uses of JsonValue in org.forgerock.config.util
Methods in org.forgerock.config.util that return JsonValue Modifier and Type Method Description JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, boolean escape)Traverses aJsonValueand does property substitution as well as any type coercion.JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, SubstitutionContext context)Traverses aJsonValueand does property substitution as well as any type coercion.Methods in org.forgerock.config.util that return types with arguments of type JsonValue Modifier and Type Method Description static Predicate<JsonValue>JsonValuePropertyEvaluator. singleKeyWithName(String name)Create a predicate for a JSON coercion function as used in theMapargument toJsonValuePropertyEvaluator(SubstitutionService, List).Methods in org.forgerock.config.util with parameters of type JsonValue Modifier and Type Method Description JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, boolean escape)Traverses aJsonValueand does property substitution as well as any type coercion.JsonValueJsonValuePropertyEvaluator. evaluate(JsonValue object, SubstitutionContext context)Traverses aJsonValueand does property substitution as well as any type coercion.Method parameters in org.forgerock.config.util with type arguments of type JsonValue Modifier and Type Method Description static JsonValuePropertyEvaluator.CoercionFunctionSpecBuilderJsonValuePropertyEvaluator. coerce(Predicate<JsonValue> predicate)Define a coercion function.JsonValuePropertyEvaluator.CoercionFunctionSpecJsonValuePropertyEvaluator.CoercionFunctionSpecBuilder. using(BiFunction<JsonValue,SubstitutionService,Object,JsonValueException> function)Specify the function that will convert the matched JSON into an object. -
Uses of JsonValue in org.forgerock.http.oauth2
Methods in org.forgerock.http.oauth2 that return JsonValue Modifier and Type Method Description JsonValueAccessTokenInfo. asJsonValue()Returns the raw JSON as aJsonValue.Constructors in org.forgerock.http.oauth2 with parameters of type JsonValue Constructor Description AccessTokenInfo(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 JsonValue Constructor Description ApiVersionRouterContext(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 JsonValue Constructor Description SessionContext(JsonValue savedContext, ClassLoader classLoader)Restore from JSON representation. -
Uses of JsonValue in org.forgerock.json
Methods in org.forgerock.json that return JsonValue Modifier and Type Method Description JsonValueJsonValue. add(int index, Object object)Adds the specified value to the list.JsonValueJsonValue. add(Object object)Adds the specified value to the end of the list.JsonValueJsonValue. add(String key, Object object)Adds the specified value.JsonValueJsonValue. add(JsonPointer pointer, Object object)Adds the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. addIfNotNull(String key, Object object)Adds the specified object value only if it is not nullJsonValueJsonValue. addPermissive(JsonPointer pointer, Object object)Adds the value identified by the specified pointer, relative to this value as root.JsonValueJsonValueTraverseFunction. apply(JsonValue value)JsonValueJsonValue. clone()Returns a shallow copy of this JSON value.JsonValueJsonValue. copy()Returns a deep copy of this JSON value.JsonValueJsonValue. defaultTo(Object object)Defaults the JSON value to the specified value if it is currentlynull.static JsonValueJsonPatch. diff(JsonValue original, JsonValue target)Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginalvalue to arrive at thetargetvalue.JsonValueJsonValue. diff(JsonValue target)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.JsonValueJsonValue. expect(Class<?> type)Called to enforce that the JSON value is of a particular type.JsonValueJsonValue. get(int index)Returns the specified child value.JsonValueJsonValue. get(String key)Returns the specified item value.JsonValueJsonValue. get(JsonPointer pointer)Returns the specified child value with a pointer, relative to this value as root.JsonValueJsonValueException. getJsonValue()Returns the JSON value for which the exception was thrown.static JsonValueJsonValue. json(Object object)Returns a JSON value whose content is the provided object.static JsonValueJsonPatch. merge(JsonValue first, JsonValue second)Creates a new JSON value which combines the contents two JSON values.JsonValueJsonValue. merge(JsonValue other)Creates a new JSON value which combines the contents this JSON value with another.JsonValueJsonValue. put(int index, Object object)Sets the value of the specified child list element.JsonValueJsonValue. put(String key, Object object)Sets the value of the specified member.JsonValueJsonValue. put(JsonPointer pointer, Object object)Sets the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. putIfNotNull(String key, Object object)Sets the value of the specified member, only if it is not null.JsonValueJsonValue. putPermissive(JsonPointer pointer, Object object)Sets the value identified by the specified pointer, relative to this value as root.JsonValueJsonValue. required()Throws aJsonValueExceptionif the JSON value isnull.Methods in org.forgerock.json that return types with arguments of type JsonValue Modifier and Type Method Description static 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()Returns the JSON string value as aDuration.static <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()static Function<JsonValue,Integer,NumberFormatException>JsonValueFunctions. integer()Returns anIntegerby converting the JsonValue usingasInteger(), or by parsing the JsonValue string usingInteger.parseInt(String).Iterator<JsonValue>JsonValue. iterator()Returns an iterator over the child values that this JSON value contains.static <V,E extends Exception>
Function<JsonValue,List<V>,E>JsonValueFunctions. listOf(Function<JsonValue,V,E> transformFunction)Returns the JSON value as aListcontaining objects whose type (and value) is specified by a transformation function.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.static Function<JsonValue,JsonPointer,JsonValueException>JsonValueFunctions. pointer()Returns the JSON string value as a JSON pointer.static <V> Function<JsonValue,Set<V>,JsonValueException>JsonValueFunctions. setOf(Class<V> type)Returns the JSON value as aSetcontaining objects whose type (and value) is specified by the parametertype.static <V,E extends Exception>
Function<JsonValue,Set<V>,E>JsonValueFunctions. setOf(Function<JsonValue,V,E> transformFunction)Returns the JSON value as aSetcontaining objects whose type (and value) is specified by a transformation function.Stream<JsonValue>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 JsonValue Modifier and Type Method Description JsonValueJsonValueTraverseFunction. apply(JsonValue value)static JsonValueJsonPatch. diff(JsonValue original, JsonValue target)Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginalvalue to arrive at thetargetvalue.JsonValueJsonValue. diff(JsonValue target)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.ObjectJsonPatchValueTransformer. getTransformedValue(JsonValue target, JsonValue op)Return the value to be used for a given patch operation.static booleanJsonPatch. isEqual(JsonValue value, JsonValue other)Compares two JSON values, and returns whether the two objects are identical.booleanJsonValue. isEqualTo(JsonValue other)Performs a deep comparison of this JSON value with another JSON value, and returns whether the two objects are identical.static JsonValueJsonPatch. merge(JsonValue first, JsonValue second)Creates a new JSON value which combines the contents two JSON values.JsonValueJsonValue. merge(JsonValue other)Creates a new JSON value which combines the contents this JSON value with another.static voidJsonPatch. patch(JsonValue original, JsonValue patch)Applies 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.voidJsonValue. patch(JsonValue patch)Applies 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 JsonValue Modifier and Type Method Description <V,E extends Exception>
VJsonValue. as(Function<JsonValue,V,E> transformFunction)Returns the JSON value as an object whose type (and value) is specified by a transformation function.<V,E extends Exception>
Promise<V,E>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.static <V,E extends Exception>
Function<JsonValue,List<V>,E>JsonValueFunctions. listOf(Function<JsonValue,V,E> transformFunction)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.static <V,E extends Exception>
Function<JsonValue,Set<V>,E>JsonValueFunctions. setOf(Function<JsonValue,V,E> transformFunction)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 JsonValue Constructor Description JsonValueException(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 JsonValue Constructor Description JsonValueTraverseFunction(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 JsonValue Modifier and Type Method Description JsonValueJWKSet. getJWKsAsJsonValue()Get the JWKs in the set.JsonValueEcJWK. toJsonValue()JsonValueJWK. 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.JsonValueOctJWK. toJsonValue()JsonValueOkpJWK. toJsonValue()JsonValueRsaJWK.PrimesInfo. toJsonValue()Returns a json representation of the other factors.JsonValueRsaJWK. toJsonValue()Methods in org.forgerock.json.jose.jwk that return types with arguments of type JsonValue Modifier and Type Method Description Promise<JsonValue,FailedToLoadJWKException>JWKSetParser. gatherHttpContentsAsync(URL url)Uses the Client to gather HTTP information.Methods in org.forgerock.json.jose.jwk with parameters of type JsonValue Modifier and Type Method Description protected static voidJWK. loadJWKFromJson(JWK.Builder builder, JsonValue json)Load the generic JWK attributes from the json, by side effect.static EcJWKEcJWK. parse(JsonValue json)Parses a JWK from a JsonValue json object.static JWKJWK. parse(JsonValue jwk)Parses a JsonValue into the proper JWK type.static JWKSetJWKSet. parse(JsonValue json)Parses a JWKSet object from a jsonValue object.static OctJWKOctJWK. parse(JsonValue json)Parses a OctJWK object from a jsonValue object.static OkpJWKOkpJWK. parse(JsonValue json)Parses a JWK from a JsonValue json object.static RsaJWKRsaJWK. parse(JsonValue json)Parses a RsaJWK from a jsonValue Object.static RsaJWK.PrimesInfoRsaJWK.PrimesInfo. parse(JsonValue json)Parses a PrimesInfo from a jsonValue Object.protected voidJWK. putField(JsonValue jsonValue, String key, Object value)Add a string value into a json only if it's not null.Constructors in org.forgerock.json.jose.jwk with parameters of type JsonValue Constructor Description JWKSet(JsonValue jwks)Construct a JWKSet from a single JWK. -
Uses of JsonValue in org.forgerock.json.jose.jwt
Methods in org.forgerock.json.jose.jwt that return JsonValue Modifier and Type Method Description JsonValueJWObject. get(String key)Returns the specified item value.JsonValueJWObject. 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 JsonValue Modifier and Type Method Description JsonValueJwtTokenHandler. validateAndExtractState(String snapshotToken)Deprecated.JsonValueSecretsJwtTokenHandler. validateAndExtractState(String snapshotToken)Methods in org.forgerock.json.jose.tokenhandler with parameters of type JsonValue Modifier and Type Method Description StringJwtTokenHandler. generate(JsonValue state)Deprecated.StringSecretsJwtTokenHandler. generate(JsonValue state) -
Uses of JsonValue in org.forgerock.json.resource
Methods in org.forgerock.json.resource that return JsonValue Modifier and Type Method Description static JsonValueResources. filterResource(JsonValue resource, Collection<JsonPointer> fields)Returns a JSON object containing only the specified fields from the provided JSON value.JsonValueActionRequest. getContent()Returns the content of this action request.JsonValueCreateRequest. getContent()Returns the content of the JSON resource to be created.JsonValueResourceResponse. getContent()Returns the JSON content of this resource.JsonValueUpdateRequest. getContent()Returns the content of the JSON resource to be replaced.JsonValueResourceException. getDetail()Returns the additional detail which can be evaluated by applications.JsonValueActionResponse. getJsonContent()Gets theJsonValuecontent contained in theResponse.JsonValuePatchOperation. getValue()Returns the value for the patch operation.JsonValueActionRequest. toJsonValue()JsonValueCreateRequest. toJsonValue()JsonValueDeleteRequest. toJsonValue()JsonValuePatchOperation. toJsonValue()Returns a JSON value representation of this patch operation.JsonValuePatchRequest. toJsonValue()JsonValueQueryRequest. toJsonValue()JsonValueReadRequest. toJsonValue()JsonValueRequest. toJsonValue()Return a JsonValue representation of this request.JsonValueResourceException. toJsonValue()Returns the exception in a JSON object structure, suitable for inclusion in the entity of an HTTP error response.JsonValueUpdateRequest. toJsonValue()Methods in org.forgerock.json.resource that return types with arguments of type JsonValue Modifier and Type Method Description static Function<JsonValue,QueryFilter<JsonPointer>,JsonValueException>JsonValueFunctions. queryFilter()Parses and returns the JSON string value as aQueryFilter.static Function<JsonValue,ResourcePath,JsonValueException>JsonValueFunctions. resourcePath()Returns the JSON string value as aResourcePath.Methods in org.forgerock.json.resource with parameters of type JsonValue Modifier and Type Method Description PatchRequestPatchRequest. addPatchOperation(String operation, String field, JsonValue value)Adds a single patch operation which should be performed against the targeted resource.intSortKeyComparator. compare(JsonValue left, JsonValue right)static 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.static ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecificationResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification. resourcePathAndVersionSpecification(JsonValue versionMatrix)Create a newResourcePathAndVersionSpecificationconfigured with resource path to version specification.ActionRequestActionRequest. setContent(JsonValue content)Sets the content of this action request.CreateRequestCreateRequest. setContent(JsonValue content)Sets the content of the JSON resource to be created.UpdateRequestUpdateRequest. setContent(JsonValue content)Sets the content of the JSON resource to be replaced.<E extends ResourceException>
EResourceException. setDetail(JsonValue detail)Sets the additional detail which can be evaluated by applications.static PatchOperationPatchOperation. valueOf(JsonValue json)Parses 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 JsonValue Constructor Description AdviceContext(JsonValue savedContext, ClassLoader classLoader)Restore from JSON representation. -
Uses of JsonValue in org.forgerock.macaroons
Subclasses of JsonValue in org.forgerock.macaroons Modifier and Type Class Description classJsonCaveatSetConvenience class for constructing a set of JSON-based 1st-party caveats for use withMacaroon.addFirstPartyCaveat(JsonValue).Methods in org.forgerock.macaroons with parameters of type JsonValue Modifier and Type Method Description MacaroonMacaroon. addFirstPartyCaveat(JsonValue caveat)Adds a first-party caveat to the macaroon.JsonCaveatSetJsonCaveatSet. confirmationKey(JsonValue confirmationKey)Binds the macaroon to only be usable by a client that can prove possession of the key indicated in the given JSON object.Method parameters in org.forgerock.macaroons with type arguments of type JsonValue Modifier and Type Method Description JsonCaveatVerifierJsonCaveatVerifier. satisfyJsonCaveat(String field, Predicate<JsonValue> verifier)Adds a verifier for a caveat specified as a JSON field. -
Uses of JsonValue in org.forgerock.oauth
Methods in org.forgerock.oauth that return JsonValue Modifier and Type Method Description JsonValueUserInfo. getRawProfile()Gets the user raw profile data without any modifications that was returned by the auth server.JsonValueDataStore. retrieveData()Returns the stored data.Methods in org.forgerock.oauth that return types with arguments of type JsonValue Modifier and Type Method Description Promise<JsonValue,OAuthException>OAuthClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)Handle the data produced by the Auth Server as a result of a successful authentication and return the final redirect to the mobile device.Promise<JsonValue,OAuthException>OAuthClient. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters)Handle the data produced by the Auth Server as a result of a successful authentication and return the final redirect to the landing page specified in theOAuthClient.getAuthRedirect(DataStore, String, URI)call.Methods in org.forgerock.oauth with parameters of type JsonValue Modifier and Type Method Description voidDataStore. storeData(JsonValue data)Stores the data. -
Uses of JsonValue in org.forgerock.oauth.clients.apple
Methods in org.forgerock.oauth.clients.apple that return types with arguments of type JsonValue Modifier and Type Method Description Promise<JsonValue,OAuthException>AppleClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> requestParameters)Promise<JsonValue,OAuthException>AppleClient. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters) -
Uses of JsonValue in org.forgerock.oauth.clients.facebook
Methods in org.forgerock.oauth.clients.facebook that return types with arguments of type JsonValue Modifier and Type Method Description protected Promise<JsonValue,OAuthException>FacebookClient. getAppAccessToken(Context context)Retrieves the app access token from IDP.protected AsyncFunction<JsonValue,JsonValue,OAuthException>FacebookClient. getInputTokenInfo(Context context, String inputToken)Retrieves the access token information as aJsonValue.protected AsyncFunction<JsonValue,JsonValue,OAuthException>FacebookClient. getInputTokenInfo(Context context, String inputToken)Retrieves the access token information as aJsonValue.Promise<JsonValue,OAuthException>FacebookClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)protected Function<JsonValue,JsonValue,OAuthException>FacebookClient. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken)protected Function<JsonValue,JsonValue,OAuthException>FacebookClient. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken)Methods in org.forgerock.oauth.clients.facebook with parameters of type JsonValue Modifier and Type Method Description protected Function<JsonValue,JsonValue,OAuthException>FacebookClient. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken) -
Uses of JsonValue in org.forgerock.oauth.clients.oauth2
Fields in org.forgerock.oauth.clients.oauth2 with type parameters of type JsonValue Modifier and Type Field Description protected Function<JsonValue,JsonValue,OAuthException>OAuth2Client. addExpireTimeAdds the actual time the token expires.protected Function<JsonValue,JsonValue,OAuthException>OAuth2Client. addExpireTimeAdds the actual time the token expires.Methods in org.forgerock.oauth.clients.oauth2 that return JsonValue Modifier and Type Method Description JsonValueOAuth2UserInfo. getRawProfile()Methods in org.forgerock.oauth.clients.oauth2 that return types with arguments of type JsonValue Modifier and Type Method Description protected Function<Void,JsonValue,OAuthException>OAuth2Client. createPostAuthResponse(JsonValue storedData)Creates the post auth response.protected Promise<JsonValue,OAuthException>OAuth2Client. createPostResponse(DataStore dataStore, JsonValue storedData)Creates the post response.protected Promise<JsonValue,OAuthException>OAuth2Client. getAccessTokenInfo(Context context, String accessToken)Retrieves the access token information as aJsonValue.Promise<JsonValue,OAuthException>OAuth2Client. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)Promise<JsonValue,OAuthException>OAuth2Client. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters)protected static AsyncFunction<Response,JsonValue,OAuthException>OAuth2Client. mapToJsonValue()AnAsyncFunctionthat handles aResponsefrom an Auth Server that returns the HTTP entity content as JsonValue, and throws anOAuthExceptionif the response is not successful (200 family status code), or if the content is not a valid JSON.protected Function<JsonValue,UserInfo,OAuthException>OAuth2Client. mapToUserInfo()Creates aOAuth2UserInfousing a users raw profile.protected Function<JsonValue,Void,OAuthException>OAuth2Client. storeResponse(DataStore dataStore)Stores all the information received from an authentication or authorization server.protected Function<JsonValue,JsonValue,OAuthException>OAuth2Client. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken)Compare client_id from access token associated data with configured client_id.protected Function<JsonValue,JsonValue,OAuthException>OAuth2Client. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken)Compare client_id from access token associated data with configured client_id.Methods in org.forgerock.oauth.clients.oauth2 with parameters of type JsonValue Modifier and Type Method Description protected Function<Void,JsonValue,OAuthException>OAuth2Client. createPostAuthResponse(JsonValue storedData)Creates the post auth response.protected Promise<JsonValue,OAuthException>OAuth2Client. createPostResponse(DataStore dataStore, JsonValue storedData)Creates the post response.protected Promise<Request,OAuthException>OAuth2Client. createRequestForTokenRefresh(JsonValue storedData)Creates aRequestfor the token refresh endpoint of an identity provider.protected static StringOAuth2Client. getAccessToken(JsonValue data)Retrieves an access token from aJsonValue.protected Function<JsonValue,JsonValue,OAuthException>OAuth2Client. validateClientId(DataStore dataStore, JsonValue storedData, String inputToken)Compare client_id from access token associated data with configured client_id.Constructors in org.forgerock.oauth.clients.oauth2 with parameters of type JsonValue Constructor Description OAuth2UserInfo(String authenticationIdKey, JsonValue rawProfile)Creates an OAuth2UserInfo object which wraps the raw profile of a user and provides the Subject of a particular user. -
Uses of JsonValue in org.forgerock.oauth.clients.oidc
Methods in org.forgerock.oauth.clients.oidc that return JsonValue Modifier and Type Method Description static JsonValueClaimsMapper. asJsonValue(Claims claims)Returns the Claims as a map with keys of id_token, userinfo, and any custom claims.JsonValueOpenIDConnectUserInfo. getRawProfile()Gets the user raw profile data without any modifications that was returned by the auth server.protected static JsonValueOpenIDConnectClient. jwtClaimsAsJsonValue(JwtClaimsSet jwtClaims)Returns the jwt claims as aJsonValue.Methods in org.forgerock.oauth.clients.oidc that return types with arguments of type JsonValue Modifier and Type Method Description Promise<JsonValue,OAuthException>OpenIDConnectClient. handleNativePostAuth(Context context, DataStore dataStore, Map<String,List<String>> parameters)Promise<JsonValue,OAuthException>OpenIDConnectClient. handlePostAuth(DataStore dataStore, Map<String,List<String>> requestParameters)protected Function<JsonValue,UserInfo,OAuthException>OpenIDConnectClient. mapToUserInfo(JwtClaimsSet jwtClaims)Maps a retrieved raw profile from the user info endpoint to anOpenIDConnectUserInfoobject.protected Function<JsonValue,JsonValue,OAuthException>OpenIDConnectClient. validateSub(DataStore dataStore)Validates the sub Claim in the UserInfo Response is an exact match to the sub Claim in the ID Token.protected Function<JsonValue,JsonValue,OAuthException>OpenIDConnectClient. validateSub(DataStore dataStore)Validates the sub Claim in the UserInfo Response is an exact match to the sub Claim in the ID Token.Methods in org.forgerock.oauth.clients.oidc with parameters of type JsonValue Modifier and Type Method Description protected static StringOpenIDConnectClient. getNonce(JsonValue storedData)Returns the nonce value store in the data store.Claim.ClaimBuilderClaim.ClaimBuilder. withJsonValue(JsonValue value)Sets the value for the ClaimBuilder.Method parameters in org.forgerock.oauth.clients.oidc with type arguments of type JsonValue Modifier and Type Method Description Claim.ClaimBuilderClaim.ClaimBuilder. withJsonValues(List<JsonValue> values)Sets the values for the ClaimBuilder.Constructors in org.forgerock.oauth.clients.oidc with parameters of type JsonValue Constructor Description OpenIDConnectUserInfo(JsonValue rawProfile, String subject)Creates an OpenIDConnectUserInfo instance.OpenIDConnectUserInfo(JsonValue rawProfile, JwtClaimsSet jwtClaimsSet)Creates an OpenIDConnectUserInfo instance. -
Uses of JsonValue in org.forgerock.oauth2.core
Methods in org.forgerock.oauth2.core that return JsonValue Modifier and Type Method Description JsonValueOAuth2Request. getBody()Gets the body of the request.JsonValueAccessToken. getConfirmationKey()Get's the token's confirmation claim.JsonValueAccessToken. getPermissions()Get the UMA permissions contained in the token.JsonValueToken. toJsonValue()Gets theJsonValuerepresentation of the token.Methods in org.forgerock.oauth2.core with parameters of type JsonValue Modifier and Type Method Description voidAccessToken. setAct(JsonValue value)voidAccessToken. setConfirmationKey(JsonValue confirmationKey)Sets the token's confirmation claim.voidAccessToken. setMayAct(JsonValue value)voidAccessToken. setPermissions(JsonValue permissions)Set the UMA permissions contained in the token.Method parameters in org.forgerock.oauth2.core with type arguments of type JsonValue Modifier and Type Method Description voidAccessToken. addExtraJsonData(String key, Supplier<JsonValue> value)Stores additional JSON data inside the token. -
Uses of JsonValue in org.forgerock.openam.auth.node.api
Fields in org.forgerock.openam.auth.node.api declared as JsonValue Modifier and Type Field Description JsonValueAction. sharedStateThe output state of the node.JsonValueTreeContext. sharedStateDeprecated.UseTreeContext.getStateFor(Node)instead as this method does not leak implementation detail of the specific type of state.JsonValueAction. transientStateThe transient state of the node.JsonValueTreeContext. transientStateDeprecated.UseTreeContext.getStateFor(Node)instead as this method does not leak implementation detail of the specific type of state.Fields in org.forgerock.openam.auth.node.api with type parameters of type JsonValue Modifier and Type Field Description List<JsonValue>Action. sessionHooksList of classes implementingTreeHookthat run after successful login.Methods in org.forgerock.openam.auth.node.api that return JsonValue Modifier and Type Method Description JsonValueNodeState. get(String key)Gets the value for the given key from the state.default JsonValueNode. getAuditEntryDetail()Supply the additional detail to be logged with this node's completion event.JsonValueNodeState. getObject(String key)Get the value for the given key from the state.JsonValueTreeContext. getSecureState(String stateKey)Deprecated.UseTreeContext.getStateFor(Node)instead as this method does not leak implementation detail of the specific type of state.JsonValueTreeContext. getState(String stateKey)Deprecated.UseTreeContext.getStateFor(Node)instead as this method performs the same function but supports filtering of the available state based on the nodes declared inputs.JsonValueTreeContext. getTransientState(String stateKey)Deprecated.UseTreeContext.getStateFor(Node)instead as this method does not leak implementation detail of the specific type of state.Methods in org.forgerock.openam.auth.node.api with parameters of type JsonValue Modifier and Type Method Description TreeContextTreeContext. copyWithCallbacksAndState(JsonValue sharedState, JsonValue transientState, JsonValue secureState, List<? extends Callback> callbacks)Copies this TreeContext instance, replacing the callbacks in the context with the provided callbacks and with the provided new state if input state parameter is not null.List<OutcomeProvider.Outcome>OutcomeProvider. getOutcomes(PreferredLocales locales, JsonValue nodeAttributes)Returns a ordered list of possible node outcomes with localised display names.default List<OutcomeProvider.Outcome>StaticOutcomeProvider. getOutcomes(PreferredLocales locales, JsonValue nodeAttributes)Action.ActionBuilderAction.ActionBuilder. replaceSharedState(JsonValue sharedState)Replace the shared state.Action.ActionBuilderAction.ActionBuilder. replaceTransientState(JsonValue transientState)Replace the transient state.Method parameters in org.forgerock.openam.auth.node.api with type arguments of type JsonValue Modifier and Type Method Description Action.ActionBuilderAction.ActionBuilder. addSessionHooks(List<JsonValue> sessionHooks)Adds session hooks to the list.Constructors in org.forgerock.openam.auth.node.api with parameters of type JsonValue Constructor Description TreeContext(String identityResource, JsonValue sharedState, JsonValue transientState, JsonValue secureState, ExternalRequestContext request, List<? extends Callback> callbacks, boolean resumedFromSuspend, Optional<String> universalId)Construct a tree context for the current state.TreeContext(String identityResource, JsonValue sharedState, JsonValue transientState, JsonValue secureState, ExternalRequestContext request, List<? extends Callback> callbacks, Optional<String> universalId)Construct a tree context for the current state.TreeContext(String identityResource, JsonValue sharedState, JsonValue transientState, ExternalRequestContext request, List<? extends Callback> callbacks, Optional<String> universalId)Construct a tree context for the current state.TreeContext(String identityResource, JsonValue sharedState, ExternalRequestContext request, List<? extends Callback> callbacks)Construct a tree context for the current state.TreeContext(JsonValue sharedState, JsonValue transientState, JsonValue secureState, ExternalRequestContext request, List<? extends Callback> callbacks, boolean resumedFromSuspend, Optional<String> universalId)Construct a tree context for the current state.TreeContext(JsonValue sharedState, JsonValue transientState, JsonValue secureState, ExternalRequestContext request, List<? extends Callback> callbacks, Optional<String> universalId)Construct a tree context for the current state.TreeContext(JsonValue sharedState, JsonValue transientState, ExternalRequestContext request, List<? extends Callback> callbacks, Optional<String> universalId)Construct a tree context for the current state.TreeContext(JsonValue sharedState, ExternalRequestContext request, List<? extends Callback> callbacks, Optional<String> universalId)Construct a tree context for the current state. -
Uses of JsonValue in org.forgerock.openam.oauth2
Methods in org.forgerock.openam.oauth2 that return JsonValue Modifier and Type Method Description JsonValueResourceSetDescription. getDescription()Gets the resource set description as aJsonValue.JsonValueResourceSetDescription. getPolicy()Gets the name of the policy linked to this resource set.Methods in org.forgerock.openam.oauth2 with parameters of type JsonValue Modifier and Type Method Description voidResourceSetDescription. setDescription(JsonValue description)voidResourceSetDescription. setPolicy(JsonValue policy) -
Uses of JsonValue in org.forgerock.openam.oauth2.token.macaroon
Methods in org.forgerock.openam.oauth2.token.macaroon with parameters of type JsonValue Modifier and Type Method Description TMacaroonToken. addFirstPartyCaveat(JsonValue caveat)Adds a first-party caveat to the access token macaroon. -
Uses of JsonValue in org.forgerock.openam.services.push.dispatch.predicates
Methods in org.forgerock.openam.services.push.dispatch.predicates with parameters of type JsonValue Modifier and Type Method Description booleanPredicate. perform(JsonValue content)Execute the predicate against the given Json content and return the predicate's success/failure. -
Uses of JsonValue in org.forgerock.openam.sts.config.user
Methods in org.forgerock.openam.sts.config.user that return JsonValue Modifier and Type Method Description JsonValueSAML2Config. toJson()Gets theJsonValuerepresentation of the SAML2Config.JsonValueSAML2Config. toSmsJson()Gets the SMSJsonValuerepresentation of the SAML2Config.Methods in org.forgerock.openam.sts.config.user with parameters of type JsonValue Modifier and Type Method Description static SAML2ConfigSAML2Config. fromJson(JsonValue json)Creates a SAML2Config object from aJsonValuerepresentationstatic SAML2ConfigSAML2Config. fromSmsJson(JsonValue json)Creates a SAML2Config object from a SMSJsonValuerepresentation -
Uses of JsonValue in org.forgerock.openam.sts.rest.token.provider
Methods in org.forgerock.openam.sts.rest.token.provider that return JsonValue Modifier and Type Method Description JsonValueRestTokenProvider. createToken(RestTokenProviderParameters<T> restTokenProviderParameters)Creates a token using the specifiedRestTokenProviderParametersJsonValueRestTokenProviderParameters. getInputToken()Gets the json representation of the input token. -
Uses of JsonValue in org.forgerock.openam.sts.rest.token.provider.oidc
Methods in org.forgerock.openam.sts.rest.token.provider.oidc with parameters of type JsonValue Modifier and Type Method Description StringOpenIdConnectTokenAuthnContextMapper. getAuthnContextClassReference(TokenTypeId inputTokenType, JsonValue inputToken)Returns the AuthnContext value corresponding to the TokenType inputToken.Set<String>OpenIdConnectTokenAuthMethodReferencesMapper. getAuthnMethodsReferences(TokenTypeId inputTokenType, JsonValue inputToken)Returns the Set of authentication methods references corresponding to the TokenType inputToken. -
Uses of JsonValue in org.forgerock.openam.sts.user.invocation
Methods in org.forgerock.openam.sts.user.invocation that return JsonValue Modifier and Type Method Description JsonValueProofTokenState. toJson()Gets theJsonValuerepresentation of theProofTokenStateMethods in org.forgerock.openam.sts.user.invocation with parameters of type JsonValue Modifier and Type Method Description static ProofTokenStateProofTokenState. fromJson(JsonValue jsonValue)Constructs aProofTokenStatefrom the specifiedJsonValuerepresentation. -
Uses of JsonValue in org.forgerock.openam.uma
Methods in org.forgerock.openam.uma that return JsonValue Modifier and Type Method Description JsonValuePermissionTicket. getContents()JsonValuePermissionTicket. getPermissions()Methods in org.forgerock.openam.uma with parameters of type JsonValue Modifier and Type Method Description voidPermissionTicket. setContents(JsonValue contents)Constructors in org.forgerock.openam.uma with parameters of type JsonValue Constructor Description PermissionTicket(String id, JsonValue permissions, String resourceServerClientId, String authGrantId, Boolean issued) -
Uses of JsonValue in org.forgerock.openidconnect
Methods in org.forgerock.openidconnect with parameters of type JsonValue Modifier and Type Method Description Claim.ClaimBuilderClaim.ClaimBuilder. withJsonValue(JsonValue value)Method parameters in org.forgerock.openidconnect with type arguments of type JsonValue Modifier and Type Method Description Claim.ClaimBuilderClaim.ClaimBuilder. withJsonValues(List<JsonValue> values) -
Uses of JsonValue in org.forgerock.secrets.vault
Methods in org.forgerock.secrets.vault with parameters of type JsonValue Modifier and Type Method Description Promise<SecretBuilder,NoSuchSecretException>VaultKeyValueSecretStore.SecretFieldDecoder. apply(SecretBuilder secretBuilder, JsonValue jsonValue)Decodes a JSON value into one or more fields on aSecretBuilder.Constructors in org.forgerock.secrets.vault with parameters of type JsonValue Constructor Description VaultPkiSecretStore(SecretReference<GenericSecret> tokenReference, VaultConfig config, JsonValue certificateRequestPayload)Initializes the PKI secret store using the given authentication token and configuration options. -
Uses of JsonValue in org.forgerock.selfservice.core
Methods in org.forgerock.selfservice.core that return JsonValue Modifier and Type Method Description static JsonValueServiceUtils. emptyJson()Relieves an empty json object.JsonValueProgressStage. gatherInitialRequirements(ProcessContext context, C config)Response for defining any initial requirements the stage may have.JsonValueProgressStageBinding. gatherInitialRequirements(ProcessContext context)Response for defining any initial requirements the bound stage may have.JsonValueProcessContext. getInput()Gets the input provided by the client.JsonValueStageResponse. getRequirements()Returns the requirements.JsonValueProcessContext. getState(String jsonPointer)Allows retrieval of state persisted throughout the flow.JsonValueProcessStore. remove(String key)Removes the state out of the store.Methods in org.forgerock.selfservice.core with parameters of type JsonValue Modifier and Type Method Description voidProcessStore. add(String key, JsonValue state)Adds the state into the store against the key.StageResponse.RequirementsBuilderStageResponse.Builder. setRequirements(JsonValue requirements)Sets the json requirements.Constructors in org.forgerock.selfservice.core with parameters of type JsonValue Constructor Description SelfServiceContext(JsonValue savedContext, ClassLoader classLoader)Constructs a new SelfServiceContext. -
Uses of JsonValue in org.forgerock.selfservice.core.crypto
Methods in org.forgerock.selfservice.core.crypto that return JsonValue Modifier and Type Method Description JsonValueCryptoService. hash(String plainTextValue, String algorithm)Hashes a string value.JsonValueCryptoService. hash(String plainTextValue, String algorithm, JsonValue config)Hashes a string value.Methods in org.forgerock.selfservice.core.crypto with parameters of type JsonValue Modifier and Type Method Description JsonValueCryptoService. hash(String plainTextValue, String algorithm, JsonValue config)Hashes a string value.booleanCryptoService. isHashed(JsonValue value)Detects if a String is hashed.booleanCryptoService. matches(String plainTextValue, JsonValue value)Returns true if the supplied plain text value of a field matches the supplied hashed value. -
Uses of JsonValue in org.forgerock.selfservice.core.util
Methods in org.forgerock.selfservice.core.util that return JsonValue Modifier and Type Method Description JsonValueRequirementsBuilder. build()Builds a new json object representing the defined requirements.static JsonValueAnswers. hashAnswer(CryptoService cryptoService, JsonValue answer)Hashes the given answer.static JsonValueAnswers. hashAnswer(CryptoService cryptoService, JsonValue cryptoConfig, JsonValue answer)Hashes the given answer.static JsonValueRequirementsBuilder. newEmptyRequirements()Creates an empty requirements json object.Methods in org.forgerock.selfservice.core.util with parameters of type JsonValue Modifier and Type Method Description RequirementsBuilderRequirementsBuilder. addCustomField(String name, JsonValue customJsonValue)Add a custom Json snippet.static intConfigUtil. getConfigField(String fieldName, JsonValue config, int defaultValue)Retrieve an integer config value with a default if the value is absent.static StringConfigUtil. getConfigField(String fieldName, JsonValue config, String defaultValue)Retrieve a String config value with a default if the value is absent.static JsonValueAnswers. hashAnswer(CryptoService cryptoService, JsonValue answer)Hashes the given answer.static JsonValueAnswers. hashAnswer(CryptoService cryptoService, JsonValue cryptoConfig, JsonValue answer)Hashes the given answer.static RequirementsBuilderRequirementsBuilder. oneOf(JsonValue... oneOfElements)Creates a new builder instance for oneOf keyword.voidSecurityAnswer. verifyAndHashInput(CryptoService cryptoService, JsonValue kba, Map<String,Map<String,String>> kbaQuestions)Verifies and hashes the input provided for security questions and answers.voidSecurityAnswer. verifyAndHashInput(CryptoService cryptoService, JsonValue cryptoConfig, JsonValue kba, Map<String,Map<String,String>> kbaQuestions)Verifies and hashes the input provided for security questions and answers. -
Uses of JsonValue in org.forgerock.selfservice.stages.captcha
Methods in org.forgerock.selfservice.stages.captcha that return JsonValue Modifier and Type Method Description JsonValueCaptchaStage. gatherInitialRequirements(ProcessContext context, CaptchaStageConfig config) -
Uses of JsonValue in org.forgerock.selfservice.stages.email
Methods in org.forgerock.selfservice.stages.email that return JsonValue Modifier and Type Method Description JsonValueRetrieveEmailStage. gatherInitialRequirements(ProcessContext context, RetrieveEmailConfig config)JsonValueVerifyEmailAccountStage. gatherInitialRequirements(ProcessContext context, VerifyEmailAccountConfig config) -
Uses of JsonValue in org.forgerock.selfservice.stages.kba
Methods in org.forgerock.selfservice.stages.kba that return JsonValue Modifier and Type Method Description JsonValueSecurityAnswerDefinitionStage. gatherInitialRequirements(ProcessContext context, SecurityAnswerDefinitionConfig config)JsonValueSecurityAnswerVerificationStage. gatherInitialRequirements(ProcessContext context, SecurityAnswerVerificationConfig config)Methods in org.forgerock.selfservice.stages.kba with parameters of type JsonValue Modifier and Type Method Description voidSecurityAnswerLockoutManager. handleSecurityAnswerMatchFailure(Context context, JsonValue user, String identityServiceUrl)Handle the security answer match failure.voidSecurityAnswerLockoutManager. validateUserLockout(Context context, JsonValue user)Verifies whether user should be allowed to attempt security answer verification. -
Uses of JsonValue in org.forgerock.selfservice.stages.parameters
Methods in org.forgerock.selfservice.stages.parameters that return JsonValue Modifier and Type Method Description JsonValueParametersStage. gatherInitialRequirements(ProcessContext context, ParametersConfig config) -
Uses of JsonValue in org.forgerock.selfservice.stages.registration
Methods in org.forgerock.selfservice.stages.registration that return JsonValue Modifier and Type Method Description JsonValueUserRegistrationStage. gatherInitialRequirements(ProcessContext context, UserRegistrationConfig config) -
Uses of JsonValue in org.forgerock.selfservice.stages.reset
Methods in org.forgerock.selfservice.stages.reset that return JsonValue Modifier and Type Method Description JsonValueResetStage. gatherInitialRequirements(ProcessContext context, ResetStageConfig config) -
Uses of JsonValue in org.forgerock.selfservice.stages.user
Methods in org.forgerock.selfservice.stages.user that return JsonValue Modifier and Type Method Description JsonValueEmailUsernameStage. gatherInitialRequirements(ProcessContext context, EmailUsernameConfig config)JsonValueRetrieveUsernameStage. gatherInitialRequirements(ProcessContext context, RetrieveUsernameConfig config)JsonValueUserDetailsStage. gatherInitialRequirements(ProcessContext context, UserDetailsConfig config)JsonValueUserQueryStage. gatherInitialRequirements(ProcessContext context, UserQueryConfig config)JsonValueValidateActiveAccountStage. gatherInitialRequirements(ProcessContext context, ValidateActiveAccountConfig config) -
Uses of JsonValue in org.forgerock.services
Methods in org.forgerock.services that return JsonValue Modifier and Type Method Description JsonValueTransactionId. toJson()Returns a representation of this TransactionId as a JsonValue.Methods in org.forgerock.services with parameters of type JsonValue Modifier and Type Method Description static TransactionIdTransactionId. valueOf(JsonValue value)Creates a TransactionId from a JsonValue. -
Uses of JsonValue in org.forgerock.services.context
Fields in org.forgerock.services.context declared as JsonValue Modifier and Type Field Description protected JsonValueAbstractContext. dataThe Context data.Methods in org.forgerock.services.context that return JsonValue Modifier and Type Method Description JsonValueAbstractContext. toJsonValue()JsonValueContext. toJsonValue()Return this Context as a JsonValue (for persistence).JsonValueRequestAuditContext. toJsonValue()JsonValueTransactionIdContext. toJsonValue()Updates the data object to have the current transactionId state.Constructors in org.forgerock.services.context with parameters of type JsonValue Constructor Description AbstractContext(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 JsonValue Modifier and Type Method Description JsonValueTokenHandler. validateAndExtractState(String token)Validates and parses the token, extracting any encapsulated state.Methods in org.forgerock.tokenhandler with parameters of type JsonValue Modifier and Type Method Description StringTokenHandler. generate(JsonValue state)Generates a new token using the state. -
Uses of JsonValue in org.forgerock.util.query
Methods in org.forgerock.util.query that return types with arguments of type JsonValue Modifier and Type Method Description static QueryFilterVisitor<Boolean,JsonValue,JsonPointer>JsonValueFilterVisitor. 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 JsonValue Modifier and Type Method Description BooleanJsonValueFilterVisitor. visitAndFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)BooleanJsonValueFilterVisitor. visitBooleanLiteralFilter(JsonValue p, boolean value)BooleanJsonValueFilterVisitor. visitComplexFilter(JsonValue p, JsonPointer field, QueryFilter<JsonPointer> subFilter)BooleanJsonValueFilterVisitor. visitContainsFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitEqualsFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitExtendedMatchFilter(JsonValue p, JsonPointer field, String matchingRuleId, Object valueAssertion)BooleanJsonValueFilterVisitor. visitGreaterThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitGreaterThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitLessThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitLessThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)BooleanJsonValueFilterVisitor. visitNotFilter(JsonValue p, QueryFilter<JsonPointer> subFilter)BooleanJsonValueFilterVisitor. visitOrFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)BooleanJsonValueFilterVisitor. visitPresentFilter(JsonValue p, JsonPointer field)BooleanJsonValueFilterVisitor. visitStartsWithFilter(JsonValue p, JsonPointer field, Object valueAssertion)
-