----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/38318/ -----------------------------------------------------------
Review request for Ambari, Jaimin Jetly, Jonathan Hurley, and Robert Nettleton. Bugs: AMBARI-13060 https://issues.apache.org/jira/browse/AMBARI-13060 Repository: ambari Description ------- Allow user to specify additional realms for auth-to-local rules. This will add _default_ rules for the specified realm(s) to the generated auth-to-local rule sets. For example: ``` RULE:[1:$1@$0](.*@USER_REALM.COM)s/@.*// ``` The value should be a (comma) delimited list of realm names set in set of global properties in the Kerberos Descriptor. Diffs ----- ambari-server/src/main/java/org/apache/ambari/server/controller/AuthToLocalBuilder.java 00e8291 ambari-server/src/main/java/org/apache/ambari/server/controller/KerberosHelperImpl.java 11f578f ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/kerberos.json df99bce ambari-server/src/main/resources/stacks/HDP/2.0.6/kerberos.json 03198dc ambari-server/src/test/java/org/apache/ambari/server/api/services/AmbariMetaInfoTest.java 14c66a2 ambari-server/src/test/java/org/apache/ambari/server/controller/AuthToLocalBuilderTest.java 9e65b5e ambari-server/src/test/java/org/apache/ambari/server/controller/KerberosHelperTest.java f28a19b ambari-server/src/test/resources/stacks/HDP/2.0.8/kerberos.json cf49786 ambari-web/app/mixins/wizard/addSecurityConfigs.js d14d09e Diff: https://reviews.apache.org/r/38318/diff/ Testing ------- Manually tested existing KDC and manual options, both with various additional realm specifications (empty, single, multiple, multiple with random spaces between). Updated realms after enabling Kerberos. Local test results: PASSED Jenkins test results: *PENDING* Thanks, Robert Levas