|
@@ -158,7 +158,7 @@ class LDAPPasswordIdentityProvider(IdentityProviderBase):
|
|
|
pref_user = self._idp['attributes'].pop('preferred_username')
|
|
|
self._idp['attributes']['preferredUsername'] = pref_user
|
|
|
|
|
|
- self._idp['ca'] = '/etc/origin/master/ldap_ca.crt'
|
|
|
+ self._idp['ca'] = '/etc/origin/master/{}_ldap_ca.crt'.format(self._idp['name'])
|
|
|
|
|
|
def validate(self):
|
|
|
''' validate this idp instance '''
|
|
@@ -220,7 +220,8 @@ class RequestHeaderIdentityProvider(IdentityProviderBase):
|
|
|
['emailHeaders', 'email_headers'],
|
|
|
['nameHeaders', 'name_headers'],
|
|
|
['preferredUsernameHeaders', 'preferred_username_headers']]
|
|
|
- self._idp['clientCA'] = '/etc/origin/master/request_header_ca.crt'
|
|
|
+ self._idp['clientCA'] = \
|
|
|
+ '/etc/origin/master/{}_request_header_ca.crt'.format(self._idp['name'])
|
|
|
|
|
|
def validate(self):
|
|
|
''' validate this idp instance '''
|
|
@@ -361,7 +362,7 @@ class OpenIDIdentityProvider(IdentityProviderOauthBase):
|
|
|
if 'extra_authorize_parameters' in self._idp:
|
|
|
self._idp['extraAuthorizeParameters'] = self._idp.pop('extra_authorize_parameters')
|
|
|
|
|
|
- self._idp['ca'] = '/etc/origin/master/openid_ca.crt'
|
|
|
+ self._idp['ca'] = '/etc/origin/master/{}_openid_ca.crt'.format(self._idp['name'])
|
|
|
|
|
|
def validate(self):
|
|
|
''' validate this idp instance '''
|