1 <?xml version="1.0" encoding="UTF-8"?>
3 ~ ============LICENSE_START=======================================================
4 ~ ONAP : ccsdk features
5 ~ ================================================================================
6 ~ Copyright (C) 2019 highstreet technologies GmbH Intellectual Property.
8 ~ ================================================================================
9 ~ Update Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
10 ~ ================================================================================
11 ~ Licensed under the Apache License, Version 2.0 (the "License");
12 ~ you may not use this file except in compliance with the License.
13 ~ You may obtain a copy of the License at
15 ~ http://www.apache.org/licenses/LICENSE-2.0
17 ~ Unless required by applicable law or agreed to in writing, software
18 ~ distributed under the License is distributed on an "AS IS" BASIS,
19 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 ~ See the License for the specific language governing permissions and
21 ~ limitations under the License.
22 ~ ============LICENSE_END=======================================================
26 <blueprint xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
27 xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" odl:use-default-for-reference-types="true">
29 <reference id="odlAuthenticator" interface="org.jolokia.osgi.security.Authenticator" />
31 <reference id="odlIdentityService" interface="org.opendaylight.aaa.api.IdMService" />
33 <reference id="dataBroker" interface="org.opendaylight.mdsal.binding.api.DataBroker" />
35 <odl:clustered-app-config
36 binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.app.config.rev170619.ShiroConfiguration"
37 id="shiroConfiguration" default-config-file-name="aaa-app-config.xml" />
39 <bean id="authServlet"
40 class="org.onap.ccsdk.features.sdnr.wt.oauthprovider.http.AuthHttpServlet">
41 <property ref="odlAuthenticator" name="odlAuthenticator" />
42 <property ref="odlIdentityService" name="odlIdentityService" />
43 <property ref="shiroConfiguration" name="shiroConfiguration" />
44 <property ref="dataBroker" name="dataBroker" />
47 <service interface="javax.servlet.http.HttpServlet" ref="authServlet">
49 <entry key="alias" value="/oauth"/>