发明名称 Conditional request processing
摘要 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.
申请公布号 US9571478(B2) 申请公布日期 2017.02.14
申请号 US201414151644 申请日期 2014.01.09
申请人 Red Hat, Inc. 发明人 Eliá{hacek over (s)} Filip;Nguyen Filip
分类号 H04L29/06;H04L12/24;H04L29/08 主分类号 H04L29/06
代理机构 Haynes and Boone, LLP 代理人 Haynes and Boone, LLP
主权项 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; andin 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.
地址 Raleigh NC US