summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-15 15:13:29 -0400
committerScott Dodson <sdodson@redhat.com>2016-08-15 16:01:13 -0400
commita594a3464290147a2f6c92fa8fa59f799173c128 (patch)
treef8795ae549e4d6ed0986f6d9f5a8b5e14ae7aba4
parent58819b9243e72482729fce3ff24b414c461431ab (diff)
downloadopenshift-a594a3464290147a2f6c92fa8fa59f799173c128.tar.gz
openshift-a594a3464290147a2f6c92fa8fa59f799173c128.tar.bz2
openshift-a594a3464290147a2f6c92fa8fa59f799173c128.tar.xz
openshift-a594a3464290147a2f6c92fa8fa59f799173c128.zip
Add clientCommonNames to RequestHeaderProvider optional items
-rw-r--r--filter_plugins/openshift_master.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/filter_plugins/openshift_master.py b/filter_plugins/openshift_master.py
index 048cd04c7..d196d6c1f 100644
--- a/filter_plugins/openshift_master.py
+++ b/filter_plugins/openshift_master.py
@@ -237,7 +237,11 @@ class RequestHeaderIdentityProvider(IdentityProviderBase):
self._required += [['headers']]
self._optional += [['challengeURL', 'challenge_url'],
['loginURL', 'login_url'],
- ['clientCA', 'client_ca']]
+ ['clientCA', 'client_ca'],
+ ['clientCommonNames', 'client_common_names'],
+ ['emailHeaders', 'email_headers'],
+ ['nameHeaders', 'name_headers'],
+ ['preferredUsernameHeaders', 'preferred_username_headers']]
def validate(self):
''' validate this idp instance '''