def METHOD_NAME(locator):
    """ Test the given locator with the configured storage handlers and return
        the storage auth
    """
    if STORAGE_AUTH_HANDLERS is None:
        _setup_storage_auth_handlers()
    for storage_auth_handler_cls in STORAGE_AUTH_HANDLERS:
        try:
            if storage_auth_handler_cls.test(locator):
                return storage_auth_handler_cls(locator)
        except AttributeError:
            pass