-
Story
-
Resolution: Done
-
Medium
-
Casablanca Release
-
Casablanca-RC2 (11/08/18), Casablanca-RC2.1 (11/30/18)
AAF Shiro Plugin (aaf.cadi.shiro) is failing to work with bath.csv file.
bath_config.csv:
APPC_RESTCONF_UI -> appc@appc.onap.org
Basic YWRtaW46S3A4Yko0U1hzek0wV1hsaGFrM2VIbGNzZTJnQXc4NHZhb0dHbUp2VXkyVQ==,Basic YXBwY0BhcHBjLm9uYXAub3JnOmRlbW8xMjM0NTYh,2050-03-03
cadi.properties:
###
- ============LICENSE_START=======================================================
- APPC
- ================================================================================
- Copyright (C) 2018 AT&T 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=========================================================
###
#hostname=localhost
cadi_loglevel=INFO
cadi_bath_convert=/opt/onap/appc/data/properties/bath_config.csv
############################################################
- Properties Generated by AT&T Certificate Manager
- @copyright 2016, AT&T
############################################################
cadi_x509_issuers=CN=intermediateCA_1, OU=OSAAF, O=ONAP, C=US
cadi_keyfile=/opt/onap/appc/data/stores/org.onap.appc.keyfile
cadi_keystore=/opt/onap/appc/data/stores/org.onap.appc.p12
cadi_keystore_password=enc:4DVUTKvRCCtebQrKskDsuKFIHLzOf2M9XxNOhVIK4xb
#cadi_key_password=enc:<KEY PASSWORD (optional if the same as KEYSTORE PASSWORD)>
cadi_alias=appc@appc.onap.org
cadi_truststore=/opt/onap/appc/data/stores/truststoreONAPall.jks
cadi_truststore_password=enc:O3Vtv5e77OQWJ_OiLC9Atj3ngyYfulRK519JYFmbKl7
##
-
- org.osaaf.location.props
## - Localized Machine Information
##
- org.osaaf.location.props
- Almeda California ?
cadi_latitude=37.78187
cadi_longitude=-122.26147
- Locate URL (which AAF Env)
aaf_locate_url=https://aaf-locate.\.Release.Namespace:8095
- AAF URL
aaf_url=https://AAF_LOCATE_URL/AAF_NS.service:2.0
- AAF Environment Designation
aaf_env=DEV
- OAuth2 Endpoints
aaf_oauth2_token_url=https://AAF_LOCATE_URL/AAF_NS.token:2.0/token
aaf_oauth2_introspect_url=https://AAF_LOCATE_URL/AAF_NS.introspect:2.0/introspect
Karaf Log:
Apache Karaf starting up. Press Enter to open the shell now...
92% [==================================================================> ]Starting the bundle
95% [====================================================================> ]2018-11-07T20:48:37.498+0000 INIT [cadi] Loading CADI Properties from /opt/onap/appc/data/properties/cadi.properties
2018-11-07T20:48:37.502+0000 INIT [cadi] cadi_keyfile points to /opt/onap/appc/data/stores/org.onap.appc.keyfile
2018-11-07T20:48:37.608+0000 INIT [cadi] Loading CADI Properties from /opt/onap/appc/data/properties/cadi.properties
2018-11-07T20:48:37.614+0000 INIT [cadi] cadi_keyfile points to /opt/onap/appc/data/stores/org.onap.appc.keyfile
2018-11-07T20:48:38.018+0000 INIT [cadi] Loading CADI Properties from /opt/onap/appc/data/properties/cadi.properties
2018-11-07T20:48:38.019+0000 INIT [cadi] cadi_keyfile points to /opt/onap/appc/data/stores/org.onap.appc.keyfile
2018-11-07T20:48:38.173+0000 INIT [cadi] cadi_protocols is set to TLSv1.1,TLSv1.2
2018-11-07T20:48:40.927+0000 INIT [cadi] java.lang.NoSuchMethodException: org.onap.aaf.cadi.aaf.v2_0.AAFLocator.create(java.lang.String)
2018-11-07T20:48:41.238+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
2018-11-07T20:48:41.265+0000 INIT [cadi] Cleaning Thread initialized with interval of 60000 ms and max objects of 1000
2018-11-07T20:48:41.361+0000 INIT [cadi] java.lang.NoSuchMethodException: org.onap.aaf.cadi.aaf.v2_0.AAFLocator.create(java.lang.String)
2018-11-07T20:48:41.329+0000 INIT [cadi] java.lang.NoSuchMethodException: org.onap.aaf.cadi.aaf.v2_0.AAFLocator.create(java.lang.String)
2018-11-07T20:48:41.391+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
2018-11-07T20:48:41.411+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
2018-11-07T20:48:41.421+0000 INIT [cadi] Cleaning Thread initialized with interval of 60000 ms and max objects of 1000
2018-11-07T20:48:41.425+0000 INIT [cadi] Cleaning Thread initialized with interval of 60000 ms and max objects of 1000
2018-11-07T20:48:41.866+0000 INIT [cadi] Loading CADI Properties from /opt/onap/appc/data/properties/cadi.properties
2018-11-07T20:48:41.867+0000 INIT [cadi] cadi_keyfile points to /opt/onap/appc/data/stores/org.onap.appc.keyfile
2018-11-07T20:48:41.906+0000 INIT [cadi] Loading CADI Properties from /opt/onap/appc/data/properties/cadi.properties
2018-11-07T20:48:41.907+0000 INIT [cadi] cadi_keyfile points to /opt/onap/appc/data/stores/org.onap.appc.keyfile
2018-11-07T20:48:41.943+0000 INIT [cadi] Loading CADI Properties from /opt/onap/appc/data/properties/cadi.properties
2018-11-07T20:48:41.943+0000 INIT [cadi] cadi_keyfile points to /opt/onap/appc/data/stores/org.onap.appc.keyfile
2018-11-07T20:48:42.235+0000 INIT [cadi] java.lang.NoSuchMethodException: org.onap.aaf.cadi.aaf.v2_0.AAFLocator.create(java.lang.String)
2018-11-07T20:48:42.267+0000 INIT [cadi] java.lang.NoSuchMethodException: org.onap.aaf.cadi.aaf.v2_0.AAFLocator.create(java.lang.String)
2018-11-07T20:48:42.290+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
2018-11-07T20:48:42.291+0000 INIT [cadi] Cleaning Thread initialized with interval of 60000 ms and max objects of 1000
2018-11-07T20:48:42.596+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
2018-11-07T20:48:42.670+0000 INIT [cadi] Cleaning Thread initialized with interval of 60000 ms and max objects of 1000
2018-11-07T20:48:42.871+0000 INIT [cadi] java.lang.NoSuchMethodException: org.onap.aaf.cadi.aaf.v2_0.AAFLocator.create(java.lang.String)
2018-11-07T20:48:43.573+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
2018-11-07T20:48:43.574+0000 INIT [cadi] Cleaning Thread initialized with interval of 60000 ms and max objects of 1000
100% [========================================================================]
Karaf started in 113s. Bundle stats: 570 active, 571 total
2018-11-07T20:50:37.303+0000 INFO [cadi] AAFLurPerm: Loaded appc@appc.onap.org perms from AAF in 27.413511 ms, remote=25.556120
2018-11-07T20:50:41.264+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 55 more seconds
2018-11-07T20:50:41.421+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 55 more seconds
2018-11-07T20:50:41.430+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 55 more seconds
2018-11-07T20:50:42.296+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 54 more seconds
2018-11-07T20:50:42.677+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 54 more seconds
2018-11-07T20:50:43.574+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 53 more seconds
2018-11-08T13:11:42.016+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 40 more seconds
2018-11-08T13:11:42.125+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 40 more seconds
2018-11-08T13:11:42.125+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 40 more seconds
2018-11-08T13:11:42.892+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 39 more seconds
2018-11-08T13:11:43.130+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 39 more seconds
2018-11-08T13:11:43.984+0000 INFO [cadi] admin remains in Missed Credential Map (0 invalid tries) for 38 more seconds
2018-11-08T13:12:42.017+0000 INFO [cadi] admin has been removed from Missed Credential Map (0 invalid tries)