check valid clipper
This commit is contained in:
parent
3be031957f
commit
6b66ae3264
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ class ClipperProvider(CASProvider):
|
||||||
|
|
||||||
def extract_common_fields(self, data):
|
def extract_common_fields(self, data):
|
||||||
def get_names(clipper):
|
def get_names(clipper):
|
||||||
|
assert clipper.isalnum()
|
||||||
try:
|
try:
|
||||||
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT,
|
ldap.set_option(ldap.OPT_X_TLS_REQUIRE_CERT,
|
||||||
ldap.OPT_X_TLS_NEVER)
|
ldap.OPT_X_TLS_NEVER)
|
||||||
|
|
Loading…
Reference in a new issue