diff --git a/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/SsiIdentityServiceExtension.java b/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/SsiIdentityServiceExtension.java index 402993985..ca69eb878 100644 --- a/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/SsiIdentityServiceExtension.java +++ b/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/SsiIdentityServiceExtension.java @@ -31,7 +31,7 @@ public class SsiIdentityServiceExtension implements ServiceExtension { public static final String EXTENSION_NAME = "SSI Identity Service"; - @Setting(value = "SSI Endpoint audience") + @Setting(value = "SSI Endpoint audience of this connector") public static final String ENDPOINT_AUDIENCE = "tx.ssi.endpoint.audience"; @Inject diff --git a/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/rule/SsiAudienceValidationRule.java b/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/rule/SsiAudienceValidationRule.java index 43b2c0a9e..dc3c7eae9 100644 --- a/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/rule/SsiAudienceValidationRule.java +++ b/edc-extensions/ssi/ssi-identity-core/src/main/java/org/eclipse/tractusx/edc/iam/ssi/identity/rule/SsiAudienceValidationRule.java @@ -38,7 +38,7 @@ public Result checkRule(@NotNull ClaimToken toVerify, @Nullable Map extract(JsonObject root) { public static class Builder { - JsonLdFieldExtractor extractor; + private final JsonLdFieldExtractor extractor; private Builder(JsonLdFieldExtractor extractor) { this.extractor = extractor; @@ -77,7 +80,7 @@ public Builder errorPrefix(String errorPrefix) { this.extractor.errorPrefix = errorPrefix; return this; } - + public JsonLdFieldExtractor build() { Objects.requireNonNull(extractor.field); Objects.requireNonNull(extractor.fieldAlias);