Skip to content

Commit

Permalink
Rebase onto master and update HTTP authorization provider
Browse files Browse the repository at this point in the history
  • Loading branch information
woop committed Jul 21, 2020
1 parent 44d11cf commit 280ec84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@

import feast.auth.authorization.AuthorizationProvider;
import feast.auth.authorization.AuthorizationResult;
import feast.auth.config.CacheConfiguration;
import feast.auth.providers.http.client.api.DefaultApi;
import feast.auth.providers.http.client.invoker.ApiClient;
import feast.auth.providers.http.client.invoker.ApiException;
import feast.auth.providers.http.client.model.CheckAccessRequest;
import feast.auth.utils.AuthUtils;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
Expand Down Expand Up @@ -57,8 +59,6 @@ public HttpAuthorizationProvider(Map<String, String> options) {
"Cannot pass empty or null options to HTTPAuthorizationProvider");
}

subjectClaim = options.get("subjectClaim");

ApiClient apiClient = new ApiClient();
apiClient.setBasePath(options.get("authorizationUrl"));
this.defaultApiClient = new DefaultApi(apiClient);
Expand Down

0 comments on commit 280ec84

Please sign in to comment.