Package | Description |
---|---|
org.forgerock.json.resource |
Classes and interfaces for core types including connections, request
handlers, resources, and their exceptions.
|
org.forgerock.selfservice.core |
This package contains the core implementation for the anonymous process service.
|
Modifier and Type | Method and Description |
---|---|
ResourcePath |
ResourcePath.child(Object pathElement)
Creates a new resource path which is a child of this resource path.
|
ResourcePath |
ResourcePath.concat(ResourcePath suffix)
Creates a new resource path which is a descendant of this resource path.
|
ResourcePath |
ResourcePath.concat(String suffix)
Creates a new resource path which is a descendant of this resource path.
|
static ResourcePath |
ResourcePath.empty()
Returns the empty resource path whose string representation is the empty
string and which has zero path elements.
|
static ResourcePath |
ResourcePath.format(String template,
Object... pathElements)
Creates a new resource path using the provided path template and
unencoded path elements.
|
ResourcePath |
UpdateRequest.getResourcePathObject() |
ResourcePath |
Request.getResourcePathObject()
Returns the non-
null path of the JSON resource to which this request should be targeted. |
ResourcePath |
ReadRequest.getResourcePathObject() |
ResourcePath |
QueryRequest.getResourcePathObject() |
ResourcePath |
PatchRequest.getResourcePathObject() |
ResourcePath |
DeleteRequest.getResourcePathObject() |
ResourcePath |
CreateRequest.getResourcePathObject() |
ResourcePath |
ActionRequest.getResourcePathObject() |
ResourcePath |
ResourcePath.head(int endIndex)
Returns a resource path which is a subsequence of the path elements
contained in this resource path beginning with the first element (0) and
ending with the element at position
endIndex-1 . |
ResourcePath |
ResourcePath.parent()
Returns the resource path which is the immediate parent of this resource
path, or
null if this resource path is empty. |
static ResourcePath |
ResourcePath.resourcePath(String path)
Parses the provided string representation of a resource path.
|
ResourcePath |
ResourcePath.subSequence(int beginIndex,
int endIndex)
Returns a resource path which is a subsequence of the path elements
contained in this resource path beginning with the element at position
beginIndex and ending with the element at position
endIndex-1 . |
ResourcePath |
ResourcePath.tail(int beginIndex)
Returns a resource path which is a subsequence of the path elements
contained in this resource path beginning with the element at position
beginIndex and ending with the last element in this resource
path. |
static ResourcePath |
ResourcePath.valueOf(String path)
Parses the provided string representation of a resource path.
|
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 |
---|---|
int |
ResourcePath.compareTo(ResourcePath o)
Compares this resource path with the provided resource path.
|
ResourcePath |
ResourcePath.concat(ResourcePath suffix)
Creates a new resource path which is a descendant of this resource path.
|
static ActionRequest |
Requests.newActionRequest(ResourcePath resourcePath,
String actionId)
Returns a new action request with the provided resource path and action
ID.
|
static ActionRequest |
Requests.newActionRequest(ResourcePath resourceContainer,
String resourceId,
String actionId)
Returns a new action request with the provided resource container path,
resource ID, and action ID.
|
static Request |
Requests.newApiRequest(ResourcePath path)
Returns a new API request with the provided path.
|
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 DeleteRequest |
Requests.newDeleteRequest(ResourcePath resourcePath)
Returns a new delete request with the provided resource path.
|
static DeleteRequest |
Requests.newDeleteRequest(ResourcePath resourceContainer,
String resourceId)
Returns a new delete request with the provided resource container path,
and resource ID.
|
static PatchRequest |
Requests.newPatchRequest(ResourcePath resourcePath,
PatchOperation... operations)
Returns a new patch request with the provided resource path and JSON
patch operations.
|
static PatchRequest |
Requests.newPatchRequest(ResourcePath resourceContainer,
String resourceId,
PatchOperation... operations)
Returns a new patch request with the provided resource container path,
resource ID, and JSON patch operations.
|
static QueryRequest |
Requests.newQueryRequest(ResourcePath resourceContainer)
Returns a new query request with the provided resource container path.
|
static ReadRequest |
Requests.newReadRequest(ResourcePath resourcePath)
Returns a new read request with the provided resource path.
|
static ReadRequest |
Requests.newReadRequest(ResourcePath resourceContainer,
String resourceId)
Returns a new read request with the provided resource container path, and
resource ID.
|
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.
|
UpdateRequest |
UpdateRequest.setResourcePath(ResourcePath path) |
Request |
Request.setResourcePath(ResourcePath path)
Sets the non-
null path of the JSON resource to which this request should be targeted. |
ReadRequest |
ReadRequest.setResourcePath(ResourcePath path) |
QueryRequest |
QueryRequest.setResourcePath(ResourcePath path) |
PatchRequest |
PatchRequest.setResourcePath(ResourcePath path) |
DeleteRequest |
DeleteRequest.setResourcePath(ResourcePath path) |
CreateRequest |
CreateRequest.setResourcePath(ResourcePath path) |
ActionRequest |
ActionRequest.setResourcePath(ResourcePath path) |
boolean |
ResourcePath.startsWith(ResourcePath prefix)
Returns
true if this resource path is equal to or begins with the
provided resource resource path. |
Constructor and Description |
---|
UserUpdateService(ConnectionFactory connectionFactory,
SecurityAnswer securityAnswer,
ResourcePath identityService,
KbaConfig kbaConfig)
Construct a service to update the user's KBA info.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.