Skip to content

Commit

Permalink
pr remarks
Browse files Browse the repository at this point in the history
  • Loading branch information
wolf4ood committed Nov 8, 2023
1 parent 7cbd0ea commit 271c5a0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class IatpScopeExtractorExtension implements ServiceExtension {
private PolicyEngine policyEngine;

@Inject
private ScopeExtractorRegistry scopeMapperRegistry;
private ScopeExtractorRegistry scopeExtractorRegistry;

@Inject
private Monitor monitor;
Expand All @@ -50,7 +50,7 @@ public String name() {

@Override
public void initialize(ServiceExtensionContext context) {
var contextMappingFunction = new IatpScopeExtractorFunction(scopeMapperRegistry, monitor);
var contextMappingFunction = new IatpScopeExtractorFunction(scopeExtractorRegistry, monitor);
policyEngine.registerPreValidator(CATALOG_REQUEST_SCOPE, contextMappingFunction);
policyEngine.registerPreValidator(NEGOTIATION_REQUEST_SCOPE, contextMappingFunction);
policyEngine.registerPreValidator(TRANSFER_PROCESS_REQUEST_SCOPE, contextMappingFunction);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#
# Copyright (c) 2023 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# This program and the accompanying materials are made available under the
# terms of the Apache License, Version 2.0 which is available at
# https://www.apache.org/licenses/LICENSE-2.0
#
# SPDX-License-Identifier: Apache-2.0
#
# Contributors:
# Bayerische Motoren Werke Aktiengesellschaft (BMW AG) - initial API and implementation
#
#

org.eclipse.edc.iam.identitytrust.core.IatpDefaultServicesExtension
org.eclipse.edc.iam.identitytrust.core.IatpScopeExtractorExtension
org.eclipse.edc.iam.identitytrust.core.IdentityAndTrustExtension

0 comments on commit 271c5a0

Please sign in to comment.