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. SeeMacaroon
for 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 asMacaroon
s.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 theContext
interface 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 JsonValue
ThingsAccessAuditFilter. 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 void
CrestAnySchema. validate(JsonValue object)
void
CrestArraySchema. validate(JsonValue object)
void
CrestBooleanSchema. validate(JsonValue object)
void
CrestObjectSchema. 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 JsonValue
TranslateJsonSchema. apply(JsonValue value)
Applies the translation to string values by converting them toLocalizableString
.abstract JsonValue
Schema. 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 JsonValue
TranslateJsonSchema. apply(JsonValue value)
Applies the translation to string values by converting them toLocalizableString
.Schema.Builder
Schema.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 JsonValue
AuthorizationResult. 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 AuthorizationResult
AuthorizationResult. accessDenied(String reason, JsonValue detail)
Creates a newAuthorizationResult
instance 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 void
AuditApi. 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 PropertyResolver
PropertyResolvers. jsonResolver(String name, JsonValue json)
Construct a newJsonValueResolver
using a given aJsonValue
.static PropertyResolver
PropertyResolvers. jsonResolver(JsonValue json)
Construct a newJsonValueResolver
using 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 JsonValue
JsonValuePropertyEvaluator. evaluate(JsonValue object, boolean escape)
Traverses aJsonValue
and does property substitution as well as any type coercion.JsonValue
JsonValuePropertyEvaluator. evaluate(JsonValue object, SubstitutionContext context)
Traverses aJsonValue
and 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 theMap
argument toJsonValuePropertyEvaluator(SubstitutionService, List)
.Methods in org.forgerock.config.util with parameters of type JsonValue Modifier and Type Method Description JsonValue
JsonValuePropertyEvaluator. evaluate(JsonValue object, boolean escape)
Traverses aJsonValue
and does property substitution as well as any type coercion.JsonValue
JsonValuePropertyEvaluator. evaluate(JsonValue object, SubstitutionContext context)
Traverses aJsonValue
and 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.CoercionFunctionSpecBuilder
JsonValuePropertyEvaluator. coerce(Predicate<JsonValue> predicate)
Define a coercion function.JsonValuePropertyEvaluator.CoercionFunctionSpec
JsonValuePropertyEvaluator.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 JsonValue
AccessTokenInfo. 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 anAccessTokenInfo
with 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 JsonValue
JsonValue. add(int index, Object object)
Adds the specified value to the list.JsonValue
JsonValue. add(Object object)
Adds the specified value to the end of the list.JsonValue
JsonValue. add(String key, Object object)
Adds the specified value.JsonValue
JsonValue. add(JsonPointer pointer, Object object)
Adds the value identified by the specified pointer, relative to this value as root.JsonValue
JsonValue. addIfNotNull(String key, Object object)
Adds the specified object value only if it is not nullJsonValue
JsonValue. addPermissive(JsonPointer pointer, Object object)
Adds the value identified by the specified pointer, relative to this value as root.JsonValue
JsonValueTraverseFunction. apply(JsonValue value)
JsonValue
JsonValue. clone()
Returns a shallow copy of this JSON value.JsonValue
JsonValue. copy()
Returns a deep copy of this JSON value.JsonValue
JsonValue. defaultTo(Object object)
Defaults the JSON value to the specified value if it is currentlynull
.static JsonValue
JsonPatch. diff(JsonValue original, JsonValue target)
Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginal
value to arrive at thetarget
value.JsonValue
JsonValue. 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 thetarget
value.JsonValue
JsonValue. expect(Class<?> type)
Called to enforce that the JSON value is of a particular type.JsonValue
JsonValue. get(int index)
Returns the specified child value.JsonValue
JsonValue. get(String key)
Returns the specified item value.JsonValue
JsonValue. get(JsonPointer pointer)
Returns the specified child value with a pointer, relative to this value as root.JsonValue
JsonValueException. getJsonValue()
Returns the JSON value for which the exception was thrown.static JsonValue
JsonValue. json(Object object)
Returns a JSON value whose content is the provided object.static JsonValue
JsonPatch. merge(JsonValue first, JsonValue second)
Creates a new JSON value which combines the contents two JSON values.JsonValue
JsonValue. merge(JsonValue other)
Creates a new JSON value which combines the contents this JSON value with another.JsonValue
JsonValue. put(int index, Object object)
Sets the value of the specified child list element.JsonValue
JsonValue. put(String key, Object object)
Sets the value of the specified member.JsonValue
JsonValue. put(JsonPointer pointer, Object object)
Sets the value identified by the specified pointer, relative to this value as root.JsonValue
JsonValue. putIfNotNull(String key, Object object)
Sets the value of the specified member, only if it is not null.JsonValue
JsonValue. putPermissive(JsonPointer pointer, Object object)
Sets the value identified by the specified pointer, relative to this value as root.JsonValue
JsonValue. required()
Throws aJsonValueException
if 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 transformfunction
to 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 transformfunction
to 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 aInstant
by 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 aFile
object.static Function<JsonValue,JsonValue,JsonValueException>
JsonValueFunctions. identity()
Deprecated.useJsonValue::copy
directly insteadstatic Function<JsonValue,JsonValue,JsonValueException>
JsonValueFunctions. identity()
Deprecated.useJsonValue::copy
directly insteadstatic Function<JsonValue,Instant,JsonValueException>
JsonValueFunctions. instant()
static Function<JsonValue,Integer,NumberFormatException>
JsonValueFunctions. integer()
Returns anInteger
by 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 aList
containing objects whose type (and value) is specified by a transformation function.static Function<JsonValue,Optional<JsonValue>,JsonValueException>
JsonValueFunctions. optional()
Return anOptional
if the given JsonValue has a value, orOptional.empty()
if the JsonValue contains a null value.static Function<JsonValue,Optional<JsonValue>,JsonValueException>
JsonValueFunctions. optional()
Return anOptional
if 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 anOptional
of 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 aBoolean
by converting the JsonValue usingasLong()
, or by parsing the JsonValue string usingBoolean.parseBoolean(String)
.static Function<JsonValue,Long,NumberFormatException>
JsonValueFunctions. parseLong()
Returns aLong
by 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 aSet
containing 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 aSet
containing 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 JsonValue
JsonValueTraverseFunction. apply(JsonValue value)
static JsonValue
JsonPatch. diff(JsonValue original, JsonValue target)
Compares two JSON values, and produces a JSON Patch value, which contains the operations necessary to modify theoriginal
value to arrive at thetarget
value.JsonValue
JsonValue. 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 thetarget
value.Object
JsonPatchValueTransformer. getTransformedValue(JsonValue target, JsonValue op)
Return the value to be used for a given patch operation.static boolean
JsonPatch. isEqual(JsonValue value, JsonValue other)
Compares two JSON values, and returns whether the two objects are identical.boolean
JsonValue. isEqualTo(JsonValue other)
Performs a deep comparison of this JSON value with another JSON value, and returns whether the two objects are identical.static JsonValue
JsonPatch. merge(JsonValue first, JsonValue second)
Creates a new JSON value which combines the contents two JSON values.JsonValue
JsonValue. merge(JsonValue other)
Creates a new JSON value which combines the contents this JSON value with another.static void
JsonPatch. 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 void
JsonPatch. 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.void
JsonValue. patch(JsonValue patch)
Applies a set of modifications in a JSON patch value to the current object, resulting in the intended target value.protected Object
JsonValueTraverseFunction. traverseList(JsonValue value)
Transform a JsonValue List into another object.protected Object
JsonValueTraverseFunction. 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 transformfunction
to each element.static <V,E extends Exception>
Function<JsonValue,List<V>,E>JsonValueFunctions. listOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as aList
containing 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 anOptional
of 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 aSet
containing 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 andnull
as 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 JsonValue
JWKSet. getJWKsAsJsonValue()
Get the JWKs in the set.JsonValue
EcJWK. toJsonValue()
JsonValue
JWK. toJsonValue()
Returns a json representation of the JWK.protected static JsonValue
JWK. toJsonValue(String json)
Converts a String into a JsonValue.protected static JsonValue
JWKSet. toJsonValue(String json)
Converts a json string to a jsonValue.JsonValue
OctJWK. toJsonValue()
JsonValue
OkpJWK. toJsonValue()
JsonValue
RsaJWK.PrimesInfo. toJsonValue()
Returns a json representation of the other factors.JsonValue
RsaJWK. 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 void
JWK. loadJWKFromJson(JWK.Builder builder, JsonValue json)
Load the generic JWK attributes from the json, by side effect.static EcJWK
EcJWK. parse(JsonValue json)
Parses a JWK from a JsonValue json object.static JWK
JWK. parse(JsonValue jwk)
Parses a JsonValue into the proper JWK type.static JWKSet
JWKSet. parse(JsonValue json)
Parses a JWKSet object from a jsonValue object.static OctJWK
OctJWK. parse(JsonValue json)
Parses a OctJWK object from a jsonValue object.static OkpJWK
OkpJWK. parse(JsonValue json)
Parses a JWK from a JsonValue json object.static RsaJWK
RsaJWK. parse(JsonValue json)
Parses a RsaJWK from a jsonValue Object.static RsaJWK.PrimesInfo
RsaJWK.PrimesInfo. parse(JsonValue json)
Parses a PrimesInfo from a jsonValue Object.protected void
JWK. 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 JsonValue
JWObject. get(String key)
Returns the specified item value.JsonValue
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 JsonValue Modifier and Type Method Description JsonValue
JwtTokenHandler. validateAndExtractState(String snapshotToken)
Deprecated.JsonValue
SecretsJwtTokenHandler. validateAndExtractState(String snapshotToken)
Methods in org.forgerock.json.jose.tokenhandler with parameters of type JsonValue Modifier and Type Method Description String
JwtTokenHandler. generate(JsonValue state)
Deprecated.String
SecretsJwtTokenHandler. 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 JsonValue
Resources. filterResource(JsonValue resource, Collection<JsonPointer> fields)
Returns a JSON object containing only the specified fields from the provided JSON value.JsonValue
ActionRequest. getContent()
Returns the content of this action request.JsonValue
CreateRequest. getContent()
Returns the content of the JSON resource to be created.JsonValue
ResourceResponse. getContent()
Returns the JSON content of this resource.JsonValue
UpdateRequest. getContent()
Returns the content of the JSON resource to be replaced.JsonValue
ResourceException. getDetail()
Returns the additional detail which can be evaluated by applications.JsonValue
ActionResponse. getJsonContent()
Gets theJsonValue
content contained in theResponse
.JsonValue
PatchOperation. getValue()
Returns the value for the patch operation.JsonValue
ActionRequest. toJsonValue()
JsonValue
CreateRequest. toJsonValue()
JsonValue
DeleteRequest. toJsonValue()
JsonValue
PatchOperation. toJsonValue()
Returns a JSON value representation of this patch operation.JsonValue
PatchRequest. toJsonValue()
JsonValue
QueryRequest. toJsonValue()
JsonValue
ReadRequest. toJsonValue()
JsonValue
Request. toJsonValue()
Return a JsonValue representation of this request.JsonValue
ResourceException. toJsonValue()
Returns the exception in a JSON object structure, suitable for inclusion in the entity of an HTTP error response.JsonValue
UpdateRequest. 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 PatchRequest
PatchRequest. addPatchOperation(String operation, String field, JsonValue value)
Adds a single patch operation which should be performed against the targeted resource.int
SortKeyComparator. compare(JsonValue left, JsonValue right)
static JsonValue
Resources. filterResource(JsonValue resource, Collection<JsonPointer> fields)
Returns a JSON object containing only the specified fields from the provided JSON value.static ActionResponse
Responses. newActionResponse(JsonValue json)
Returns a newJsonValue
response with the provided JSON content.static CreateRequest
Requests. newCreateRequest(String resourceContainer, String newResourceId, JsonValue content)
Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequest
Requests. newCreateRequest(String resourceContainer, JsonValue content)
Returns a new create request with the provided resource path, and JSON content.static CreateRequest
Requests. newCreateRequest(ResourcePath resourceContainer, String newResourceId, JsonValue content)
Returns a new create request with the provided resource path, new resource ID, and JSON content.static CreateRequest
Requests. newCreateRequest(ResourcePath resourceContainer, JsonValue content)
Returns a new create request with the provided resource path, and JSON content.static ResourceResponse
Responses. newResourceResponse(String id, String revision, JsonValue content)
Returns a newResource
response with the provided Resource as content.static UpdateRequest
Requests. 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 UpdateRequest
Requests. newUpdateRequest(String resourcePath, JsonValue newContent)
Returns a new update request with the provided resource path and new JSON content.static UpdateRequest
Requests. 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 UpdateRequest
Requests. newUpdateRequest(ResourcePath resourcePath, JsonValue newContent)
Returns a new update request with the provided resource path and new JSON content.static ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification
ResourceApiVersionSpecificationFilter.ResourcePathAndVersionSpecification. resourcePathAndVersionSpecification(JsonValue versionMatrix)
Create a newResourcePathAndVersionSpecification
configured with resource path to version specification.ActionRequest
ActionRequest. setContent(JsonValue content)
Sets the content of this action request.CreateRequest
CreateRequest. setContent(JsonValue content)
Sets the content of the JSON resource to be created.UpdateRequest
UpdateRequest. 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 PatchOperation
PatchOperation. 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 class
JsonCaveatSet
Convenience 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 Macaroon
Macaroon. addFirstPartyCaveat(JsonValue caveat)
Adds a first-party caveat to the macaroon.JsonCaveatSet
JsonCaveatSet. 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 JsonCaveatVerifier
JsonCaveatVerifier. 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 JsonValue
UserInfo. getRawProfile()
Gets the user raw profile data without any modifications that was returned by the auth server.JsonValue
DataStore. 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 void
DataStore. 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. addExpireTime
Adds the actual time the token expires.protected Function<JsonValue,JsonValue,OAuthException>
OAuth2Client. addExpireTime
Adds the actual time the token expires.Methods in org.forgerock.oauth.clients.oauth2 that return JsonValue Modifier and Type Method Description JsonValue
OAuth2UserInfo. 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()
AnAsyncFunction
that handles aResponse
from an Auth Server that returns the HTTP entity content as JsonValue, and throws anOAuthException
if 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 aOAuth2UserInfo
using 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 aRequest
for the token refresh endpoint of an identity provider.protected static String
OAuth2Client. 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 JsonValue
ClaimsMapper. asJsonValue(Claims claims)
Returns the Claims as a map with keys of id_token, userinfo, and any custom claims.JsonValue
OpenIDConnectUserInfo. getRawProfile()
Gets the user raw profile data without any modifications that was returned by the auth server.protected static JsonValue
OpenIDConnectClient. 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 anOpenIDConnectUserInfo
object.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 String
OpenIDConnectClient. getNonce(JsonValue storedData)
Returns the nonce value store in the data store.Claim.ClaimBuilder
Claim.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.ClaimBuilder
Claim.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 JsonValue
OAuth2Request. getBody()
Gets the body of the request.JsonValue
AccessToken. getConfirmationKey()
Get's the token's confirmation claim.JsonValue
AccessToken. getPermissions()
Get the UMA permissions contained in the token.JsonValue
Token. toJsonValue()
Gets theJsonValue
representation of the token.Methods in org.forgerock.oauth2.core with parameters of type JsonValue Modifier and Type Method Description void
AccessToken. setAct(JsonValue value)
void
AccessToken. setConfirmationKey(JsonValue confirmationKey)
Sets the token's confirmation claim.void
AccessToken. setMayAct(JsonValue value)
void
AccessToken. 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 void
AccessToken. 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 JsonValue
Action. sharedState
The output state of the node.JsonValue
TreeContext. sharedState
Deprecated.UseTreeContext.getStateFor(Node)
instead as this method does not leak implementation detail of the specific type of state.JsonValue
Action. transientState
The transient state of the node.JsonValue
TreeContext. transientState
Deprecated.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. sessionHooks
List of classes implementingTreeHook
that run after successful login.Methods in org.forgerock.openam.auth.node.api that return JsonValue Modifier and Type Method Description JsonValue
NodeState. get(String key)
Gets the value for the given key from the state.default JsonValue
Node. getAuditEntryDetail()
Supply the additional detail to be logged with this node's completion event.JsonValue
NodeState. getObject(String key)
Get the value for the given key from the state.JsonValue
TreeContext. getSecureState(String stateKey)
Deprecated.UseTreeContext.getStateFor(Node)
instead as this method does not leak implementation detail of the specific type of state.JsonValue
TreeContext. 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.JsonValue
TreeContext. 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 TreeContext
TreeContext. 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.ActionBuilder
Action.ActionBuilder. replaceSharedState(JsonValue sharedState)
Replace the shared state.Action.ActionBuilder
Action.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.ActionBuilder
Action.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 JsonValue
ResourceSetDescription. getDescription()
Gets the resource set description as aJsonValue
.JsonValue
ResourceSetDescription. 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 void
ResourceSetDescription. setDescription(JsonValue description)
void
ResourceSetDescription. 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 T
MacaroonToken. 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 boolean
Predicate. 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 JsonValue
SAML2Config. toJson()
Gets theJsonValue
representation of the SAML2Config.JsonValue
SAML2Config. toSmsJson()
Gets the SMSJsonValue
representation of the SAML2Config.Methods in org.forgerock.openam.sts.config.user with parameters of type JsonValue Modifier and Type Method Description static SAML2Config
SAML2Config. fromJson(JsonValue json)
Creates a SAML2Config object from aJsonValue
representationstatic SAML2Config
SAML2Config. fromSmsJson(JsonValue json)
Creates a SAML2Config object from a SMSJsonValue
representation -
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 JsonValue
RestTokenProvider. createToken(RestTokenProviderParameters<T> restTokenProviderParameters)
Creates a token using the specifiedRestTokenProviderParameters
JsonValue
RestTokenProviderParameters. 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 String
OpenIdConnectTokenAuthnContextMapper. 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 JsonValue
ProofTokenState. toJson()
Gets theJsonValue
representation of theProofTokenState
Methods in org.forgerock.openam.sts.user.invocation with parameters of type JsonValue Modifier and Type Method Description static ProofTokenState
ProofTokenState. fromJson(JsonValue jsonValue)
Constructs aProofTokenState
from the specifiedJsonValue
representation. -
Uses of JsonValue in org.forgerock.openam.uma
Methods in org.forgerock.openam.uma that return JsonValue Modifier and Type Method Description JsonValue
PermissionTicket. getContents()
JsonValue
PermissionTicket. getPermissions()
Methods in org.forgerock.openam.uma with parameters of type JsonValue Modifier and Type Method Description void
PermissionTicket. 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.ClaimBuilder
Claim.ClaimBuilder. withJsonValue(JsonValue value)
Method parameters in org.forgerock.openidconnect with type arguments of type JsonValue Modifier and Type Method Description Claim.ClaimBuilder
Claim.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 JsonValue
ServiceUtils. emptyJson()
Relieves an empty json object.JsonValue
ProgressStage. gatherInitialRequirements(ProcessContext context, C config)
Response for defining any initial requirements the stage may have.JsonValue
ProgressStageBinding. gatherInitialRequirements(ProcessContext context)
Response for defining any initial requirements the bound stage may have.JsonValue
ProcessContext. getInput()
Gets the input provided by the client.JsonValue
StageResponse. getRequirements()
Returns the requirements.JsonValue
ProcessContext. getState(String jsonPointer)
Allows retrieval of state persisted throughout the flow.JsonValue
ProcessStore. 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 void
ProcessStore. add(String key, JsonValue state)
Adds the state into the store against the key.StageResponse.RequirementsBuilder
StageResponse.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 JsonValue
CryptoService. hash(String plainTextValue, String algorithm)
Hashes a string value.JsonValue
CryptoService. 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 JsonValue
CryptoService. hash(String plainTextValue, String algorithm, JsonValue config)
Hashes a string value.boolean
CryptoService. isHashed(JsonValue value)
Detects if a String is hashed.boolean
CryptoService. 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 JsonValue
RequirementsBuilder. build()
Builds a new json object representing the defined requirements.static JsonValue
Answers. hashAnswer(CryptoService cryptoService, JsonValue answer)
Hashes the given answer.static JsonValue
Answers. hashAnswer(CryptoService cryptoService, JsonValue cryptoConfig, JsonValue answer)
Hashes the given answer.static JsonValue
RequirementsBuilder. newEmptyRequirements()
Creates an empty requirements json object.Methods in org.forgerock.selfservice.core.util with parameters of type JsonValue Modifier and Type Method Description RequirementsBuilder
RequirementsBuilder. addCustomField(String name, JsonValue customJsonValue)
Add a custom Json snippet.static int
ConfigUtil. getConfigField(String fieldName, JsonValue config, int defaultValue)
Retrieve an integer config value with a default if the value is absent.static String
ConfigUtil. getConfigField(String fieldName, JsonValue config, String defaultValue)
Retrieve a String config value with a default if the value is absent.static JsonValue
Answers. hashAnswer(CryptoService cryptoService, JsonValue answer)
Hashes the given answer.static JsonValue
Answers. hashAnswer(CryptoService cryptoService, JsonValue cryptoConfig, JsonValue answer)
Hashes the given answer.static RequirementsBuilder
RequirementsBuilder. oneOf(JsonValue... oneOfElements)
Creates a new builder instance for oneOf keyword.void
SecurityAnswer. verifyAndHashInput(CryptoService cryptoService, JsonValue kba, Map<String,Map<String,String>> kbaQuestions)
Verifies and hashes the input provided for security questions and answers.void
SecurityAnswer. 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 JsonValue
CaptchaStage. 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 JsonValue
RetrieveEmailStage. gatherInitialRequirements(ProcessContext context, RetrieveEmailConfig config)
JsonValue
VerifyEmailAccountStage. 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 JsonValue
SecurityAnswerDefinitionStage. gatherInitialRequirements(ProcessContext context, SecurityAnswerDefinitionConfig config)
JsonValue
SecurityAnswerVerificationStage. gatherInitialRequirements(ProcessContext context, SecurityAnswerVerificationConfig config)
Methods in org.forgerock.selfservice.stages.kba with parameters of type JsonValue Modifier and Type Method Description void
SecurityAnswerLockoutManager. handleSecurityAnswerMatchFailure(Context context, JsonValue user, String identityServiceUrl)
Handle the security answer match failure.void
SecurityAnswerLockoutManager. 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 JsonValue
ParametersStage. 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 JsonValue
UserRegistrationStage. 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 JsonValue
ResetStage. 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 JsonValue
EmailUsernameStage. gatherInitialRequirements(ProcessContext context, EmailUsernameConfig config)
JsonValue
RetrieveUsernameStage. gatherInitialRequirements(ProcessContext context, RetrieveUsernameConfig config)
JsonValue
UserDetailsStage. gatherInitialRequirements(ProcessContext context, UserDetailsConfig config)
JsonValue
UserQueryStage. gatherInitialRequirements(ProcessContext context, UserQueryConfig config)
JsonValue
ValidateActiveAccountStage. 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 JsonValue
TransactionId. 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 TransactionId
TransactionId. 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 JsonValue
AbstractContext. data
The Context data.Methods in org.forgerock.services.context that return JsonValue Modifier and Type Method Description JsonValue
AbstractContext. toJsonValue()
JsonValue
Context. toJsonValue()
Return this Context as a JsonValue (for persistence).JsonValue
RequestAuditContext. toJsonValue()
JsonValue
TransactionIdContext. 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 JsonValue
TokenHandler. 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 String
TokenHandler. 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 aQueryFilterVisitor
that can assess if aJsonValue
resource matches a set of criteria defined by aQueryFilter
.Methods in org.forgerock.util.query with parameters of type JsonValue Modifier and Type Method Description Boolean
JsonValueFilterVisitor. visitAndFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)
Boolean
JsonValueFilterVisitor. visitBooleanLiteralFilter(JsonValue p, boolean value)
Boolean
JsonValueFilterVisitor. visitComplexFilter(JsonValue p, JsonPointer field, QueryFilter<JsonPointer> subFilter)
Boolean
JsonValueFilterVisitor. visitContainsFilter(JsonValue p, JsonPointer field, Object valueAssertion)
Boolean
JsonValueFilterVisitor. visitEqualsFilter(JsonValue p, JsonPointer field, Object valueAssertion)
Boolean
JsonValueFilterVisitor. visitExtendedMatchFilter(JsonValue p, JsonPointer field, String matchingRuleId, Object valueAssertion)
Boolean
JsonValueFilterVisitor. visitGreaterThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)
Boolean
JsonValueFilterVisitor. visitGreaterThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)
Boolean
JsonValueFilterVisitor. visitLessThanFilter(JsonValue p, JsonPointer field, Object valueAssertion)
Boolean
JsonValueFilterVisitor. visitLessThanOrEqualToFilter(JsonValue p, JsonPointer field, Object valueAssertion)
Boolean
JsonValueFilterVisitor. visitNotFilter(JsonValue p, QueryFilter<JsonPointer> subFilter)
Boolean
JsonValueFilterVisitor. visitOrFilter(JsonValue p, List<QueryFilter<JsonPointer>> subFilters)
Boolean
JsonValueFilterVisitor. visitPresentFilter(JsonValue p, JsonPointer field)
Boolean
JsonValueFilterVisitor. visitStartsWithFilter(JsonValue p, JsonPointer field, Object valueAssertion)
-