File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed
src/main/java/com/uid2/shared/secure/gcpoidc Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,10 @@ public class PolicyValidator implements IPolicyValidator {
4444 ENV_OPT_OUT_ENDPOINT
4545 )
4646 );
47- private final String attesationUrl ;
47+ private final String attestationUrl ;
4848
49- public PolicyValidator (String attesationUrl ) {
50-
51- this .attesationUrl = attesationUrl ;
49+ public PolicyValidator (String attestationUrl ) {
50+ this .attestationUrl = attestationUrl ;
5251 }
5352
5453 @ Override
@@ -144,7 +143,7 @@ private Environment checkEnvOverrides(TokenPayload payload) throws AttestationEx
144143 private void checkAttestationUrl (HashMap <String , String > optionalEnvOverrides ) throws AttestationException {
145144 if (!Strings .isNullOrEmpty (optionalEnvOverrides .get (ENV_CORE_ENDPOINT ))) {
146145 String givenAttestationUrl = optionalEnvOverrides .get (ENV_CORE_ENDPOINT );
147- if (!UrlEquivalenceValidator .areUrlsEquivalent (givenAttestationUrl , this .attesationUrl , LOGGER )) {
146+ if (!UrlEquivalenceValidator .areUrlsEquivalent (givenAttestationUrl , this .attestationUrl , LOGGER )) {
148147 throw new AttestationClientException ("The given attestation URL is unknown. Given URL: " + givenAttestationUrl );
149148 }
150149 }
You can’t perform that action at this time.
0 commit comments