public class SecureStoreModules
extends RuntimeModule
Guice bindings for security store related classes.
file - InMemory - with password - Valid, returns FileSecureStore
- without password - Invalid, throws IllegalArgumentException. (Set password)
- Standalone - with password - Valid, returns FileSecureStore
- without password - Invalid, throws IllegalArgumentException. (Set password)
- Distributed - with password - Invalid, throws IllegalArgumentException. (mode not supported)
- without password - Invalid, throws IllegalArgumentException. (mode not supported)
kms - InMemory - > Hadoop 2.6 - Invalid, throws IllegalArgumentException. (mode not supported)
- < Hadoop 2.6 - Invalid, throws IllegalArgumentException. (mode not supported)
- Standalone - > Hadoop 2.6 - Invalid, throws IllegalArgumentException. (mode not supported)
- < Hadoop 2.6 - Invalid, throws IllegalArgumentException. (mode not supported)
- Distributed - > Hadoop 2.6 - Valid, returns KMSSecureStore
- < Hadoop 2.6 - Invalid, throws IllegalArgumentException. (Hadoop unsupported)
none - Loads a dummy store. Logs an error message explaining how to setup secure store if any secure store
operations are performed.