summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2016-08-16 10:49:06 -0400
committerGitHub <noreply@github.com>2016-08-16 10:49:06 -0400
commit4ac0ed94f45c872e283e754f383e548ba03788c7 (patch)
tree4c1e533a224b646bb43b04df760a1b8bf7d46dc1
parentace76425ceb27e8cc60ee4b8e8fd5d986bbd5292 (diff)
parenta594a3464290147a2f6c92fa8fa59f799173c128 (diff)
downloadopenshift-4ac0ed94f45c872e283e754f383e548ba03788c7.tar.gz
openshift-4ac0ed94f45c872e283e754f383e548ba03788c7.tar.bz2
openshift-4ac0ed94f45c872e283e754f383e548ba03788c7.tar.xz
openshift-4ac0ed94f45c872e283e754f383e548ba03788c7.zip
Merge pull request #2300 from sdodson/issue1745
Add additional options 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 '''