Directly inject CredentialAuth dependency 16/61716/13
authorRyan Goulding <ryandgoulding@gmail.com>
Mon, 14 Aug 2017 19:48:46 +0000 (15:48 -0400)
committerTomas Cere <tcere@cisco.com>
Wed, 4 Oct 2017 12:53:08 +0000 (12:53 +0000)
commit0c70faec609ab5051b104b09b4eccf07ae7278b1
treec0913ee57b3dd9f3dedc9e0d59327c77a50428b8
parent4b8e561e5979fc3300c6fdaade0f55ec1fc6cfe3
Directly inject CredentialAuth dependency

In today's blueprint-oriented OSGi DI, it is more efficient to
express the dependency on AAA's CredentialAuth API rather than to
spin waiting for a ServiceReference using a ServiceTracker.  This
change specifies direct injection of AAA's CredentialAuth Service
through blueprint wiring.

Change-Id: Iec02f8acc4763922505881a772ff128f1f9d9986
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
netconf/aaa-authn-odl-plugin/src/main/java/org/opendaylight/aaa/odl/CredentialServiceAuthProvider.java
netconf/aaa-authn-odl-plugin/src/main/resources/org/opendaylight/blueprint/aaa-authn-netconf.xml
netconf/aaa-authn-odl-plugin/src/test/java/org/opendaylight/aaa/odl/CredentialServiceAuthProviderTest.java