AMBARI-25043. Sensitive Ambari configuration values are encrypted in Ambari Server...
authorSandor Molnar <smolnar@apache.org>
Sat, 22 Dec 2018 07:47:15 +0000 (08:47 +0100)
committerGitHub <noreply@github.com>
Sat, 22 Dec 2018 07:47:15 +0000 (08:47 +0100)
commit563d508f6eedf730e9d15183afb50790c4ffb52f
treeb273b690c6e7ad9e918218d9b894aaf732515809
parent7e15bff1e725e07195ba4ede3cf723edb473da2c
AMBARI-25043. Sensitive Ambari configuration values are encrypted in Ambari Server DB (#2742)
41 files changed:
ambari-server/src/main/java/org/apache/ambari/server/configuration/AmbariServerConfiguration.java
ambari-server/src/main/java/org/apache/ambari/server/configuration/AmbariServerConfigurationKey.java
ambari-server/src/main/java/org/apache/ambari/server/configuration/AmbariServerConfigurationProvider.java
ambari-server/src/main/java/org/apache/ambari/server/controller/ControllerModule.java
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerConfigurationHandler.java
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerLDAPConfigurationHandler.java
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerSSOConfigurationHandler.java
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/AmbariServerStackAdvisorAwareConfigurationHandler.java
ambari-server/src/main/java/org/apache/ambari/server/ldap/domain/AmbariLdapConfiguration.java
ambari-server/src/main/java/org/apache/ambari/server/ldap/service/ads/DefaultLdapAttributeDetectionService.java
ambari-server/src/main/java/org/apache/ambari/server/security/authentication/jwt/JwtAuthenticationProperties.java
ambari-server/src/main/java/org/apache/ambari/server/security/authentication/tproxy/AmbariTProxyConfiguration.java
ambari-server/src/main/java/org/apache/ambari/server/security/encryption/AmbariServerConfigurationEncryptor.java [new file with mode: 0644]
ambari-server/src/main/java/org/apache/ambari/server/security/encryption/Encryptor.java
ambari-server/src/main/java/org/apache/ambari/server/security/encryption/PropertiesEncryptor.java
ambari-server/src/main/python/ambari_server/setupSecurity.py
ambari-server/src/test/java/org/apache/ambari/server/agent/AgentResourceTest.java
ambari-server/src/test/java/org/apache/ambari/server/alerts/AgentHeartbeatAlertRunnableTest.java
ambari-server/src/test/java/org/apache/ambari/server/configuration/AmbariServerConfigurationKeyTest.java
ambari-server/src/test/java/org/apache/ambari/server/configuration/AmbariServerConfigurationProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/configuration/AmbariServerConfigurationTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AmbariServerConfigurationHandlerTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/AmbariServerSSOConfigurationHandlerTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/GroupPrivilegeResourceProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/PreUpgradeCheckResourceProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/RootServiceComponentConfigurationResourceProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/StackUpgradeConfigurationMergeTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UserAuthorizationResourceProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UserPrivilegeResourceProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/UserResourceProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/ldap/AmbariLdapConfigurationTest.java
ambari-server/src/test/java/org/apache/ambari/server/security/authentication/AbstractAuthenticationProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/security/authentication/jwt/AmbariJwtAuthenticationFilterTest.java
ambari-server/src/test/java/org/apache/ambari/server/security/authentication/jwt/JwtAuthenticationPropertiesTest.java
ambari-server/src/test/java/org/apache/ambari/server/security/authentication/pam/AmbariPamAuthenticationProviderTest.java
ambari-server/src/test/java/org/apache/ambari/server/security/authorization/AmbariAuthorizationFilterTest.java
ambari-server/src/test/java/org/apache/ambari/server/security/authorization/UsersTest.java
ambari-server/src/test/java/org/apache/ambari/server/serveraction/kerberos/AbstractPrepareKerberosServerActionTest.java
ambari-server/src/test/java/org/apache/ambari/server/serveraction/upgrades/PreconfigureKerberosActionTest.java
ambari-server/src/test/java/org/apache/ambari/server/testutils/PartialNiceMockBinder.java
ambari-server/src/test/python/TestAmbariServer.py