Conditional request processing
First Claim
Patent Images
1. A method of processing a request, comprising:
- receiving, at a Web service, a request for processing, wherein processing of the request includes performing a set of operations based on an order, and the request is from a client;
determining that the set of operations includes an input/output (I/O) operation;
authenticating the request from the client;
determining whether a result of the authentication has been determined;
while the request is pending the result of the authentication, initiating processing of the request; and
in response to a determination that the set of operations is determined to include the I/O operation;
performing, based on the order, one or more operations of the set of operations preceding the I/O operation;
in response to a determination that the result of the authentication has not been determined, waiting for the result of the authentication to be determined; and
in response to a determination that the result of the authentication indicates that the request has been successfully authenticated, performing, via the Web service, one or more remaining operations of the set of operations that has not been processed and determining, via the Web service, a result of the processed request based on performing the set of operations, wherein the one or more remaining operations includes the I/O operationscreating a first request identifier that identifies the request;
inserting into a data structure an entry that associates the first request identifier with an authentication flag value that indicates whether the request has been authenticated; and
removing the entry from the data structure after the request has been processed.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and system for processing a request is provided. An example system includes a security module that authenticates a request from a client. The system also includes a Web service that determines whether the set of operations includes an input/output (I/O) operation and determines whether a result of the authentication has been determined. While the request is pending authentication, the Web service may initiate processing of the request and may ensure that no I/O operations are performed within the processing of the request until a request of the authentication has been determined.
10 Citations
15 Claims
-
1. A method of processing a request, comprising:
-
receiving, at a Web service, a request for processing, wherein processing of the request includes performing a set of operations based on an order, and the request is from a client; determining that the set of operations includes an input/output (I/O) operation; authenticating the request from the client; determining whether a result of the authentication has been determined; while the request is pending the result of the authentication, initiating processing of the request; and in response to a determination that the set of operations is determined to include the I/O operation; performing, based on the order, one or more operations of the set of operations preceding the I/O operation; in response to a determination that the result of the authentication has not been determined, waiting for the result of the authentication to be determined; and in response to a determination that the result of the authentication indicates that the request has been successfully authenticated, performing, via the Web service, one or more remaining operations of the set of operations that has not been processed and determining, via the Web service, a result of the processed request based on performing the set of operations, wherein the one or more remaining operations includes the I/O operations creating a first request identifier that identifies the request; inserting into a data structure an entry that associates the first request identifier with an authentication flag value that indicates whether the request has been authenticated; and removing the entry from the data structure after the request has been processed. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A system for processing a request, comprising:
-
a server interface that receives, from a client, a request for processing, wherein processing of the request includes performing a set of operations based on an order; a security component that authenticates the request from the client; a Web service that determines that the set of operations includes an input/output (I/O) operation and determines whether a result of the authentication has been determined, wherein while the request is pending authentication, the Web service initiates processing to include the I/O operation, (i) the Web service performs, based on the order, one or more operations of the set of operations preceding the I/O operation, (ii) in response to a determination that the result of the authentication has not been determined, the Web service waits for the result of the authentication to be determined, and (iii) in response to a determination that the result of the authentication indicates that the request has been successfully authenticated, the Web service performs one or more remaining operations of the set of operations that has not been processed and determines a result of the processed request based on performing the set of operations, wherein the one or more remaining operations includes the I/O operation; and a memory that stores a data structure, wherein the Web service creates a first request identifier that identifies the request, inserts into the data structure an entry that associates the first request identifier with a first value that indicates whether the request has been authenticated, and removes the entry from the data structure after the request has been processed. - View Dependent Claims (11, 12, 13, 14)
-
-
15. A non-transitory machine-readable medium comprising a plurality of machine-readable instructions that when executed by one or more processors is adapted to cause the one or more processors to perform a method comprising:
-
receiving, at a Web service, a request for processing, wherein processing of the request includes performing a set of operations based on an order, and the request is from a client; determining that the set of operations includes an input/output (I/O) operation; authenticating the request from the client; determining whether a result of the authentication has been determined; while the request is pending the result of the authentication, initiating processing of the request; and in response to a determination that the set of operations is determined to include the I/O operation; performing, based on the order, one or more operations of the set of operations preceding the I/O operation; in response to a determination that the result of the authentication has not been determined, waiting for the result of the authentication to be determined; and in response to a determination that the result of the authentication indicates that the request has been successfully authenticated, performing, via the Web service, one or more remaining operations of the set of operations that has not been processed and determining, via the Web service, a result of the processed request based on performing the set of operations, wherein the one or more remaining operations includes the I/O operations creating a first request identifier that identifies the request; inserting into a data structure an entry that associates the first request identifier with an authentication flag value that indicates whether the request has been authenticated; and removing the entry from the data structure after the request has been processed.
-
Specification