diff options
author | Bhuvan Arumugam <bhuvan@apache.org> | 2012-08-11 22:48:33 -0700 |
---|---|---|
committer | Bhuvan Arumugam <bhuvan@apache.org> | 2012-08-11 22:48:33 -0700 |
commit | e0a7ebdc9626d9f6932fb8c258998916afdf8468 (patch) | |
tree | c996220b8f93c0f99f315ba9527a4ff81d51e2b1 /keystone | |
parent | 4f3dcb6c9b23867e6049f24c851b12904aee3b76 (diff) | |
download | keystone-e0a7ebdc9626d9f6932fb8c258998916afdf8468.tar.gz keystone-e0a7ebdc9626d9f6932fb8c258998916afdf8468.tar.xz keystone-e0a7ebdc9626d9f6932fb8c258998916afdf8468.zip |
Add tests for PAM authentication.
Bug: 1003829
* keystone/config.py
Define defaults for pam.
* tests/backend_pam.conf
Defaults to execute pam tests.
* tests/test_backend_pam.py
New script to test all implemented methods for pam backend.
Change-Id: I891f080c36fbdc1d641d49edf9fe762702b591b6
Diffstat (limited to 'keystone')
-rw-r--r-- | keystone/config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/keystone/config.py b/keystone/config.py index 33f1e3ba..e9b926b4 100644 --- a/keystone/config.py +++ b/keystone/config.py @@ -179,3 +179,8 @@ register_str('role_tree_dn', group='ldap', default=None) register_str('role_objectclass', group='ldap', default='organizationalRole') register_str('role_id_attribute', group='ldap', default='cn') register_str('role_member_attribute', group='ldap', default='roleOccupant') + +#pam +register_str('url', group='pam', default=None) +register_str('userid', group='pam', default=None) +register_str('password', group='pam', default=None) |