OpenSearch/qa
Jay Modi 295051ee8c Add a short-lived token based access mechanism (elastic/x-pack-elasticsearch#1029)
This commit adds a token based access mechanism that is a subset of the OAuth 2.0 protocol. The
token mechanism takes the same values as a OAuth 2 standard (defined in RFC 6749 and RFC 6750),
but differs in that we use XContent for the body instead of form encoded values. Additionally, this
PR provides a mechanism for expiration of a token; this can be used to implement logout
functionality that prevents the token from being used again.

The actual tokens are encrypted using AES-GCM, which also provides authentication. The key for
encryption is derived from a salt value and a passphrase that is stored on each node in the
secure settings store. By default, the tokens have an expiration time of 20 minutes and is
configurable up to a maximum of one hour.

Relates elastic/x-pack-elasticsearch#8

Original commit: elastic/x-pack-elasticsearch@3d201ac2bf
2017-04-26 08:00:03 -04:00
..
audit-tests Remove SecuredString and use SecureString from elasticsearch core (elastic/x-pack-elasticsearch#1092) 2017-04-17 13:28:46 -04:00
core-rest-tests-with-security Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
ml-basic-multi-node [TEST] Give jobs meaningful names in ML integ tests (elastic/x-pack-elasticsearch#1103) 2017-04-19 12:00:53 +01:00
ml-disabled [TEST] Give jobs meaningful names in ML integ tests (elastic/x-pack-elasticsearch#1103) 2017-04-19 12:00:53 +01:00
ml-no-bootstrap-tests Rename x-pack project names to new names with split repo 2017-02-10 11:02:42 -08:00
ml-single-node-tests [TEST] Give jobs meaningful names in ML integ tests (elastic/x-pack-elasticsearch#1103) 2017-04-19 12:00:53 +01:00
multi-cluster-search-security Test: remove roles from user on remote cluster (elastic/x-pack-elasticsearch#1144) 2017-04-24 09:18:26 -04:00
reindex-tests-with-security Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
rolling-upgrade Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
security-client-tests Remove SecuredString and use SecureString from elasticsearch core (elastic/x-pack-elasticsearch#1092) 2017-04-17 13:28:46 -04:00
security-example-extension Move integ test runner deps to cluster deps (elastic/x-pack-elasticsearch#1096) 2017-04-17 16:04:09 -07:00
security-migrate-tests Remove SecuredString and use SecureString from elasticsearch core (elastic/x-pack-elasticsearch#1092) 2017-04-17 13:28:46 -04:00
smoke-test-graph-with-security Add a short-lived token based access mechanism (elastic/x-pack-elasticsearch#1029) 2017-04-26 08:00:03 -04:00
smoke-test-ml-with-security [TEST] Wait for all ML index template before ML security tests (elastic/x-pack-elasticsearch#1148) 2017-04-21 07:50:10 +01:00
smoke-test-plugins Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
smoke-test-plugins-ssl Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
smoke-test-security-with-mustache Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
smoke-test-watcher Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
smoke-test-watcher-with-mustache Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
smoke-test-watcher-with-painless Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
smoke-test-watcher-with-security Test: Update rest base class parameters signature (elastic/x-pack-elasticsearch#1101) 2017-04-18 15:07:14 -07:00
transport-client-tests [ML] Remove batch_span and period from analysis config (elastic/x-pack-elasticsearch#1043) 2017-04-11 12:57:58 +01:00
tribe-node-tests-with-security Moved directories around 2016-09-29 12:03:14 +02:00
tribe-tests-with-license Move integ test runner deps to cluster deps (elastic/x-pack-elasticsearch#1096) 2017-04-17 16:04:09 -07:00
tribe-tests-with-security Move integ test runner deps to cluster deps (elastic/x-pack-elasticsearch#1096) 2017-04-17 16:04:09 -07:00
vagrant Rename x-pack project names to new names with split repo 2017-02-10 11:02:42 -08:00
build.gradle Migrates QA files 2017-02-08 16:58:55 +00:00