adjust to use password-service
[aaa.git] / aaa-shiro / impl / src / main / resources / org / opendaylight / blueprint / impl-blueprint.xml
index 909140b6ee660a7cf3a2e756a5351f354418e4b7..54280861067bf0b7b784677f1e1e50c19147b071 100644 (file)
@@ -20,13 +20,18 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
         default-config-file-name="aaa-datastore-config.xml"
         binding-class="org.opendaylight.yang.gen.v1.urn.opendaylight.aaa.app.config.rev170619.DatastoreConfig" />
 
+  <reference id="passwordService" interface="org.opendaylight.aaa.api.password.service.PasswordHashService"
+        odl:type="default"/>
+
   <bean id="idmStore" class="org.opendaylight.aaa.datastore.h2.H2Store">
     <argument value="${dbUsername}" />
     <argument value="${dbPassword}" />
+    <argument ref="passwordService" />
   </bean>
 
   <bean id="idmLightProxy" class="org.opendaylight.aaa.shiro.idm.IdmLightProxy">
     <argument ref="idmStore" />
+    <argument ref="passwordService" />
   </bean>
 
   <bean id="authService" class="org.opendaylight.aaa.shiro.tokenauthrealm.auth.AuthenticationManager"/>
@@ -73,6 +78,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <argument ref="datastoreConfig" />
     <argument ref="idmStore" />
     <argument ref="authService" />
+    <argument ref="passwordService" />
   </bean>
 
   <bean id="authenticator" class="org.opendaylight.aaa.authenticator.ODLAuthenticator" />
@@ -89,6 +95,7 @@ and is available at http://www.eclipse.org/legal/epl-v10.html
     <argument>
       <bean factory-ref="provider" factory-method="getTokenStore"/>
     </argument>
+    <argument ref="passwordService" />
   </bean>
 
   <reference id="customFilterAdapterConfig"