diff --git a/wise-webapp/pom.xml b/wise-webapp/pom.xml index 079f7383..0bb24374 100644 --- a/wise-webapp/pom.xml +++ b/wise-webapp/pom.xml @@ -28,7 +28,7 @@ - 3.1.2.RELEASE + 3.1.3.RELEASE diff --git a/wise-webapp/src/main/webapp/WEB-INF/app.properties b/wise-webapp/src/main/webapp/WEB-INF/app.properties index 76a47f6a..9dc15ca7 100755 --- a/wise-webapp/src/main/webapp/WEB-INF/app.properties +++ b/wise-webapp/src/main/webapp/WEB-INF/app.properties @@ -100,9 +100,15 @@ google.analytics.account=UA-XXXX google.ads.enabled=false ####################################################################################### -LDAP Configuration Section +Security Configuration Section ####################################################################################### -security.ldap.enabled=false + +# Two type of security are supported: +# - db: User are stored in the database. Registration is required in advance. +# - ldap: Authentication takes place using a LDAP. In this case, security.ldap.* must be configured. +security.type=db + +# LDAP Configuration properties. security.ldap.server=ldap://localhost:389 security.ldap.server.user=cn=pveiga,dc=wisemapping,dc=com security.ldap.server.password=password @@ -110,7 +116,6 @@ security.ldap.server.password=password security.ldap.basedn=dc=wisemapping,dc=com security.ldap.subDn=people security.ldap.auth.attribute=mail -####################################################################################### diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security-db.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security-db.xml index 7319eca1..76d22276 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security-db.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security-db.xml @@ -8,6 +8,8 @@ http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd"> + + diff --git a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml index 12ad85b1..e4f46857 100644 --- a/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml +++ b/wise-webapp/src/main/webapp/WEB-INF/wisemapping-security.xml @@ -3,14 +3,14 @@ - - @@ -56,8 +56,9 @@ - - + + +