diff --git a/wise-webapp/src/main/webapp/WEB-INF/app.properties b/wise-webapp/src/main/webapp/WEB-INF/app.properties index 62882278..c3f02de3 100755 --- a/wise-webapp/src/main/webapp/WEB-INF/app.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/app.properties @@ -1,3 +1,7 @@ +################################################################################## +# Database Configuration +################################################################################## + # MySQL 5.X configuration properties #database.url=jdbc:mysql://localhost/wisemapping @@ -13,14 +17,21 @@ database.hibernate.dialect=org.hibernate.dialect.HSQLDialect database.username=sa database.password= - # Enable/Disable user confirmation by e-mail. If it's enabled, mail must be configured. user.confirm.registration=false +################################################################################## # Mail configuration. Must be configured to enable user registration confirmation. -mail.smtp.socketFactory.port=465 +################################################################################## + +# SSL configuration +# mail.smtp.socketFactory.class=javax.net.ssl.SSLSocketFactory +mail.smtp.socketFactory.class=javax.net.DefaultSocketFactory +mail.smtp.socketFactory.port=25 + +mail.smtp.auth = false mail.host=localhost -mail.user=user -mail.password=password +mail.user= +mail.password= mail.registrationEmail=root@localhost mail.siteEmail=root@localhost diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-service.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-service.xml index c02cd1e6..9706803c 100755 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-service.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-service.xml @@ -66,19 +66,21 @@ - true + ${mail.smtp.auth} ${mail.smtp.socketFactory.port} - javax.net.ssl.SSLSocketFactory + ${mail.smtp.socketFactory.class} false false + true + - - + + @@ -86,7 +88,7 @@ - + diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml index 319740c9..0c91bc03 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-servlet.xml @@ -21,6 +21,7 @@ /c/keyboard.htm /c/renameMap.htm /c/embeddedView.htm + /c/forgotPassword.htm @@ -343,44 +344,4 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/wise-webapp/src/main/webapp/jsp/forgotPassword.jsp b/wise-webapp/src/main/webapp/jsp/forgotPassword.jsp index 99080737..6d62a835 100755 --- a/wise-webapp/src/main/webapp/jsp/forgotPassword.jsp +++ b/wise-webapp/src/main/webapp/jsp/forgotPassword.jsp @@ -25,8 +25,7 @@ - - : + : @@ -38,7 +37,7 @@ " class="btn-primary" id="submitButton"> - " class="btn-primary" + " class="btn-secondary" onclick="window.location=''"> diff --git a/wise-webapp/src/main/webapp/jsp/userRegistration.jsp b/wise-webapp/src/main/webapp/jsp/userRegistration.jsp index 39b538c4..0c29d68e 100644 --- a/wise-webapp/src/main/webapp/jsp/userRegistration.jsp +++ b/wise-webapp/src/main/webapp/jsp/userRegistration.jsp @@ -129,7 +129,7 @@   " id="submitButton" class="btn-primary"> " - onclick="window.location=''" class="btn-primary"> + onclick="window.location=''" class="btn-secondary">