projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
feature 7919 - Subscription API for OSS/BSS management systems
[osm/NBI.git]
/
osm_nbi
/
auth.py
diff --git
a/osm_nbi/auth.py
b/osm_nbi/auth.py
index
f756d9d
..
9098de7
100644
(file)
--- a/
osm_nbi/auth.py
+++ b/
osm_nbi/auth.py
@@
-114,9
+114,9
@@
class Authenticator:
.format(config["message"]["driver"]))
if not self.backend:
if config["authentication"]["backend"] == "keystone":
.format(config["message"]["driver"]))
if not self.backend:
if config["authentication"]["backend"] == "keystone":
- self.backend = AuthconnKeystone(self.config["authentication"], self.db)
+ self.backend = AuthconnKeystone(self.config["authentication"], self.db
, self.role_permissions
)
elif config["authentication"]["backend"] == "internal":
elif config["authentication"]["backend"] == "internal":
- self.backend = AuthconnInternal(self.config["authentication"], self.db)
+ self.backend = AuthconnInternal(self.config["authentication"], self.db
, self.role_permissions
)
self._internal_tokens_prune()
else:
raise AuthException("Unknown authentication backend: {}"
self._internal_tokens_prune()
else:
raise AuthException("Unknown authentication backend: {}"