Skip to content

Commit

Permalink
chore: removes README for the Trusted Issuer Configuration extension
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Nov 16, 2023
1 parent 8c3013a commit 2ef065f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 14 deletions.
2 changes: 1 addition & 1 deletion DEPENDENCIES
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ maven/mavencentral/io.swagger.parser.v3/swagger-parser/2.1.10, None, restricted,
maven/mavencentral/io.swagger/swagger-annotations/1.6.9, Apache-2.0, approved, #3792
maven/mavencentral/io.swagger/swagger-compat-spec-parser/1.0.64, None, restricted, #11479
maven/mavencentral/io.swagger/swagger-core/1.6.9, Apache-2.0, approved, #4358
maven/mavencentral/io.swagger/swagger-models/1.6.9, LicenseRef-scancode-proprietary-license, restricted, #11476
maven/mavencentral/io.swagger/swagger-models/1.6.9, Apache-2.0, approved, #11476
maven/mavencentral/io.swagger/swagger-parser/1.0.64, Apache-2.0, approved, #4359
maven/mavencentral/jakarta.activation/jakarta.activation-api/1.2.1, EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jaf
maven/mavencentral/jakarta.activation/jakarta.activation-api/2.1.0, EPL-2.0 OR BSD-3-Clause OR GPL-2.0-only with Classpath-exception-2.0, approved, ee4j.jaf
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import org.eclipse.edc.identitytrust.model.Issuer;
import org.eclipse.edc.runtime.metamodel.annotation.Extension;
import org.eclipse.edc.runtime.metamodel.annotation.Inject;
import org.eclipse.edc.runtime.metamodel.annotation.Setting;
import org.eclipse.edc.spi.EdcException;
import org.eclipse.edc.spi.system.ServiceExtension;
import org.eclipse.edc.spi.system.ServiceExtensionContext;
Expand All @@ -29,12 +30,20 @@

import static org.eclipse.edc.identitytrust.issuer.configuration.TrustedIssuerConfigurationExtension.NAME;

/**
* This IATP extension makes it possible configure a list of trusted issuers, that will be used matches against the Verifiable Credential issuers.
*/
@Extension(NAME)
public class TrustedIssuerConfigurationExtension implements ServiceExtension {

public static final String CONFIG_PREFIX = "edc.iam.trusted-issuer";
public static final String CONFIG_ALIAS = CONFIG_PREFIX + ".<issuerAlias>.";

@Setting(context = CONFIG_ALIAS, value = "Additional properties of the issuer.")
public static final String PROPERTIES_SUFFIX = "properties";
@Setting(context = CONFIG_ALIAS, value = "ID of the issuer.", required = true)
public static final String ID_SUFFIX = "id";

protected static final String NAME = "Trusted Issuers Configuration Extensions";

@Inject
Expand Down

0 comments on commit 2ef065f

Please sign in to comment.