Package | Description |
---|---|
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) of
TokenHandler . |
org.forgerock.json.resource |
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
|
org.forgerock.oauth |
Commons OAuth Framework API.
|
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.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 tokens
|
org.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.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 the
Context 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.
|
Modifier and Type | Method and Description |
---|---|
void |
CrestObjectSchema.validate(JsonValue object) |
void |
CrestBooleanSchema.validate(JsonValue object) |
void |
CrestArraySchema.validate(JsonValue object) |
void |
CrestAnySchema.validate(JsonValue object) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
TranslateJsonSchema.apply(JsonValue value)
Applies the translation to string values by converting them to
LocalizableString . |
abstract JsonValue |
Schema.getSchema()
Obtain the schema definition if it is not a reference.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
TranslateJsonSchema.apply(JsonValue value)
Applies the translation to string values by converting them to
LocalizableString . |
Schema.Builder |
Schema.Builder.schema(JsonValue schema)
Sets the schema.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
AuthorizationResult.getDetail()
Gets the detail of why the request is not authorized to access the requested resource.
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationResult |
AuthorizationResult.accessDenied(String reason,
JsonValue detail)
Creates a new
AuthorizationResult instance which indicates that access to the request protected
resource is denied, for the given reason and detail. |
Modifier and Type | Method and Description |
---|---|
void |
AuditApi.audit(JsonValue auditMessage)
Audits the authentication request, using the audit information from the given audit message.
|
Constructor and Description |
---|
MessageContextImpl(JsonValue savedContext,
ClassLoader classLoader)
Creates a new context from the JSON representation of a previously
persisted context.
|
Modifier and Type | Method and Description |
---|---|
static PropertyResolver |
PropertyResolvers.jsonResolver(JsonValue json)
Construct a new
JsonValueResolver using a given a JsonValue . |
static PropertyResolver |
PropertyResolvers.jsonResolver(String name,
JsonValue json)
Construct a new
JsonValueResolver using a given a JsonValue . |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonValuePropertyEvaluator.evaluate(JsonValue object,
boolean escape)
Traverses a
JsonValue and does property substitution as well as any type coercion. |
JsonValue |
JsonValuePropertyEvaluator.evaluate(JsonValue object,
SubstitutionContext context)
Traverses a
JsonValue and does property substitution as well as any type coercion. |
Modifier and Type | Method and Description |
---|---|
static Predicate<JsonValue> |
JsonValuePropertyEvaluator.singleKeyWithName(String name)
Create a predicate for a JSON coercion function as used in the
Map argument to
JsonValuePropertyEvaluator.JsonValuePropertyEvaluator(SubstitutionService, List) . |
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonValuePropertyEvaluator.evaluate(JsonValue object,
boolean escape)
Traverses a
JsonValue and does property substitution as well as any type coercion. |
JsonValue |
JsonValuePropertyEvaluator.evaluate(JsonValue object,
SubstitutionContext context)
Traverses a
JsonValue and does property substitution as well as any type coercion. |
Modifier and Type | Method and Description |
---|---|
static JsonValuePropertyEvaluator.CoercionFunctionSpecBuilder |
JsonValuePropertyEvaluator.coerce(Predicate<JsonValue> predicate)
Define a coercion function.
|
JsonValuePropertyEvaluator.CoercionFunctionSpec |
JsonValuePropertyEvaluator.CoercionFunctionSpecBuilder.using(Function<JsonValue,Object,JsonValueException> function)
Specify the function that will convert the matched JSON into an object.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
AccessTokenInfo.asJsonValue()
Returns the raw JSON as a
JsonValue . |
Constructor and Description |
---|
AccessTokenInfo(JsonValue rawInfo,
String token,
Set<String> scopes,
long expiresAt)
Build an
AccessTokenInfo with the provided information. |
Constructor and Description |
---|
ApiVersionRouterContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
UriRouterContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
Constructor and Description |
---|
SessionContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonValue.add(int index,
Object object)
Adds the specified value to the list.
|
JsonValue |
JsonValue.add(JsonPointer pointer,
Object object)
Adds the value identified by the specified pointer, relative to this
value as root.
|
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.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 currently
null . |
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 the
target 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 the
original value to arrive at the
target 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(JsonPointer pointer)
Returns the specified child value with a pointer, relative to this value
as root.
|
JsonValue |
JsonValue.get(String key)
Returns the specified item value.
|
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.
|
JsonValue |
JsonValue.merge(JsonValue other)
Creates a new JSON value which combines the contents this JSON value with another.
|
static JsonValue |
JsonPatch.merge(JsonValue first,
JsonValue second)
Creates a new JSON value which combines the contents two JSON values.
|
JsonValue |
JsonValue.put(int index,
Object object)
Sets the value of the specified child list element.
|
JsonValue |
JsonValue.put(JsonPointer pointer,
Object object)
Sets the value identified by the specified pointer, relative to this
value as root.
|
JsonValue |
JsonValue.put(String key,
Object object)
Sets the value of the specified member.
|
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 a
JsonValueException if the JSON value is null . |
Modifier and Type | Method and Description |
---|---|
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 transform
function 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 transform
function to each element. |
static Function<JsonValue,Duration,JsonValueException> |
JsonValueFunctions.duration()
Returns the JSON string value as a
Duration . |
static <T extends Enum<T>> |
JsonValueFunctions.enumConstant(Class<T> type)
Returns the JSON string value as an enum constant of the specified enum
type.
|
static Function<JsonValue,File,JsonValueException> |
JsonValueFunctions.file()
Returns the JSON string value as a
File object. |
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValueFunctions.identity()
Returns an identity function that will copy the input
JsonValue . |
static Function<JsonValue,JsonValue,JsonValueException> |
JsonValueFunctions.identity()
Returns an identity function that will copy the input
JsonValue . |
static Function<JsonValue,Instant,JsonValueException> |
JsonValueFunctions.instant()
|
static Function<JsonValue,Integer,NumberFormatException> |
JsonValueFunctions.integer()
Returns an
Integer by converting the JsonValue using JsonValue.asInteger() , or by parsing the
JsonValue string using Integer.parseInt(String) . |
Iterator<JsonValue> |
JsonValue.iterator()
Returns an iterator over the child values that this JSON value contains.
|
static <V,E extends Exception> |
JsonValueFunctions.listOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
List containing objects whose type
(and value) is specified by a transformation function. |
static Function<JsonValue,Boolean,NeverThrowsException> |
JsonValueFunctions.parseBoolean()
Returns a
Boolean by converting the JsonValue using JsonValue.asLong() , or by parsing the
JsonValue string using Boolean.parseBoolean(String) . |
static Function<JsonValue,Long,NumberFormatException> |
JsonValueFunctions.parseLong()
Returns a
Long by converting the JsonValue using JsonValue.asLong() , or by parsing the JsonValue
string using Long.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 a
Set containing objects whose type
(and value) is specified by the parameter type . |
static <V,E extends Exception> |
JsonValueFunctions.setOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
Set 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,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).
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JsonValueTraverseFunction.apply(JsonValue 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 the
target 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 the
original value to arrive at the
target 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.
|
JsonValue |
JsonValue.merge(JsonValue other)
Creates a new JSON value which combines the contents this JSON value with another.
|
static JsonValue |
JsonPatch.merge(JsonValue first,
JsonValue second)
Creates a new JSON value which combines the contents two JSON values.
|
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
<V,E extends Exception> |
JsonValue.as(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as an 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 transform
function to each element. |
static <V,E extends Exception> |
JsonValueFunctions.listOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
List containing objects whose type
(and value) is specified by a transformation function. |
static <V,E extends Exception> |
JsonValueFunctions.setOf(Function<JsonValue,V,E> transformFunction)
Returns the JSON value as a
Set containing objects whose type
(and value) is specified by a transformation function. |
Constructor and Description |
---|
JsonValueException(JsonValue value)
Constructs a new exception with the specified JSON value and
null
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 and 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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JWKSet.getJWKsAsJsonValue()
Get the JWKs in the set.
|
JsonValue |
RsaJWK.toJsonValue() |
JsonValue |
RsaJWK.PrimesInfo.toJsonValue()
Returns a json representation of the other factors.
|
JsonValue |
OkpJWK.toJsonValue() |
JsonValue |
OctJWK.toJsonValue() |
JsonValue |
JWK.toJsonValue()
Returns a json representation of the JWK.
|
JsonValue |
EcJWK.toJsonValue() |
protected static JsonValue |
JWKSet.toJsonValue(String json)
Converts a json string to a jsonValue.
|
protected static JsonValue |
JWK.toJsonValue(String json)
Converts a String into a JsonValue.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
JWK.loadJWKFromJson(JWK.Builder builder,
JsonValue json)
Load the generic JWK attributes from the json, by side effect.
|
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.
|
static OkpJWK |
OkpJWK.parse(JsonValue json)
Parses a JWK from a JsonValue json object.
|
static OctJWK |
OctJWK.parse(JsonValue json)
Parses a OctJWK object from a jsonValue object.
|
static JWKSet |
JWKSet.parse(JsonValue json)
Parses a JWKSet object from a jsonValue object.
|
static JWK |
JWK.parse(JsonValue jwk)
Parses a JsonValue into the proper JWK type.
|
static EcJWK |
EcJWK.parse(JsonValue json)
Parses a JWK from a JsonValue json object.
|
protected void |
JWK.putField(JsonValue jsonValue,
String key,
Object value)
Add a string value into a json only if it's not null.
|
Constructor and Description |
---|
JWKSet(JsonValue jwks)
Construct a JWKSet from a single JWK.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JWObject.get(String key)
Returns the specified item value.
|
JsonValue |
JWObject.toJsonValue()
Returns a json representation of the JWObject.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
JwtTokenHandler.validateAndExtractState(String snapshotToken) |
Modifier and Type | Method and Description |
---|---|
String |
JwtTokenHandler.generate(JsonValue state) |
Modifier and Type | Method and 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 |
UpdateRequest.getContent()
Returns the content of the JSON resource to be replaced.
|
JsonValue |
ResourceResponse.getContent()
Returns the JSON content of this resource.
|
JsonValue |
CreateRequest.getContent()
Returns the content of the JSON resource to be created.
|
JsonValue |
ActionRequest.getContent()
Returns the content of this action request.
|
JsonValue |
ResourceException.getDetail()
Returns the additional detail which can be evaluated by applications.
|
JsonValue |
ActionResponse.getJsonContent()
Gets the
JsonValue content contained in the Response . |
JsonValue |
PatchOperation.getValue()
Returns the value for the patch operation.
|
JsonValue |
UpdateRequest.toJsonValue() |
JsonValue |
ResourceException.toJsonValue()
Returns the exception in a JSON object structure, suitable for inclusion
in the entity of an HTTP error response.
|
JsonValue |
Request.toJsonValue()
Return a JsonValue representation of this request.
|
JsonValue |
ReadRequest.toJsonValue() |
JsonValue |
QueryRequest.toJsonValue() |
JsonValue |
PatchRequest.toJsonValue() |
JsonValue |
PatchOperation.toJsonValue()
Returns a JSON value representation of this patch operation.
|
JsonValue |
DeleteRequest.toJsonValue() |
JsonValue |
CreateRequest.toJsonValue() |
JsonValue |
ActionRequest.toJsonValue() |
Modifier and Type | Method and Description |
---|---|
static Function<JsonValue,ResourcePath,JsonValueException> |
JsonValueFunctions.resourcePath()
Returns the JSON string value as a
ResourcePath . |
Modifier and Type | Method and 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 new
JsonValue response with the provided JSON content. |
static CreateRequest |
Requests.newCreateRequest(ResourcePath 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(String resourceContainer,
JsonValue content)
Returns a new create request with the provided resource path, and 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 ResourceResponse |
Responses.newResourceResponse(String id,
String revision,
JsonValue content)
Returns a new
Resource response with the provided Resource as
content. |
static UpdateRequest |
Requests.newUpdateRequest(ResourcePath 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(String resourcePath,
JsonValue newContent)
Returns a new update request with the provided resource path and new JSON
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.
|
UpdateRequest |
UpdateRequest.setContent(JsonValue content)
Sets the content of the JSON resource to be replaced.
|
CreateRequest |
CreateRequest.setContent(JsonValue content)
Sets the content of the JSON resource to be created.
|
ActionRequest |
ActionRequest.setContent(JsonValue content)
Sets the content of this action request.
|
<E extends ResourceException> |
ResourceException.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.
|
Constructor and Description |
---|
AdviceContext(JsonValue savedContext,
ClassLoader classLoader)
Restore from JSON representation.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
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 the
OAuthClient.getAuthRedirect(DataStore, String, URI) call. |
Modifier and Type | Method and Description |
---|---|
void |
DataStore.storeData(JsonValue data)
Stores the data.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
OAuth2UserInfo.getRawProfile() |
Modifier and Type | Method and Description |
---|---|
protected Function<Void,JsonValue,OAuthException> |
OAuth2Client.createPostAuthResponse(JsonValue storedData)
Creates the post auth response.
|
Promise<JsonValue,OAuthException> |
OAuth2Client.handlePostAuth(DataStore dataStore,
Map<String,List<String>> requestParameters) |
protected static Function<Response,JsonValue,OAuthException> |
OAuth2Client.mapToJsonValue()
A
Function that handles a Response from an Auth Server
that returns the HTTP entity content as JsonValue, and throws an OAuthException if
the response is not successful (200 family status code). |
protected Function<JsonValue,UserInfo,OAuthException> |
OAuth2Client.mapToUserInfo()
Creates a
OAuth2UserInfo 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.
|
Modifier and Type | Method and Description |
---|---|
protected Function<Void,JsonValue,OAuthException> |
OAuth2Client.createPostAuthResponse(JsonValue storedData)
Creates the post auth response.
|
protected Request |
OAuth2Client.createRequestForTokenRefresh(JsonValue storedData)
Creates a
Request for the token refresh endpoint of an identity provider. |
protected static String |
OAuth2Client.getAccessToken(JsonValue data)
Retrieves an access token from a
JsonValue . |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
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 a
JsonValue . |
Modifier and Type | Method and Description |
---|---|
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 an
OpenIDConnectUserInfo object. |
protected Function<JsonValue,JsonValue,OAuthException> |
OpenIDConnectClient.validateNonce(JsonValue storedData)
Validates the nonce.
|
protected Function<JsonValue,JsonValue,OAuthException> |
OpenIDConnectClient.validateNonce(JsonValue storedData)
Validates the nonce.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
OpenIDConnectClient.getNonce(JsonValue storedData)
Returns the nonce value store in the data store.
|
protected Function<JsonValue,JsonValue,OAuthException> |
OpenIDConnectClient.validateNonce(JsonValue storedData)
Validates the nonce.
|
Constructor and Description |
---|
OpenIDConnectUserInfo(JsonValue rawProfile,
JwtClaimsSet jwtClaimsSet)
Creates an OpenIDConnectUserInfo instance.
|
OpenIDConnectUserInfo(JsonValue rawProfile,
String subject)
Creates an OpenIDConnectUserInfo instance.
|
Modifier and Type | Method and 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 the
JsonValue representation of the token. |
Modifier and Type | Method and Description |
---|---|
void |
AccessToken.setConfirmationKey(JsonValue confirmationKey)
Sets the token's confirmation claim.
|
void |
AccessToken.setPermissions(JsonValue permissions)
Set the UMA permissions contained in the token.
|
Modifier and Type | Method and Description |
---|---|
default JsonValue |
Node.getAuditEntryDetail()
Supply the additional detail to be logged with this node's completion event.
|
Modifier and Type | Method and Description |
---|---|
List<OutcomeProvider.Outcome> |
OutcomeProvider.getOutcomes(PreferredLocales locales,
JsonValue nodeAttributes)
Returns a ordered list of possible node outcomes with localised display names.
|
Constructor and Description |
---|
TreeContext(JsonValue sharedState,
ExternalRequestContext request,
List<? extends Callback> callbacks)
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.
|
TreeContext(JsonValue sharedState,
JsonValue transientState,
ExternalRequestContext request,
List<? extends Callback> callbacks)
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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
ResourceSetDescription.getDescription()
Gets the resource set description as a
JsonValue . |
JsonValue |
ResourceSetDescription.getPolicy()
Gets the name of the policy linked to this resource set.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceSetDescription.setDescription(JsonValue description) |
void |
ResourceSetDescription.setPolicy(JsonValue policy) |
Modifier and Type | Method and Description |
---|---|
boolean |
Predicate.perform(JsonValue content)
Execute the predicate against the given Json content and return the predicate's success/failure.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
SAML2Config.toJson()
Gets the
JsonValue representation of the SAML2Config. |
JsonValue |
SAML2Config.toSmsJson()
Gets the SMS
JsonValue representation of the SAML2Config. |
Modifier and Type | Method and Description |
---|---|
static SAML2Config |
SAML2Config.fromJson(JsonValue json)
Creates a SAML2Config object from a
JsonValue representation |
static SAML2Config |
SAML2Config.fromSmsJson(JsonValue json)
Creates a SAML2Config object from a SMS
JsonValue representation |
Modifier and Type | Method and Description |
---|---|
JsonValue |
RestTokenProvider.createToken(RestTokenProviderParameters<T> restTokenProviderParameters)
Creates a token using the specified
RestTokenProviderParameters |
JsonValue |
RestTokenProviderParameters.getInputToken()
Gets the json representation of the input token.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
ProofTokenState.toJson()
Gets the
JsonValue representation of the ProofTokenState |
Modifier and Type | Method and Description |
---|---|
static ProofTokenState |
ProofTokenState.fromJson(JsonValue jsonValue)
Constructs a
ProofTokenState from the specified JsonValue representation. |
Modifier and Type | Method and Description |
---|---|
JsonValue |
PermissionTicket.getContents() |
JsonValue |
PermissionTicket.getPermissions() |
Modifier and Type | Method and Description |
---|---|
void |
PermissionTicket.setContents(JsonValue contents) |
Constructor and Description |
---|
PermissionTicket(String id,
JsonValue permissions,
String resourceServerClientId,
String authGrantId,
Boolean issued) |
Modifier and Type | Method and Description |
---|---|
static JsonValue |
ServiceUtils.emptyJson()
Relieves an empty json object.
|
JsonValue |
ProgressStageBinding.gatherInitialRequirements(ProcessContext context)
Response for defining any initial requirements the bound stage may have.
|
JsonValue |
ProgressStage.gatherInitialRequirements(ProcessContext context,
C config)
Response for defining any initial requirements the 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.
|
Modifier and Type | Method and 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.
|
Constructor and Description |
---|
SelfServiceContext(JsonValue savedContext,
ClassLoader classLoader)
Constructs a new SelfServiceContext.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
CryptoService.hash(String plainTextValue,
String algorithm)
Hashes a string value.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and 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 |
RequirementsBuilder.newEmptyRequirements()
Creates an empty requirements json object.
|
Modifier and Type | Method and Description |
---|---|
RequirementsBuilder |
RequirementsBuilder.addCustomField(String name,
JsonValue customJsonValue)
Add a custom Json snippet.
|
static JsonValue |
Answers.hashAnswer(CryptoService cryptoService,
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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
CaptchaStage.gatherInitialRequirements(ProcessContext context,
CaptchaStageConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
RetrieveEmailStage.gatherInitialRequirements(ProcessContext context,
RetrieveEmailConfig config) |
JsonValue |
VerifyEmailAccountStage.gatherInitialRequirements(ProcessContext context,
VerifyEmailAccountConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
SecurityAnswerDefinitionStage.gatherInitialRequirements(ProcessContext context,
SecurityAnswerDefinitionConfig config) |
JsonValue |
SecurityAnswerVerificationStage.gatherInitialRequirements(ProcessContext context,
SecurityAnswerVerificationConfig config) |
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
ParametersStage.gatherInitialRequirements(ProcessContext context,
ParametersConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
UserRegistrationStage.gatherInitialRequirements(ProcessContext context,
UserRegistrationConfig config) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
ResetStage.gatherInitialRequirements(ProcessContext context,
ResetStageConfig config) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
JsonValue |
TransactionId.toJson()
Returns a representation of this TransactionId as a JsonValue.
|
Modifier and Type | Method and Description |
---|---|
static TransactionId |
TransactionId.valueOf(JsonValue value)
Creates a TransactionId from a JsonValue.
|
Modifier and Type | Field and Description |
---|---|
protected JsonValue |
AbstractContext.data
The Context data.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
TransactionIdContext.toJsonValue()
Updates the data object to have the current transactionId state.
|
JsonValue |
Context.toJsonValue()
Return this Context as a JsonValue (for persistence).
|
JsonValue |
AbstractContext.toJsonValue() |
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
JsonValue |
TokenHandler.validateAndExtractState(String token)
Validates and parses the token, extracting any encapsulated state.
|
Modifier and Type | Method and Description |
---|---|
String |
TokenHandler.generate(JsonValue state)
Generates a new token using the state.
|
Modifier and Type | Method and Description |
---|---|
static QueryFilterVisitor<Boolean,JsonValue,JsonPointer> |
JsonValueFilterVisitor.jsonValueFilterVisitor()
Returns a
QueryFilterVisitor that can assess if a JsonValue resource matches a set
of criteria defined by a QueryFilter . |
Modifier and Type | Method and Description |
---|---|
Boolean |
JsonValueFilterVisitor.visitAndFilter(JsonValue p,
List<QueryFilter<JsonPointer>> subFilters) |
Boolean |
JsonValueFilterVisitor.visitBooleanLiteralFilter(JsonValue p,
boolean value) |
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) |
Copyright © 2010-2018, ForgeRock All Rights Reserved.