Skip to content

Commit

Permalink
Merge azure to one case
Browse files Browse the repository at this point in the history
  • Loading branch information
cYKatherine committed Feb 4, 2025
1 parent 8cdb394 commit 6f2e3be
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/main/java/com/uid2/operator/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -507,12 +507,8 @@ private AttestationResponseHandler getAttestationTokenRetriever(Vertx vertx, Str
LOGGER.info("creating uid core client with gcp oidc attestation protocol");
attestationProvider = AttestationFactory.getGcpOidcAttestation();
break;
case "azure-cc":
LOGGER.info("creating uid core client with azure cc attestation protocol");
attestationProvider = AttestationFactory.getAzureCCAttestation(maaServerBaseUrl);
break;
case "azure-cc-aks":
LOGGER.info("creating uid core client with azure cc aks attestation protocol");
case "azure-cc", "azure-cc-aks":
LOGGER.info("creating uid core client with" + enclavePlatform + "attestation protocol");
attestationProvider = AttestationFactory.getAzureCCAttestation(maaServerBaseUrl);
break;
default:
Expand Down

0 comments on commit 6f2e3be

Please sign in to comment.