Modifier and Type | Method and Description |
---|---|
Promise<ActionResponse,ResourceException> |
AuditServiceProxy.handleAction(Context context,
ActionRequest request) |
Promise<ActionResponse,ResourceException> |
AuditService.handleAction(Context context,
ActionRequest request)
Audit service may support actions on the service itself or on handlers.
|
Promise<ResourceResponse,ResourceException> |
AuditServiceProxy.handleCreate(Context context,
CreateRequest request) |
Promise<ResourceResponse,ResourceException> |
AuditService.handleCreate(Context context,
CreateRequest request)
Propagates the audit event to the
AuditEventHandler objects that have been registered
for the audit event topic. |
Promise<ResourceResponse,ResourceException> |
AuditServiceProxy.handleDelete(Context context,
DeleteRequest request) |
Promise<ResourceResponse,ResourceException> |
AuditService.handleDelete(Context context,
DeleteRequest request)
Audit service does not support changing audit entries.
|
Promise<ResourceResponse,ResourceException> |
AuditServiceProxy.handlePatch(Context context,
PatchRequest request) |
Promise<ResourceResponse,ResourceException> |
AuditService.handlePatch(Context context,
PatchRequest request)
Audit service does not support changing audit entries.
|
Promise<QueryResponse,ResourceException> |
AuditServiceProxy.handleQuery(Context context,
QueryRequest request,
QueryResourceHandler handler) |
Promise<QueryResponse,ResourceException> |
AuditService.handleQuery(Context context,
QueryRequest request,
QueryResourceHandler handler)
Performs the query on the specified object and returns the associated results.
|
Promise<ResourceResponse,ResourceException> |
AuditServiceProxy.handleRead(Context context,
ReadRequest request) |
Promise<ResourceResponse,ResourceException> |
AuditService.handleRead(Context context,
ReadRequest request)
Gets an object from the audit logs by identifier.
|
Promise<ResourceResponse,ResourceException> |
AuditServiceProxy.handleUpdate(Context context,
UpdateRequest request) |
Promise<ResourceResponse,ResourceException> |
AuditService.handleUpdate(Context context,
UpdateRequest request)
Audit service does not support changing audit entries.
|
Modifier and Type | Method and Description |
---|---|
Promise<ActionResponse,ResourceException> |
AuditEventHandlerBase.handleAction(Context context,
String topic,
ActionRequest request) |
Promise<ActionResponse,ResourceException> |
AuditEventHandler.handleAction(Context context,
String topic,
ActionRequest request)
Performs an action.
|
Promise<ResourceResponse,ResourceException> |
NoOpAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Promise<ResourceResponse,ResourceException> |
AuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event)
Publishes an event to the provided topic.
|
Promise<QueryResponse,ResourceException> |
NoOpAuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest query,
QueryResourceHandler handler) |
Promise<QueryResponse,ResourceException> |
AuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest query,
QueryResourceHandler handler)
Query some events from the provided topic.
|
Promise<ResourceResponse,ResourceException> |
NoOpAuditEventHandler.readEvent(Context context,
String topic,
String resourceId) |
Promise<ResourceResponse,ResourceException> |
AuditEventHandler.readEvent(Context context,
String topic,
String resourceId)
Reads an event with the provided resource id from the provided topic.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,BatchException> |
BatchConsumer.publishBatch(String payload)
Publishes the batch payload.
|
Modifier and Type | Method and Description |
---|---|
Promise<ActionResponse,ResourceException> |
CsvAuditEventHandler.handleAction(Context context,
String topic,
ActionRequest request) |
Promise<ResourceResponse,ResourceException> |
CsvAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event)
Create a csv audit log entry.
|
Promise<QueryResponse,ResourceException> |
CsvAuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest query,
QueryResourceHandler handler)
Perform a query on the csv audit log.
|
Promise<ResourceResponse,ResourceException> |
CsvAuditEventHandler.readEvent(Context context,
String topic,
String resourceId)
Read from the csv audit log.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,BatchException> |
ElasticsearchAuditEventHandler.publishBatch(String payload)
Publishes a Bulk API
payload to Elasticsearch.
|
Promise<ResourceResponse,ResourceException> |
ElasticsearchAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
protected Promise<ResourceResponse,ResourceException> |
ElasticsearchAuditEventHandler.publishSingleEvent(String topic,
JsonValue event)
Publishes a single event to the provided topic.
|
Promise<QueryResponse,ResourceException> |
ElasticsearchAuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest query,
QueryResourceHandler handler)
Queries the Elasticsearch
Search API for
audit events.
|
Promise<ResourceResponse,ResourceException> |
ElasticsearchAuditEventHandler.readEvent(Context context,
String topic,
String resourceId) |
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
JdbcAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event)
Publishes an event to the provided topic.
|
Promise<QueryResponse,ResourceException> |
JdbcAuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest queryRequest,
QueryResourceHandler queryResourceHandler)
Query some events from the provided topic.
|
Promise<ResourceResponse,ResourceException> |
JdbcAuditEventHandler.readEvent(Context context,
String topic,
String resourceId) |
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
JmsAuditEventHandler.publishEvent(Context context,
String auditTopic,
JsonValue auditEvent)
Converts the audit event into a JMS TextMessage and then publishes the message on the configured jmsTopic.
|
Promise<QueryResponse,ResourceException> |
JmsAuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest queryRequest,
QueryResourceHandler queryResourceHandler)
Returns NotSupportedException as query is not implemented for JMS.
|
Promise<ResourceResponse,ResourceException> |
JmsAuditEventHandler.readEvent(Context context,
String topic,
String resourceId)
Returns NotSupportedException as read is not implemented for JMS.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,BatchException> |
SplunkAuditEventHandler.publishBatch(String payload) |
Promise<ResourceResponse,ResourceException> |
SplunkAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Promise<QueryResponse,ResourceException> |
SplunkAuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest query,
QueryResourceHandler handler) |
Promise<ResourceResponse,ResourceException> |
SplunkAuditEventHandler.readEvent(Context context,
String topic,
String resourceId) |
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
SyslogAuditEventHandler.publishEvent(Context context,
String topic,
JsonValue event) |
Promise<QueryResponse,ResourceException> |
SyslogAuditEventHandler.queryEvents(Context context,
String topic,
QueryRequest queryRequest,
QueryResourceHandler queryResourceHandler) |
Promise<ResourceResponse,ResourceException> |
SyslogAuditEventHandler.readEvent(Context context,
String topic,
String resourceId) |
Modifier and Type | Method and Description |
---|---|
Promise<ActionResponse,ResourceException> |
SimpleResource.actionCollection(Context context,
ActionRequest request)
Performs the provided
action
against the resource collection. |
Promise<ActionResponse,ResourceException> |
SimpleResource.actionInstance(Context context,
String resourceId,
ActionRequest request)
Performs the provided
action against a resource within the collection. |
Promise<AuthorizationResult,ResourceException> |
NotPatchAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysDenyAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
NotQueryAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
NotUpdateAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
NotDeleteAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
NotCreateAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysAllowAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
NotReadAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
NotActionAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
NotPatchAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysDenyAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
NotQueryAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
NotUpdateAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
NotDeleteAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
NotCreateAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysAllowAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
NotReadAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
NotActionAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
NotPatchAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysDenyAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
NotQueryAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
NotUpdateAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
NotDeleteAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
NotCreateAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysAllowAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
NotReadAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
NotActionAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
NotPatchAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysDenyAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
NotQueryAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
NotUpdateAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
NotDeleteAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
NotCreateAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysAllowAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
NotReadAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
NotActionAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
NotPatchAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysDenyAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
NotQueryAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
NotUpdateAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
NotDeleteAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
NotCreateAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysAllowAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
NotReadAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
NotActionAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
NotPatchAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysDenyAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
NotQueryAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
NotUpdateAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
NotDeleteAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
NotCreateAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysAllowAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
NotReadAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
NotActionAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
NotPatchAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysDenyAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
NotQueryAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
NotUpdateAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
NotDeleteAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
NotCreateAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
AlwaysAllowAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
NotReadAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<AuthorizationResult,ResourceException> |
NotActionAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Promise<ResourceResponse,ResourceException> |
SimpleResource.createInstance(Context context,
CreateRequest request)
Adds a new resource instance to the collection. |
Promise<ResourceResponse,ResourceException> |
SimpleResource.deleteInstance(Context context,
String resourceId,
DeleteRequest request)
Removes a resource instance from the collection. |
Promise<ResourceResponse,ResourceException> |
SimpleResource.patchInstance(Context context,
String resourceId,
PatchRequest request)
Patches an existing resource within the collection. |
Promise<QueryResponse,ResourceException> |
SimpleResource.queryCollection(Context context,
QueryRequest request,
QueryResourceHandler handler)
Searches the collection for all resources which match the query request
criteria. |
Promise<ResourceResponse,ResourceException> |
SimpleResource.readInstance(Context context,
String resourceId,
ReadRequest request)
Reads an existing resource within the collection. |
Promise<ResourceResponse,ResourceException> |
SimpleResource.updateInstance(Context context,
String resourceId,
UpdateRequest request)
Updates an existing resource within the collection. |
Modifier and Type | Method and Description |
---|---|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request.
|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request.
|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request.
|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request.
|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request.
|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request.
|
Promise<AuthorizationResult,ResourceException> |
CrestAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request.
|
Modifier and Type | Method and Description |
---|---|
Promise<AuthorizationResult,AuthorizationException> |
OAuth2Module.authorize(String accessToken,
AuthorizationContext context)
Determines whether a request is authorized to access the resource based on the validity of an access token
the scopes of the access token.
|
Promise<AuthorizationResult,ResourceException> |
OAuth2CrestAuthorizationModule.authorizeAction(Context context,
ActionRequest request)
Authorizes a received REST action request using the OAuth2 Access Token present in the request header.
|
Promise<AuthorizationResult,ResourceException> |
OAuth2CrestAuthorizationModule.authorizeCreate(Context context,
CreateRequest request)
Authorizes a received REST create request using the OAuth2 Access Token present in the request header.
|
Promise<AuthorizationResult,ResourceException> |
OAuth2CrestAuthorizationModule.authorizeDelete(Context context,
DeleteRequest request)
Authorizes a received REST delete request using the OAuth2 Access Token present in the request header.
|
Promise<AuthorizationResult,ResourceException> |
OAuth2CrestAuthorizationModule.authorizePatch(Context context,
PatchRequest request)
Authorizes a received REST patch request using the OAuth2 Access Token present in the request header.
|
Promise<AuthorizationResult,ResourceException> |
OAuth2CrestAuthorizationModule.authorizeQuery(Context context,
QueryRequest request)
Authorizes a received REST query request using the OAuth2 Access Token present in the request header.
|
Promise<AuthorizationResult,ResourceException> |
OAuth2CrestAuthorizationModule.authorizeRead(Context context,
ReadRequest request)
Authorizes a received REST read request using the OAuth2 Access Token present in the request header.
|
Promise<AuthorizationResult,ResourceException> |
OAuth2CrestAuthorizationModule.authorizeUpdate(Context context,
UpdateRequest request)
Authorizes a received REST update request using the OAuth2 Access Token present in the request header.
|
Promise<AccessTokenValidationResponse,OAuth2Exception> |
RestOAuth2AccessTokenValidator.validate(String accessToken)
Validates whether the given access token is valid, by referring to the OAuth2 Provider and gaining user
profile information as well.
|
Promise<AccessTokenValidationResponse,OAuth2Exception> |
OAuth2AccessTokenValidator.validate(String accessToken)
Validates whether the given access token is valid, by referring to the OAuth2 Provider and gaining user
profile information as well.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,AuthenticationException> |
AsyncServerAuthContext.cleanSubject(MessageContext context,
Subject clientSubject)
Removes any method specific principals and credentials from the client subject.
|
Promise<Void,AuthenticationException> |
AsyncServerAuthModule.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Removes any method specific principals and credentials from the client subject.
|
Promise<Void,AuthenticationException> |
AsyncServerAuthModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler handler,
Map<String,Object> options)
Initialize this module with request and response message policies to enforce, a
CallbackHandler , and any module specific configuration properties. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AsyncServerAuthContext.secureResponse(MessageContext context,
Subject serviceSubject)
Secures the outgoing response message.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AsyncServerAuthModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Secures the outgoing response message.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AsyncServerAuthContext.validateRequest(MessageContext context,
Subject clientSubject,
Subject serviceSubject)
Validates the incoming request message.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AsyncServerAuthModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Validates the incoming request message.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,AuthenticationException> |
FallbackAuthContext.cleanSubject(MessageContext context,
Subject clientSubject)
Calls each
AsyncServerAuthContext in parallel to clean the client subject and
only return a successful promise if all complete successfully otherwise returns the first
exception in a failed promise. |
Promise<Response,NeverThrowsException> |
AuthenticationFilter.filter(Context context,
Request request,
Handler next)
Authenticates incoming request messages and if successful calls the downstream filter or
handler and then secures the returned response.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
FallbackAuthContext.secureResponse(MessageContext context,
Subject serviceSubject)
Secures the response message using the same
AsyncServerAuthModule that
authenticated the incoming request message. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
FallbackAuthContext.validateRequest(MessageContext context,
Subject clientSubject,
Subject serviceSubject)
Authenticates the incoming request message by calling each
AsyncServerAuthModule
in order until an auth module returns an AuthStatus value other than
SEND_FAILURE , or returns an AuthenticationException or the end of the
module list is reached. |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ProtectedResource.handle(Context context,
Request request)
Sets a header, "RESOURCE_CALLED:true" on the response to signify that it has been called and write a JSON
string to the response containing the principal and context from the request attributes.
|
Modifier and Type | Method and Description |
---|---|
Promise<ActionResponse,ResourceException> |
ConfigurationResource.actionInstance(Context context,
ActionRequest request)
Unsupported operation.
|
Promise<ActionResponse,ResourceException> |
AuditResource.actionInstance(Context context,
ActionRequest request)
Only the "readAndClear" action is supported, which will read the audit records and then subsequently clear them.
|
Promise<ResourceResponse,ResourceException> |
ConfigurationResource.patchInstance(Context context,
PatchRequest request)
Unsupported operation.
|
Promise<ResourceResponse,ResourceException> |
AuditResource.patchInstance(Context context,
PatchRequest request)
Unsupported operation.
|
Promise<ResourceResponse,ResourceException> |
ConfigurationResource.readInstance(Context context,
ReadRequest request)
Will perform a read of the runtime's module configuration.
|
Promise<ResourceResponse,ResourceException> |
AuditResource.readInstance(Context context,
ReadRequest request)
Will perform a read of the audit records.
|
Promise<ResourceResponse,ResourceException> |
ConfigurationResource.updateInstance(Context context,
UpdateRequest request)
Will perform an update of the runtime's module configuration.
|
Promise<ResourceResponse,ResourceException> |
AuditResource.updateInstance(Context context,
UpdateRequest request)
Unsupported operation.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,AuthenticationException> |
SessionAuthModule.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Does nothing.
|
Promise<Void,AuthenticationException> |
FailureAuditingAuthModule.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuthModuleUnsupportedMessageTypes.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuthModuleTwo.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuthModuleOne.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuditingSessionAuthModule.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuditingAuthModule.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
Does nothing.
|
Promise<Void,AuthenticationException> |
SessionAuthModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map config)
Does nothing.
|
Promise<Void,AuthenticationException> |
FailureAuditingAuthModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map config)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuthModuleUnsupportedMessageTypes.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map config)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuthModuleTwo.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map config)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuthModuleOne.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map config)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuditingSessionAuthModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map config)
Does nothing.
|
Promise<Void,AuthenticationException> |
AuditingAuthModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map config)
Does nothing.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
SessionAuthModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Return value is based on the presents and value of the
X-JASPI-SESSION-SECURE-RESPONSE request header. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
FailureAuditingAuthModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Attempts to add to the module audit info, which should not be added, and sets the session id to be audited, which
should be ignored as this module is not a "Session" auth module.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuthModuleUnsupportedMessageTypes.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Returns SEND_SUCCESS.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuthModuleTwo.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Return value is based on the presents and value of the
X-JASPI-AUTH-MODULE-TWO-SECURE-RESPONSE request
header. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuthModuleOne.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Return value is based on the presents and value of the
X-JASPI-AUTH-MODULE-ONE-SECURE-RESPONSE request
header. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuditingSessionAuthModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Attempts to add to the module audit info, which should not be added, and sets the session id to be audited.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuditingAuthModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Attempts to add to the module audit info, which should not be added, and sets the session id to be audited, which
should be ignored as this module is not a "Session" auth module.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
SessionAuthModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Return value is based on the presents and value of the
X-JASPI-SESSION-VALIDATE_REQUEST request header. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
FailureAuditingAuthModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Adds module audit info and sets the principal.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuthModuleUnsupportedMessageTypes.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Returns SUCCESS.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuthModuleTwo.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Return value is based on the presents and value of the
X-JASPI-AUTH-MODULE-TWO-VALIDATE-REQUEST request
header. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuthModuleOne.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Return value is based on the presents and value of the
X-JASPI-AUTH-MODULE-ONE-VALIDATE-REQUEST request
header. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuditingSessionAuthModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Adds module audit info and sets the principal.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
AuditingAuthModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Adds module audit info and sets the principal.
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
Filter.filter(Context context,
Request request,
Handler next)
Filters the request and/or response of an exchange.
|
Promise<Response,NeverThrowsException> |
Handler.handle(Context context,
Request request)
|
Promise<Response,NeverThrowsException> |
Client.send(Context context,
Request request)
Sends an HTTP request and returns a
Promise representing the
pending HTTP response. |
Promise<Response,NeverThrowsException> |
Client.send(Request request)
Sends an HTTP request and returns a
Promise representing the
pending HTTP response. |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
AsyncHttpClient.sendAsync(Request request) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
DescribedOauth2Endpoint.handle(Context context,
Request request) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
TransactionIdOutboundFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
TransactionIdInboundFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
OptionsFilter.filter(Context context,
Request request,
Handler next)
Handles all OPTION requests to CREST resources, all other request methods are handled by the
Handler . |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
HttpClientHandler.handle(Context context,
Request request)
Sends an HTTP request to a remote server and returns a
Promise
representing the asynchronous response. |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceServerFilter.filter(Context context,
Request request,
Handler next) |
Promise<AccessTokenInfo,AccessTokenException> |
AccessTokenResolver.resolve(Context context,
String token)
Resolves a given access token against an authorization server.
|
Modifier and Type | Method and Description |
---|---|
Promise<AccessTokenInfo,AccessTokenException> |
OpenAmAccessTokenResolver.resolve(Context context,
String token) |
Promise<AccessTokenInfo,AccessTokenException> |
CachingAccessTokenResolver.resolve(Context context,
String token) |
Constructor and Description |
---|
CachingAccessTokenResolver(TimeService time,
AccessTokenResolver resolver,
PerItemEvictionStrategyCache<String,Promise<AccessTokenInfo,AccessTokenException>> cache)
Builds a
CachingAccessTokenResolver delegating to the given AccessTokenResolver using the given
(pre-configured) cache. |
Modifier and Type | Method and Description |
---|---|
static Promise<Response,NeverThrowsException> |
Response.newResponsePromise(Response response)
Returns a
Promise representing the Response for an
asynchronous Request which has already completed. |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
ResourceApiVersionRoutingFilter.filter(Context context,
Request request,
Handler next) |
Promise<Response,NeverThrowsException> |
Router.handle(Context context,
Request request) |
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
HttpClient.sendAsync(Request request)
|
Modifier and Type | Method and Description |
---|---|
Promise<Response,NeverThrowsException> |
OpenApiRequestFilter.filter(Context context,
Request request,
Handler next) |
Modifier and Type | Method and Description |
---|---|
Promise<Void,AuthenticationException> |
IWAModule.cleanSubject(MessageInfoContext messageInfo,
Subject subject)
Removes any method specific principals and credentials from the client subject.
|
Promise<Void,AuthenticationException> |
IWAModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler handler,
Map<String,Object> options)
Initialize this module with request and response message policies to enforce, a
CallbackHandler , and any module specific configuration properties. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
IWAModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
Always returns AuthStatus.SEND_SUCCESS.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
IWAModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Validates the request by checking the Authorization header in the request for a IWA token and processes that
for authentication.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,AuthenticationException> |
OpenIdConnectModule.cleanSubject(MessageInfoContext messageInfo,
Subject subject)
Nothing to clean.
|
Promise<Void,AuthenticationException> |
OpenIdConnectModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map<String,Object> config)
Initialize this module with request and response message policies to enforce, a
CallbackHandler , and any module specific configuration properties. |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
OpenIdConnectModule.secureResponse(MessageInfoContext messageInfo,
Subject subject)
Sends SEND_SUCCESS automatically.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
OpenIdConnectModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Attempts to retrieve the value of the specified OpenID Connect header from the messageInfo, then
converts this to a Jwt and attempts to decrypt.
|
Modifier and Type | Method and Description |
---|---|
Promise<Void,AuthenticationException> |
JwtSessionModule.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject) |
Promise<Void,AuthenticationException> |
JwtSessionModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler handler,
Map<String,Object> options) |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
JwtSessionModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject) |
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
JwtSessionModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject) |
Modifier and Type | Method and Description |
---|---|
Promise<Void,AuthenticationException> |
OpenAMSessionModule.cleanSubject(MessageInfoContext messageInfo,
Subject clientSubject)
No state to clear out from the client subject.
|
Promise<Void,AuthenticationException> |
OpenAMSessionModule.initialize(javax.security.auth.message.MessagePolicy requestPolicy,
javax.security.auth.message.MessagePolicy responsePolicy,
CallbackHandler callbackHandler,
Map<String,Object> options)
Will initialise the module with the specified configuration properties.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
OpenAMSessionModule.secureResponse(MessageInfoContext messageInfo,
Subject serviceSubject)
No action to perform on secure response.
|
Promise<javax.security.auth.message.AuthStatus,AuthenticationException> |
OpenAMSessionModule.validateRequest(MessageInfoContext messageInfo,
Subject clientSubject,
Subject serviceSubject)
Validates whether or not the request contains a valid OpenAM SSO Token Id.
|
Modifier and Type | Method and Description |
---|---|
Promise<ActionResponse,ResourceException> |
Connection.actionAsync(Context context,
ActionRequest request)
Asynchronously performs an action against a specific resource, or set of
resources.
|
Promise<ActionResponse,ResourceException> |
AbstractConnectionWrapper.actionAsync(Context context,
ActionRequest request)
Asynchronously performs an action against a specific resource, or set of
resources.
|
Promise<ActionResponse,ResourceException> |
MemoryBackend.actionCollection(Context context,
ActionRequest request)
Performs the provided
action
against the resource collection. |
Promise<ActionResponse,ResourceException> |
CollectionResourceProvider.actionCollection(Context context,
ActionRequest request)
Performs the provided
action
against the resource collection. |
Promise<ActionResponse,ResourceException> |
SingletonResourceProvider.actionInstance(Context context,
ActionRequest request)
Performs the provided
action against the single resource instance. |
Promise<ActionResponse,ResourceException> |
MemoryBackend.actionInstance(Context context,
String id,
ActionRequest request)
Performs the provided
action against a resource within the collection. |
Promise<ActionResponse,ResourceException> |
CollectionResourceProvider.actionInstance(Context context,
String resourceId,
ActionRequest request)
Performs the provided
action against a resource within the collection. |
Promise<ResourceResponse,ResourceException> |
ResourceResponse.asPromise()
Return this response as a result Promise.
|
Promise<QueryResponse,ResourceException> |
QueryResponse.asPromise()
Return this response as a result Promise.
|
Promise<ActionResponse,ResourceException> |
ActionResponse.asPromise()
Return this response as a result Promise.
|
<V> Promise<V,ResourceException> |
ResourceException.asPromise()
Return this ResourceException as a Promise.
|
Promise<ResourceResponse,ResourceException> |
Connection.createAsync(Context context,
CreateRequest request)
Asynchronously adds a new JSON resource.
|
Promise<ResourceResponse,ResourceException> |
AbstractConnectionWrapper.createAsync(Context context,
CreateRequest request)
Asynchronously adds a new JSON resource.
|
Promise<ResourceResponse,ResourceException> |
MemoryBackend.createInstance(Context context,
CreateRequest request)
Adds a new resource instance to the collection. |
Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.createInstance(Context context,
CreateRequest request)
Adds a new resource instance to the collection. |
Promise<ResourceResponse,ResourceException> |
Connection.deleteAsync(Context context,
DeleteRequest request)
Asynchronously deletes a JSON resource.
|
Promise<ResourceResponse,ResourceException> |
AbstractConnectionWrapper.deleteAsync(Context context,
DeleteRequest request)
Asynchronously deletes a JSON resource.
|
Promise<ResourceResponse,ResourceException> |
MemoryBackend.deleteInstance(Context context,
String id,
DeleteRequest request)
Removes a resource instance from the collection. |
Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.deleteInstance(Context context,
String resourceId,
DeleteRequest request)
Removes a resource instance from the collection. |
Promise<ActionResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterAction(Context context,
ActionRequest request,
RequestHandler next) |
Promise<ActionResponse,ResourceException> |
Filter.filterAction(Context context,
ActionRequest request,
RequestHandler next)
Filters an action request.
|
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterCreate(Context context,
CreateRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterCreate(Context context,
CreateRequest request,
RequestHandler next)
Filters a create request.
|
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterDelete(Context context,
DeleteRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterDelete(Context context,
DeleteRequest request,
RequestHandler next)
Filters a delete request.
|
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterPatch(Context context,
PatchRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterPatch(Context context,
PatchRequest request,
RequestHandler next)
Filters a patch request.
|
Promise<QueryResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterQuery(Context context,
QueryRequest request,
QueryResourceHandler handler,
RequestHandler next) |
Promise<QueryResponse,ResourceException> |
Filter.filterQuery(Context context,
QueryRequest request,
QueryResourceHandler handler,
RequestHandler next)
Filters a query request.
|
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterRead(Context context,
ReadRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterRead(Context context,
ReadRequest request,
RequestHandler next)
Filters a read request.
|
Promise<ResourceResponse,ResourceException> |
ResourceApiVersionRoutingFilter.filterUpdate(Context context,
UpdateRequest request,
RequestHandler next) |
Promise<ResourceResponse,ResourceException> |
Filter.filterUpdate(Context context,
UpdateRequest request,
RequestHandler next)
Filters an update request.
|
Promise<Connection,ResourceException> |
ConnectionFactory.getConnectionAsync()
Asynchronously obtains a connection to the JSON resource provider
associated with this connection factory.
|
Promise<ActionResponse,ResourceException> |
Router.handleAction(Context context,
ActionRequest request) |
Promise<ActionResponse,ResourceException> |
RequestHandler.handleAction(Context context,
ActionRequest request)
Handles performing an action on a resource, and optionally returns an
associated result.
|
Promise<ActionResponse,ResourceException> |
FilterChain.handleAction(Context context,
ActionRequest request) |
Promise<ActionResponse,ResourceException> |
AbstractRequestHandler.handleAction(Context context,
ActionRequest request)
Handles performing an action on a resource, and optionally returns an
associated result.
|
Promise<ResourceResponse,ResourceException> |
Router.handleCreate(Context context,
CreateRequest request) |
Promise<ResourceResponse,ResourceException> |
RequestHandler.handleCreate(Context context,
CreateRequest request)
Adds a new JSON resource, returning a
Promise that will be
completed when the resource has been added. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handleCreate(Context context,
CreateRequest request) |
Promise<ResourceResponse,ResourceException> |
AbstractRequestHandler.handleCreate(Context context,
CreateRequest request)
Adds a new JSON resource, returning a
Promise that will be
completed when the resource has been added. |
Promise<ResourceResponse,ResourceException> |
Router.handleDelete(Context context,
DeleteRequest request) |
Promise<ResourceResponse,ResourceException> |
RequestHandler.handleDelete(Context context,
DeleteRequest request)
Deletes a JSON resource, returning a
Promise that will be
completed when the resource has been deleted. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handleDelete(Context context,
DeleteRequest request) |
Promise<ResourceResponse,ResourceException> |
AbstractRequestHandler.handleDelete(Context context,
DeleteRequest request)
Deletes a JSON resource, returning a
Promise that will be
completed when the resource has been deleted. |
Promise<ResourceResponse,ResourceException> |
Router.handlePatch(Context context,
PatchRequest request) |
Promise<ResourceResponse,ResourceException> |
RequestHandler.handlePatch(Context context,
PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing
content, returning a
Promise that will be completed when the
resource has been updated. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handlePatch(Context context,
PatchRequest request) |
Promise<ResourceResponse,ResourceException> |
AbstractRequestHandler.handlePatch(Context context,
PatchRequest request)
Updates a JSON resource by applying a set of changes to its existing
content, returning a
Promise that will be completed when the
resource has been updated. |
Promise<QueryResponse,ResourceException> |
Router.handleQuery(Context context,
QueryRequest request,
QueryResourceHandler handler) |
Promise<QueryResponse,ResourceException> |
RequestHandler.handleQuery(Context context,
QueryRequest request,
QueryResourceHandler handler)
Searches for all JSON resources matching a user specified set of
criteria, returning a
Promise that will be completed when the
search has completed. |
Promise<QueryResponse,ResourceException> |
FilterChain.handleQuery(Context context,
QueryRequest request,
QueryResourceHandler handler) |
Promise<QueryResponse,ResourceException> |
AbstractRequestHandler.handleQuery(Context context,
QueryRequest request,
QueryResourceHandler handler)
Searches for all JSON resources matching a user specified set of
criteria, returning a
Promise that will be completed when the
search has completed. |
Promise<ResourceResponse,ResourceException> |
Router.handleRead(Context context,
ReadRequest request) |
Promise<ResourceResponse,ResourceException> |
RequestHandler.handleRead(Context context,
ReadRequest request)
Reads a JSON resource, returning a
Promise that will be
completed when the resource has been read. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handleRead(Context context,
ReadRequest request) |
Promise<ResourceResponse,ResourceException> |
AbstractRequestHandler.handleRead(Context context,
ReadRequest request)
Reads a JSON resource, returning a
Promise that will be
completed when the resource has been read. |
Promise<ResourceResponse,ResourceException> |
Router.handleUpdate(Context context,
UpdateRequest request) |
Promise<ResourceResponse,ResourceException> |
RequestHandler.handleUpdate(Context context,
UpdateRequest request)
Updates a JSON resource by replacing its existing content with new
content, returning a
Promise that will be completed when the
resource has been updated. |
Promise<ResourceResponse,ResourceException> |
FilterChain.handleUpdate(Context context,
UpdateRequest request) |
Promise<ResourceResponse,ResourceException> |
AbstractRequestHandler.handleUpdate(Context context,
UpdateRequest request)
Updates a JSON resource by replacing its existing content with new
content, returning a
Promise that will be completed when the
resource has been updated. |
Promise<ResourceResponse,ResourceException> |
Connection.patchAsync(Context context,
PatchRequest request)
Asynchronously updates a JSON resource by applying a set of changes to
its existing content.
|
Promise<ResourceResponse,ResourceException> |
AbstractConnectionWrapper.patchAsync(Context context,
PatchRequest request)
Asynchronously updates a JSON resource by applying a set of changes to
its existing content.
|
Promise<ResourceResponse,ResourceException> |
SingletonResourceProvider.patchInstance(Context context,
PatchRequest request)
Patches the single resource instance. |
Promise<ResourceResponse,ResourceException> |
MemoryBackend.patchInstance(Context context,
String id,
PatchRequest request)
Patches an existing resource within the collection. |
Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.patchInstance(Context context,
String resourceId,
PatchRequest request)
Patches an existing resource within the collection. |
Promise<QueryResponse,ResourceException> |
Connection.queryAsync(Context context,
QueryRequest request,
QueryResourceHandler handler)
Asynchronously searches for all JSON resources matching a user specified
set of criteria, and returns a
Promise that will be completed with the
results of the search. |
Promise<QueryResponse,ResourceException> |
AbstractConnectionWrapper.queryAsync(Context context,
QueryRequest request,
QueryResourceHandler handler)
Asynchronously searches for all JSON resources matching a user specified
set of criteria, and returns a
Promise that will be completed with the
results of the search. |
Promise<QueryResponse,ResourceException> |
MemoryBackend.queryCollection(Context context,
QueryRequest request,
QueryResourceHandler handler)
Searches the collection for all resources which match the query request
criteria. |
Promise<QueryResponse,ResourceException> |
CollectionResourceProvider.queryCollection(Context context,
QueryRequest request,
QueryResourceHandler handler)
Searches the collection for all resources which match the query request
criteria. |
Promise<ResourceResponse,ResourceException> |
Connection.readAsync(Context context,
ReadRequest request)
Asynchronously reads a JSON resource.
|
Promise<ResourceResponse,ResourceException> |
AbstractConnectionWrapper.readAsync(Context context,
ReadRequest request)
Asynchronously reads a JSON resource.
|
Promise<ResourceResponse,ResourceException> |
SingletonResourceProvider.readInstance(Context context,
ReadRequest request)
Reads the single resource instance. |
Promise<ResourceResponse,ResourceException> |
MemoryBackend.readInstance(Context context,
String id,
ReadRequest request)
Reads an existing resource within the collection. |
Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.readInstance(Context context,
String resourceId,
ReadRequest request)
Reads an existing resource within the collection. |
Promise<ResourceResponse,ResourceException> |
Connection.updateAsync(Context context,
UpdateRequest request)
Asynchronously updates a JSON resource by replacing its existing content
with new content.
|
Promise<ResourceResponse,ResourceException> |
AbstractConnectionWrapper.updateAsync(Context context,
UpdateRequest request)
Asynchronously updates a JSON resource by replacing its existing content
with new content.
|
Promise<ResourceResponse,ResourceException> |
MemoryBackend.updateInstance(Context context,
String id,
UpdateRequest request)
Updates an existing resource within the collection. |
Promise<ResourceResponse,ResourceException> |
CollectionResourceProvider.updateInstance(Context context,
String resourceId,
UpdateRequest request)
Updates an existing resource within the collection. |
Promise<ResourceResponse,ResourceException> |
SingletonResourceProvider.updateInstance(Context context,
UpdateRequest request)
Updates the single resource instance. |
Modifier and Type | Method and Description |
---|---|
Promise<ResourceResponse,ResourceException> |
DeviceCollectionProviderV1.create(Context context,
CreateRequest request)
Performs a create operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
UserCollectionProviderV1.create(Context context,
CreateRequest request)
Performs a create operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
DeviceCollectionProviderV1.delete(Context context,
String id,
DeleteRequest request)
Performs a delete operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
UserCollectionProviderV1.delete(Context context,
String id,
DeleteRequest request)
Performs a delete operation on the resource.
|
Promise<ActionResponse,ResourceException> |
DeviceCollectionProviderV1.markStolen(Context context,
String id,
ActionRequest request)
Performs a mark as stolen action operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
DeviceCollectionProviderV1.patch(Context context,
String id,
PatchRequest request)
Performs a patch operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
UserCollectionProviderV1.patch(Context context,
String id,
PatchRequest request)
Performs a patch operation on the resource.
|
Promise<QueryResponse,ResourceException> |
DeviceCollectionProviderV1.query(Context context,
QueryRequest request,
QueryResourceHandler handler)
Performs a query operation on the resource.
|
Promise<QueryResponse,ResourceException> |
UserCollectionProviderV1.query(Context context,
QueryRequest request,
QueryResourceHandler handler)
Performs a query operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
DeviceCollectionProviderV1.read(Context context,
String id,
ReadRequest request)
Performs a read operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
UserCollectionProviderV1.read(Context context,
String id,
ReadRequest request)
Performs a read operation on the resource.
|
Promise<ActionResponse,ResourceException> |
UserCollectionProviderV1.resetPasswd(Context context,
String id,
ActionRequest request)
Performs a mark as stolen action operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
DeviceCollectionProviderV1.update(Context context,
String id,
UpdateRequest request)
Performs an update operation on the resource.
|
Promise<ResourceResponse,ResourceException> |
UserCollectionProviderV1.update(Context context,
String id,
UpdateRequest request)
Performs an update operation on the resource.
|
Modifier and Type | Method and Description |
---|---|
Promise<ActionResponse,ResourceException> |
DeviceCollectionProviderV2.rollOutDevice(Context context,
String id,
ActionRequest request)
Performs a roll out device action operation on the resource.
|
Modifier and Type | Method and Description |
---|---|
static AssertJJsonValueAssert.AssertJJsonValuePromiseAssert |
AssertJJsonValueAssert.assertThat(Promise<JsonValue,?> promise)
Creates a promise assert class for
JsonValue instances. |
static AssertJJsonValueAssert.AssertJJsonValuePromiseAssert |
AssertJJsonValueAssert.assertThatJsonValue(Promise<JsonValue,?> promise)
An alias for
AssertJJsonValueAssert.assertThat(Promise) for the case where different Promise assertThat methods
are statically imported and would clash. |
Modifier and Type | Method and Description |
---|---|
Promise<? extends VOUT,? extends E> |
AsyncFunction.apply(VIN value)
Asynchronously applies this function to the input parameter
value
and returns a Promise for the result. |
Modifier and Type | Class and Description |
---|---|
class |
PromiseImpl<V,E extends Exception>
An implementation of
Promise which can be used as is, or as the basis
for more complex asynchronous behavior. |
Modifier and Type | Method and Description |
---|---|
static <V,E extends Exception> |
Promises.newExceptionPromise(E exception)
Returns a
Promise representing an asynchronous task which has
already failed with the provided exception. |
static <V,E extends Exception> |
Promises.newResultPromise(V result)
Returns a
Promise representing an asynchronous task which has
already succeeded with the provided result. |
static <V,E extends Exception> |
Promises.newRuntimeExceptionPromise(RuntimeException exception)
Returns a
Promise representing an asynchronous task which has
already failed with the provided runtime exception. |
<VOUT> Promise<VOUT,E> |
PromiseImpl.then(Function<? super V,VOUT,E> onResult) |
<VOUT> Promise<VOUT,E> |
Promise.then(Function<? super V,VOUT,E> onResult)
Submits the provided function for execution once this
Promise has
completed with a result, and returns a new Promise representing
the outcome of the function. |
<VOUT,EOUT extends Exception> |
PromiseImpl.then(Function<? super V,VOUT,EOUT> onResult,
Function<? super E,VOUT,EOUT> onException) |
<VOUT,EOUT extends Exception> |
Promise.then(Function<? super V,VOUT,EOUT> onResult,
Function<? super E,VOUT,EOUT> onException)
Submits the provided functions for execution once this
Promise
has completed (with a result or an exception), and returns a new
Promise representing the outcome of the invoked function. |
<VOUT,EOUT extends Exception> |
PromiseImpl.then(Function<? super V,VOUT,EOUT> onResult,
Function<? super E,VOUT,EOUT> onException,
Function<? super RuntimeException,VOUT,EOUT> onRuntimeException) |
<VOUT,EOUT extends Exception> |
Promise.then(Function<? super V,VOUT,EOUT> onResult,
Function<? super E,VOUT,EOUT> onException,
Function<? super RuntimeException,VOUT,EOUT> onRuntimeException)
Submits the provided functions for execution once this
Promise
has completed (with a result or an exception or a RuntimeException ), and returns a new
Promise representing the outcome of the invoked function. |
Promise<V,E> |
PromiseImpl.thenAlways(Runnable always) |
Promise<V,E> |
Promise.thenAlways(Runnable onResultOrException)
Submits the provided runnable for execution once this
Promise has
completed, and regardless of whether it has a result or an exception. |
<VOUT> Promise<VOUT,E> |
PromiseImpl.thenAsync(AsyncFunction<? super V,VOUT,E> onResult) |
<VOUT> Promise<VOUT,E> |
Promise.thenAsync(AsyncFunction<? super V,VOUT,E> onResult)
Submits the provided asynchronous function for execution once this
Promise has completed with a result, and returns a new
Promise representing the outcome of the function. |
<VOUT,EOUT extends Exception> |
PromiseImpl.thenAsync(AsyncFunction<? super V,VOUT,EOUT> onResult,
AsyncFunction<? super E,VOUT,EOUT> onException) |
<VOUT,EOUT extends Exception> |
Promise.thenAsync(AsyncFunction<? super V,VOUT,EOUT> onResult,
AsyncFunction<? super E,VOUT,EOUT> onException)
Submits the provided asynchronous functions for execution once this
Promise has completed, and returns a new Promise
representing the outcome of the invoked function. |
<VOUT,EOUT extends Exception> |
PromiseImpl.thenAsync(AsyncFunction<? super V,VOUT,EOUT> onResult,
AsyncFunction<? super E,VOUT,EOUT> onException,
AsyncFunction<? super RuntimeException,VOUT,EOUT> onRuntimeException) |
<VOUT,EOUT extends Exception> |
Promise.thenAsync(AsyncFunction<? super V,VOUT,EOUT> onResult,
AsyncFunction<? super E,VOUT,EOUT> onException,
AsyncFunction<? super RuntimeException,VOUT,EOUT> onRuntimeException)
Submits the provided asynchronous functions for execution once this
Promise has completed, and returns a new Promise
representing the outcome of the invoked function. |
<EOUT extends Exception> |
PromiseImpl.thenCatch(Function<? super E,V,EOUT> onException) |
<EOUT extends Exception> |
Promise.thenCatch(Function<? super E,V,EOUT> onException)
Submits the provided function for execution once this
Promise has
not completed with a result (has completed with an exception), and returns
a new Promise representing the outcome of the function. |
<EOUT extends Exception> |
PromiseImpl.thenCatchAsync(AsyncFunction<? super E,V,EOUT> onException) |
<EOUT extends Exception> |
Promise.thenCatchAsync(AsyncFunction<? super E,V,EOUT> onException)
Submits the provided asynchronous function for execution once this
Promise has completed with an exception, and returns a new
Promise representing the outcome of the function. |
Promise<V,E> |
PromiseImpl.thenCatchRuntimeException(Function<? super RuntimeException,V,E> onRuntimeException) |
Promise<V,E> |
Promise.thenCatchRuntimeException(Function<? super RuntimeException,V,E> onRuntimeException)
Submits the provided function for execution once this
Promise has
not completed with a result nor with an exception but with a RuntimeException , and returns
a new Promise representing the outcome of the function. |
Promise<V,E> |
PromiseImpl.thenCatchRuntimeExceptionAsync(AsyncFunction<? super RuntimeException,V,E> onRuntimeException) |
Promise<V,E> |
Promise.thenCatchRuntimeExceptionAsync(AsyncFunction<? super RuntimeException,V,E> onRuntimeException)
Submits the provided asynchronous function for execution once this
Promise has completed with a RuntimeException , and returns a new
Promise representing the outcome of the function. |
Promise<V,E> |
PromiseImpl.thenFinally(Runnable onFinally) |
Promise<V,E> |
Promise.thenFinally(Runnable onResultOrException)
Submits the provided runnable for execution once this
Promise has
completed, and regardless of whether of its outcome. |
Promise<V,E> |
PromiseImpl.thenOnException(ExceptionHandler<? super E> onException) |
Promise<V,E> |
Promise.thenOnException(ExceptionHandler<? super E> onException)
Registers the provided completion handler for notification if this
Promise cannot be completed due to an exception. |
Promise<V,E> |
PromiseImpl.thenOnResult(ResultHandler<? super V> onResult) |
Promise<V,E> |
Promise.thenOnResult(ResultHandler<? super V> onResult)
Registers the provided completion handler for notification once this
Promise has completed with a result. |
Promise<V,E> |
PromiseImpl.thenOnResultOrException(ResultHandler<? super V> onResult,
ExceptionHandler<? super E> onException) |
Promise<V,E> |
Promise.thenOnResultOrException(ResultHandler<? super V> onResult,
ExceptionHandler<? super E> onException)
Registers the provided completion handlers for notification once this
Promise has completed (with a result or an exception). |
Promise<V,E> |
PromiseImpl.thenOnResultOrException(Runnable onResultOrException) |
Promise<V,E> |
Promise.thenOnResultOrException(Runnable onResultOrException)
Submits the provided runnable for execution once this
Promise has
completed, and regardless of whether it has a result or an exception. |
Promise<V,E> |
PromiseImpl.thenOnRuntimeException(RuntimeExceptionHandler onRuntimeException) |
Promise<V,E> |
Promise.thenOnRuntimeException(RuntimeExceptionHandler onRuntimeException)
Registers the provided completion handler for notification if this
Promise cannot be completed due to an runtime exception. |
static <V,E extends Exception> |
Promises.when(List<Promise<V,E>> promises)
Returns a
Promise which will be completed once all of the
provided promises have succeeded, or as soon as one of them fails. |
static <V,E extends Exception> |
Promises.when(Promise<V,E>... promises)
Returns a
Promise which will be completed once all of the
provided promises have succeeded, or as soon as one of them fails. |
Modifier and Type | Method and Description |
---|---|
static <V,E extends Exception> |
Promises.when(Promise<V,E>... promises)
Returns a
Promise which will be completed once all of the
provided promises have succeeded, or as soon as one of them fails. |
Modifier and Type | Method and Description |
---|---|
static <V,E extends Exception> |
Promises.when(List<Promise<V,E>> promises)
Returns a
Promise which will be completed once all of the
provided promises have succeeded, or as soon as one of them fails. |
Modifier and Type | Method and Description |
---|---|
static AssertJPromiseAssert |
AssertJPromiseAssert.assertThat(Promise<?,?> promise)
Creates an
AssertJPromiseAssert instance for making assertions on a Promise . |
Constructor and Description |
---|
AbstractAssertJPromiseAssert(Promise<T,?> promise,
Class<A> type)
Constructs a new assertion on promise.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.