def get_key(self, username):
        try:
            return self.ldap_key_provider.get_key(username)
        except exceptions.NoSuchUserException:
            try:
                return self.file_key_provider.get_key(username)
            except Exception, e:
                raise exceptions.NoSuchUserException(
                    "User %s not in ldap, defaulted to pubkey dir and got "
                    "exception %s" % (username, e))
Returns the user's public key if it can be found in LDAP, otherwise
dataset/ETHPy150Open spotify/crtauth/crtauth/ldap_key_provider.py/HybridKeyProvider.get_key