Move BP xml files to standard OSGI-INF/blueprint
[netconf.git] / netconf / aaa-authn-odl-plugin / src / main / resources / OSGI-INF / blueprint / aaa-authn-netconf.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright (c) 2016 Inocybe Technologies Inc. and others.  All rights reserved.
4
5  This program and the accompanying materials are made available under the
6  terms of the Eclipse Public License v1.0 which accompanies this distribution,
7  and is available at http://www.eclipse.org/legal/epl-v10.html
8 -->
9 <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
10            xmlns:odl="http://opendaylight.org/xmlns/blueprint/v1.0.0"
11            odl:use-default-for-reference-types="true">
12
13     <reference id="credentialAuth" interface="org.opendaylight.aaa.api.CredentialAuth" odl:type="default" />
14
15     <bean id="credentialServiceAuthProvider" class="org.opendaylight.netconf.authprovider.CredentialServiceAuthProvider">
16         <argument ref="credentialAuth"/>
17     </bean>
18     <service ref="credentialServiceAuthProvider" interface="org.opendaylight.netconf.auth.AuthProvider"
19              odl:type="netconf-auth-provider"/>
20
21 </blueprint>