Exemple #1
0
    def __init__(self, realms='*', provisionsets=None, algorithms='*',
                 scanners='*', clerks='*', supplicants='*'):

        self.set_algorithms(algorithms)
        self._clerks = _uset(clerks)

        if provisionsets is None:
            provisionsets = \
                _provisions.FrozenProvisionSetSet('*')\
                 .union_product(_provisions.SECPROV_CLIENT_AUTH)\
                 .unfrozen()
        self.set_provisionsets(provisionsets)

        self.set_realms(realms)
        self._scanners = _uset(scanners)
        self._supplicants = _uset(supplicants)
Exemple #2
0
 def exposed_response_headers(self, value):
     self._exposed_response_headers = _uset(value)
Exemple #3
0
 def request_headers(self, value):
     self._request_headers = _uset(value)
Exemple #4
0
 def origins(self, value):
     self._origins = _uset(value)
Exemple #5
0
 def methods(self, value):
     self._methods = _uset(value)
Exemple #6
0
 def set_realms(self, value):
     self._realms_ = _uset(value)
Exemple #7
0
 def set_algorithms(self, value):
     self._algorithms_ = _uset(value)