Index: lams_admin/conf/language/lams/ApplicationResources.properties =================================================================== RCS file: /usr/local/cvsroot/lams_admin/conf/language/lams/ApplicationResources.properties,v diff -u -r1.100.2.13 -r1.100.2.14 --- lams_admin/conf/language/lams/ApplicationResources.properties 2 Oct 2016 00:31:25 -0000 1.100.2.13 +++ lams_admin/conf/language/lams/ApplicationResources.properties 26 Oct 2016 15:29:15 -0000 1.100.2.14 @@ -522,5 +522,10 @@ server.monitor.title =Server Monitoring user.course.title=User and Course Configuration config.site.name =Site name +config.password.minimum.characters=Minimum number of characters +config.password.uppercase=Must contain uppercase letter(s) +config.password.lowercase=Must contain lowercase letter(s) +config.password.numerics=Must contain at least a number +config.password.symbols=Must contain at least one symbol(s) #======= End labels: Exported 515 labels for en AU ===== Index: lams_admin/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== RCS file: /usr/local/cvsroot/lams_admin/conf/language/lams/ApplicationResources_en_AU.properties,v diff -u -r1.92.2.6 -r1.92.2.7 --- lams_admin/conf/language/lams/ApplicationResources_en_AU.properties 27 Sep 2016 06:18:50 -0000 1.92.2.6 +++ lams_admin/conf/language/lams/ApplicationResources_en_AU.properties 26 Oct 2016 15:29:15 -0000 1.92.2.7 @@ -529,4 +529,9 @@ sysadmin.serversecret =Secret label.tool.consumers.count =LTI Tool Consumers(s) in total +config.password.minimum.characters=Minimum number of characters +config.password.uppercase=Must contain uppercase letter(s) +config.password.lowercase=Must contain lowercase letter(s) +config.password.numerics=Must contain at least a number +config.password.symbols=Must contain at least one symbol(s) #======= End labels: Exported 515 labels for en AU ===== Index: lams_central/conf/language/lams/ApplicationResources.properties =================================================================== RCS file: /usr/local/cvsroot/lams_central/conf/language/lams/ApplicationResources.properties,v diff -u -r1.138.2.28 -r1.138.2.29 --- lams_central/conf/language/lams/ApplicationResources.properties 27 Jun 2016 10:01:31 -0000 1.138.2.28 +++ lams_central/conf/language/lams/ApplicationResources.properties 26 Oct 2016 15:29:14 -0000 1.138.2.29 @@ -689,4 +689,15 @@ label.private.notifications.read.hint =Mark notification as read label.private.notifications.read.all.hint =Mark all notifications as read label.select.groups =Select groups + +label.password.max.length =must be less than 25 characters +label.password.min.length =must be at least {0} characters long +label.password.old.must.entered =Old password must be entered +label.password.symbols.allowed =Only these symbols are allowed +label.password.restrictions =Password must follow the restrictions shown above +label.password.must.contain =Password must contain +label.password.must.ucase =at least 1 upper case letter +label.password.must.number=at least 1 number +label.password.must.symbol =at least 1 symbol + #======= End labels: Exported 439 labels for en AU ===== Index: lams_central/conf/language/lams/ApplicationResources_en_AU.properties =================================================================== RCS file: /usr/local/cvsroot/lams_central/conf/language/lams/ApplicationResources_en_AU.properties,v diff -u -r1.111.2.13 -r1.111.2.14 --- lams_central/conf/language/lams/ApplicationResources_en_AU.properties 25 Oct 2016 12:29:39 -0000 1.111.2.13 +++ lams_central/conf/language/lams/ApplicationResources_en_AU.properties 26 Oct 2016 15:29:14 -0000 1.111.2.14 @@ -689,5 +689,15 @@ label.lesson.not.completed =Lesson is not yet completed. label.you.completed.activities =You have completed {0} activities +label.password.max.length =must be less than 25 characters +label.password.min.length =must be at least {0} characters long +label.password.old.must.entered =Old password must be entered +label.password.symbols.allowed =Only these symbols are allowed +label.password.restrictions =Password must follow the restrictions shown above +label.password.must.contain =Password must contain +label.password.must.ucase =at least 1 upper case letter +label.password.must.number=at least 1 number +label.password.must.symbol =at least 1 symbol + #======= End labels: Exported 439 labels for en AU ===== Index: lams_central/web/passwordChangeContent.jsp =================================================================== RCS file: /usr/local/cvsroot/lams_central/web/passwordChangeContent.jsp,v diff -u -r1.10.12.3 -r1.10.12.4 --- lams_central/web/passwordChangeContent.jsp 24 Oct 2016 14:55:28 -0000 1.10.12.3 +++ lams_central/web/passwordChangeContent.jsp 26 Oct 2016 15:29:14 -0000 1.10.12.4 @@ -1,5 +1,4 @@ - <%@ page contentType="text/html; charset=utf-8" language="java"%> <%@ taglib uri="tags-html" prefix="html"%> <%@ taglib uri="tags-core" prefix="c"%> @@ -9,7 +8,15 @@ <%@ taglib uri="tags-lams" prefix="lams"%> <%@ page import="org.apache.struts.action.ActionMessages" import="org.lamsfoundation.lams.web.PasswordChangeActionForm"%> +<%@ page import="org.lamsfoundation.lams.util.Configuration"%> +<%@ page import="org.lamsfoundation.lams.util.ConfigurationKeys"%> +<%=Configuration.get(ConfigurationKeys.PASSWORD_POLICY_MINIMUM_CHARACTERS)%> +<%=Configuration.get(ConfigurationKeys.PASSWORD_POLICY_UPPERCASE)%> +<%=Configuration.get(ConfigurationKeys.PASSWORD_POLICY_NUMERICS)%> +<%=Configuration.get(ConfigurationKeys.PASSWORD_POLICY_SYMBOLS)%> + + @@ -19,11 +26,70 @@