1 module aaa-authn-mdsal-store-cfg {
4 namespace "config:aaa:authn:mdsal:store";
5 prefix "aaa-authn-store-cfg";
7 import config { prefix config; revision-date 2013-04-05; }
8 import rpc-context { prefix rpcx; revision-date 2013-06-17; }
9 import opendaylight-md-sal-binding { prefix mdsal; revision-date 2013-10-28; }
10 import opendaylight-md-sal-dom {prefix dom;}
14 "This module contains the base YANG definitions for
15 AuthN MD-SAL backed data cache implementation.";
17 revision "2014-10-31" {
22 identity token-store-service{
23 base config:service-type;
24 config:java-class "org.opendaylight.aaa.api.TokenStore";
28 // This is the definition of the service implementation as a module identity.
29 identity aaa-authn-mdsal-store {
30 base config:module-type;
31 // Specifies the prefix for generated java classes.
32 config:java-name-prefix AuthNStore;
33 config:provided-service token-store-service;
36 // Augments the 'configuration' choice node under modules/module.
38 augment "/config:modules/config:module/config:configuration" {
39 case aaa-authn-mdsal-store {
40 when "/config:modules/config:module/config:type = 'aaa-authn-mdsal-store'";
42 //Defines reference to the Bundle context and MD-SAL data broker
43 container dom-broker {
44 uses config:service-ref {
47 config:required-identity dom:dom-broker-osgi-registry;
51 container data-broker {
52 uses config:service-ref {
55 config:required-identity mdsal:binding-async-data-broker;
62 description "Time to live for tokens. When set to 0 = never expire";
67 description "Time to wait for future from data store. 10 by default = never expire";
72 description "Encryption password for the Store";