From 112731f8890db0614e664c6b8f653b49c9838b1d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20D=C3=9Crre?= Date: Sat, 13 Mar 2021 16:21:13 +0100 Subject: [PATCH] fixed license issue in oam MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fix license for aaa config xml Issue-ID: SDNC-1502 Signed-off-by: Michael DÜrre Change-Id: I919ed325e2ec2eb37ccc0382a48fb71ec0553089 Signed-off-by: Michael DÜrre Former-commit-id: 7757aeb27528612096db8267e5efbcad43c156b1 --- .../src/main/resources/oauth-aaa-app-config.xml | 293 ++------------------- 1 file changed, 23 insertions(+), 270 deletions(-) diff --git a/installation/sdnc/src/main/resources/oauth-aaa-app-config.xml b/installation/sdnc/src/main/resources/oauth-aaa-app-config.xml index a8c44d32..643ed4de 100644 --- a/installation/sdnc/src/main/resources/oauth-aaa-app-config.xml +++ b/installation/sdnc/src/main/resources/oauth-aaa-app-config.xml @@ -1,256 +1,34 @@ - - + ~ ============LICENSE_START======================================================= + ~ ONAP : ccsdk features + ~ ================================================================================ + ~ Copyright (C) 2021 highstreet technologies GmbH Intellectual Property. + ~ All rights reserved. + ~ ================================================================================ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License. + ~ ============LICENSE_END======================================================= + ~ + --> - - - - - - - - - - - - - - - - -
tokenAuthRealm org.onap.ccsdk.features.sdnr.wt.oauthprovider.OAuth2Realm
- - - - - - - - - -
securityManager.realms $tokenAuthRealm @@ -268,13 +46,6 @@ authcBearer org.opendaylight.aaa.shiro.filters.ODLHttpAuthenticationFilter2
- -
@@ -291,26 +62,8 @@ dynamicAuthorization org.opendaylight.aaa.shiro.realm.MDSALDynamicAuthorizationFilter
- - - - - - + /**/operations/cluster-admin** authcBearer, roles[admin] @@ -337,11 +90,11 @@ /rests/** - authcBearer, roles[admin] + authcBearer, anyroles["admin,provision"] /** - authcBearer, roles[admin] + authcBearer, anyroles["admin,provision"]
-- 2.16.6