×

Yarn rest API protection

  • US 10,291,602 B1
  • Filed: 04/12/2017
  • Issued: 05/14/2019
  • Est. Priority Date: 04/12/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • intercepting, by a reverse proxy in a cluster of computers in a distributed computing system, a request to access a resource manager service of the distributed computing system;

    determining, by the reverse proxy, that the request includes a call that conforms to a REST (Representational State Transfer) API (application programming interface);

    determining, by the reverse proxy, that the call has a particular method type that indicates requesting an action to be performed;

    determining, by the reverse proxy based on authentication configuration information, whether the call needs to be authenticated, wherein the authentication configuration information includes a list of methods that need to be authenticated and determining whether the call needs to be authenticated comprises determining whether the particular method of the call is included in the list of methods of the authentication configuration information; and

    in response to determining that the call needs to be authenticated;

    authenticating the call using an authentication mechanism specified in the authentication configuration information,upon successful authentication of the call, performing authorization checks based on the configuration information, andupon successful authorization of the call, forwarding the request from the reverse proxy to a server that provides the resource manager service in the cluster,wherein the reverse proxy includes one or more computer processors.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×