diff --git a/extensions/dcp-impl/src/main/java/org/eclipse/edc/demo/dcp/core/DataAccessCredentialScopeExtractor.java b/extensions/dcp-impl/src/main/java/org/eclipse/edc/demo/dcp/core/DataAccessCredentialScopeExtractor.java index d62a9a34..46b192f3 100644 --- a/extensions/dcp-impl/src/main/java/org/eclipse/edc/demo/dcp/core/DataAccessCredentialScopeExtractor.java +++ b/extensions/dcp-impl/src/main/java/org/eclipse/edc/demo/dcp/core/DataAccessCredentialScopeExtractor.java @@ -16,15 +16,14 @@ import org.eclipse.edc.iam.identitytrust.spi.scope.ScopeExtractor; import org.eclipse.edc.policy.context.request.spi.RequestPolicyContext; -import org.eclipse.edc.policy.engine.spi.PolicyContext; import org.eclipse.edc.policy.model.Operator; import java.util.Set; class DataAccessCredentialScopeExtractor implements ScopeExtractor { + public static final String DATA_PROCESSOR_CREDENTIAL_TYPE = "DataProcessorCredential"; private static final String DATA_ACCESS_CONSTRAINT_PREFIX = "DataAccess."; private static final String CREDENTIAL_TYPE_NAMESPACE = "org.eclipse.edc.vc.type"; - public static final String DATA_PROCESSOR_CREDENTIAL_TYPE = "DataProcessorCredential"; @Override public Set extractScopes(Object leftValue, Operator operator, Object rightValue, RequestPolicyContext context) {