Commit Graph

68 Commits

Author SHA1 Message Date
Alexander Reelsen 3ee4d527f3 CmdTool: Added options for editing roles and listing users/roles
Two new commands to the command line tool have been added

* esusers list: Allows to list all users with their roles or only a single one
* esusers roles: Allows to add or remove roles

Roles have been configured as to only consist of lowercase alphanumeric characters.

Original commit: elastic/x-pack-elasticsearch@6fcb4c56e4
2014-08-08 17:36:29 +02:00
Alexander Reelsen 75cf637fed Build: Do not depend on guava in compile scope
Changed the scope of the guava dependency to prevent wrong imports and always use the shaded ones.
This required a change in the forbidden API signatures, as that tool alwyas try load the class and fail
if the class cannot be found.

Original commit: elastic/x-pack-elasticsearch@90a245423a
2014-08-08 12:57:28 +02:00
Alexander Reelsen f4824d78e4 Compilation: Fix compilation issue with latest 1.4-SNAPSHOT
Original commit: elastic/x-pack-elasticsearch@66624a104f
2014-08-08 08:58:12 +02:00
Alexander Reelsen 44a549fd12 Test: Removed network.mode from test to prevent slowdown
Original commit: elastic/x-pack-elasticsearch@69b9296928
2014-08-07 14:08:51 +02:00
Alexander Reelsen b78262046e Packaging: Fix broken paths, adapt to elasticsearch packaging
* Add config and bin directory to assembly
* Add main method to ESUsersTool so it starts
* Fix bin/esusers to actually start
* Fix ESUsersTool to write files in config/shield by default as each plugin has its own directory after installation
* Changed bin/ and config/ directory to reflect path after installation in ES

Original commit: elastic/x-pack-elasticsearch@7d4165e389
2014-08-07 14:06:14 +02:00
Alexander Reelsen 9dd52bfb5f Packaging: Add files from bin/ and config/ directories
Original commit: elastic/x-pack-elasticsearch@76d389966e
2014-08-06 17:05:28 +02:00
uboness 09bdfc3da8 Added support class for caching username/password realm
Original commit: elastic/x-pack-elasticsearch@493234a0a5
2014-08-06 03:23:10 +02:00
uboness 605aee5a54 Moved ESUsersTool to cores cli tool infra
Also removed the cli tool infra from this repo (as it was moved to core)

Original commit: elastic/x-pack-elasticsearch@0bf7f84ab6
2014-08-03 23:08:28 +02:00
Alexander Reelsen 86546e80ad Netty: Added ip filter capabilties to pipeline
Used the existing infra structure to filter by ip in the netty pipeline
before any other handler is hit, in order to reject as soon as possible.
Right now the connection is simply closed.

The configuration is a simple YAML file which uses allow/deny rules

Original commit: elastic/x-pack-elasticsearch@000e44f8cc
2014-07-30 14:13:22 +02:00
Alexander Reelsen a6bf836ae8 SSL: Renamed settings, added SSLConfig tests
Settings for SSL now all start with `shield` as well. Changed documentation and tests to reflect this.

Original commit: elastic/x-pack-elasticsearch@9dd3bc865e
2014-07-30 11:14:22 +02:00
javanna 3a4af4c7bc uncommented security filter now that the action filter chain is in
Original commit: elastic/x-pack-elasticsearch@5b96b80409
2014-07-28 22:56:45 +02:00
javanna 0b751b12f1 integrated indices related request change added to es core and added wildcard expansion
Original commit: elastic/x-pack-elasticsearch@1192d0e7f8
2014-07-25 11:39:30 +02:00
Alexander Reelsen 9bb9fb478d Fix all guava imports to use shaded classes
This is required for the plugin to run externally

Original commit: elastic/x-pack-elasticsearch@de16c825f1
2014-07-25 08:24:02 +02:00
Alexander Reelsen d0673b0cfb Added SSL support in netty
This introduces the possibility to have all communications (transport
and HTTP) to run over SSL.

Original commit: elastic/x-pack-elasticsearch@c816a65f53
2014-07-22 11:41:17 +02:00
Alexander Reelsen bc0e233589 Removed netty dependency. Use shaded classes as imports
Original commit: elastic/x-pack-elasticsearch@46483aa44f
2014-07-22 11:20:41 +02:00
uboness 9b3160b7ac Added more unit tests, re-implemented & added tests for ESUsersTool
- Added CliTool infrastructure (should eventually be moved to core and removed from this repo)

Original commit: elastic/x-pack-elasticsearch@ba498163f5
2014-07-21 04:42:04 +02:00
uboness f727e29066 Initial commit of the infrastructure codebase for security
There are four modules:
 - authc: realm based authentication module
 - authz: role based privileges & permissions authorization module
 - n2n: node to node authentication module (incl. IP filtering auth)
 - audit: audit trail module (only includes log file audit trails for now)

Original commit: elastic/x-pack-elasticsearch@b1ec9e2923
2014-07-17 17:58:36 +02:00
Alexander Reelsen b201d726b2 Initial import
Original commit: elastic/x-pack-elasticsearch@d85c3afaf4
2014-07-07 11:30:28 +02:00