From a7a89600709a7330f9d1d873ff4917e99c47957d Mon Sep 17 00:00:00 2001 From: Paul Latzelsperger Date: Tue, 22 Oct 2024 08:53:14 +0200 Subject: [PATCH] checkstyle --- .../edc/demo/dcp/core/DataAccessCredentialScopeExtractor.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) {