'Verify ephemeral user does not need a specified user.
Keystone is not looking to match the user, but a corresponding group.'

def test_ephemeral_any_user_success(self):

    env = {}
    env['SSL_CLIENT_I_DN'] = self.client_issuer
    env['HTTP_X_PROJECT_NAME'] = self.project_name
    env['HTTP_X_PROJECT_DOMAIN_NAME'] = self.domain_name
    env['SSL_CLIENT_USER_NAME'] = uuid.uuid4().hex
    self.config_fixture.config(group='tokenless_auth', protocol='ephemeral')
    self.protocol_id = 'ephemeral'
    mapping = copy.deepcopy(mapping_fixtures.MAPPING_FOR_EPHEMERAL_USER)
    mapping['rules'][0]['local'][0]['group']['id'] = self.group['id']
    self._load_mapping_rules(mapping)
    req = self._do_middleware_request(extra_environ=env)
    context = req.environ.get(authorization.AUTH_CONTEXT_ENV)
    self._assert_tokenless_auth_context(context, ephemeral_user=True)
