gitlab-org--gitlab-foss/spec/support
Robert Speicher 0b2a34108d Merge branch 'restrict_ldap_return_attributes' into 'master'
Restrict ldap return attributes

## What does this MR do?

Fixes the CE part of #13821. We really only ever need uid, dn, cn, and mail attributes, and in some cases, even less. This merge request strips the request down to those four attributes by default, and allows the caller to specify others, if needed. 

## Why was this MR needed?

This will improve performance especially in cases where the connection is slow between GitLab and LDAP, or when the LDAP object has lots of attributes we don't care about.

See merge request !6187
2016-09-09 18:59:33 +00:00
..
api Fix matcher match_response_schema 2016-08-17 12:58:59 -03:00
gitlab_stubs
import_export
matchers
api_helpers.rb
capybara.rb
capybara_helpers.rb
carrierwave.rb
db_cleaner.rb Make sure DatabaseCleaner.clean runs AFTER Capybara's cleanup 2016-09-04 19:59:00 +03:00
email_format_shared_examples.rb
email_helpers.rb
factory_girl.rb
fake_u2f_device.rb Add feature specs to cover naming and deleting U2F devices. 2016-08-18 22:12:02 +05:30
filter_spec_helper.rb
fixture_helpers.rb
import_spec_helper.rb
issuable_create_service_slash_commands_shared_examples.rb Remove unneeded aliases 2016-08-18 14:29:48 -05:00
issuable_slash_commands_shared_examples.rb Move write_note into SlashCommandsHelper and update other dependent specs 2016-09-08 18:52:55 -04:00
issue_helpers.rb
issue_tracker_service_shared_example.rb
jira_service_helper.rb
ldap_helpers.rb Request only the LDAP attributes we need 2016-09-09 13:14:57 -05:00
login_helpers.rb Wait for logout message in login_helpers 2016-09-08 18:52:54 -04:00
markdown_feature.rb
mentionable_shared_examples.rb
merge_request_helpers.rb
omni_auth.rb
project_hook_data_shared_example.rb
reference_parser_helpers.rb
repo_helpers.rb
select2_helper.rb
services_shared_context.rb
setup_builds_storage.rb
slash_commands_helpers.rb Move write_note into SlashCommandsHelper and update other dependent specs 2016-09-08 18:52:55 -04:00
stub_configuration.rb
stub_gitlab_calls.rb
stub_gitlab_data.rb
taskable_shared_examples.rb Shorten task status phrase 2016-08-29 10:46:36 -05:00
test_env.rb Fix resolving conflicts on forks 2016-08-30 11:56:11 +01:00
updating_mentions_shared_examples.rb
wait_for_ajax.rb
webmock.rb
workhorse_helpers.rb Verify JWT messages from gitlab-workhorse 2016-09-05 15:05:31 +02:00