himanshumaurya09876 commented on code in PR #3776: URL: https://github.com/apache/ambari/pull/3776#discussion_r1639413561
########## ambari-server/src/main/java/org/apache/ambari/server/configuration/Configuration.java: ########## @@ -4138,6 +4146,13 @@ public String getPasswordPolicyDescription() { return getProperty(PASSWORD_POLICY_DESCRIPTION); } + /** + * @return Password policy history count + */ + public int getPasswordPolicyHistoryCount() { + return Integer.parseInt(getProperty(PASSWORD_POLICY_HISTORY_COUNT)); Review Comment: Thank you @JiaLiangC , I will add the parameter validation logic. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@ambari.apache.org For additional commands, e-mail: dev-h...@ambari.apache.org