syncope git commit: [SYNCOPE-799] Missing property declaration in root pom.xml

2016-05-04 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master 94b6a75ff -> 5472a323d


[SYNCOPE-799] Missing property declaration in root pom.xml


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/5472a323
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/5472a323
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/5472a323

Branch: refs/heads/master
Commit: 5472a323db374e96d1949c5c5ea86431faee7af9
Parents: 94b6a75
Author: Francesco Chicchiriccò 
Authored: Wed May 4 15:49:33 2016 +0200
Committer: Francesco Chicchiriccò 
Committed: Wed May 4 15:49:33 2016 +0200

--
 pom.xml | 1 +
 1 file changed, 1 insertion(+)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/5472a323/pom.xml
--
diff --git a/pom.xml b/pom.xml
index d912e16..241cc6b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -437,6 +437,7 @@ under the License.
 
 8.0.33
 
+admin
 anonymous
 
 anonymousKey



syncope git commit: [SYNCOPE-799] user Admin cannot log in to enduser anymore - this closes #15

2016-05-04 Thread ilgrosso
Repository: syncope
Updated Branches:
  refs/heads/master f323bf747 -> 94b6a75ff


[SYNCOPE-799] user Admin cannot log in to enduser anymore - this closes #15


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/94b6a75f
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/94b6a75f
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/94b6a75f

Branch: refs/heads/master
Commit: 94b6a75ffef5c38d6868f58cf10b7928da843c87
Parents: f323bf7
Author: Matteo Di Carlo 
Authored: Wed May 4 15:20:15 2016 +0200
Committer: Francesco Chicchiriccò 
Committed: Wed May 4 15:34:12 2016 +0200

--
 .../syncope/client/enduser/SyncopeEnduserApplication.java| 8 
 .../syncope/client/enduser/resources/LoginResource.java  | 8 +++-
 .../META-INF/resources/app/js/services/authService.js| 2 +-
 client/enduser/src/main/resources/enduser.properties | 1 +
 core/spring/src/main/resources/security.properties   | 2 +-
 fit/enduser-reference/src/main/resources/enduser.properties  | 1 +
 6 files changed, 15 insertions(+), 7 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/94b6a75f/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java
--
diff --git 
a/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java
 
b/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java
index 75f758d..ca8f563 100644
--- 
a/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java
+++ 
b/client/enduser/src/main/java/org/apache/syncope/client/enduser/SyncopeEnduserApplication.java
@@ -76,6 +76,8 @@ public class SyncopeEnduserApplication extends WebApplication 
implements Seriali
 
 private String license;
 
+private String adminUser;
+
 private String anonymousUser;
 
 private String anonymousKey;
@@ -111,6 +113,8 @@ public class SyncopeEnduserApplication extends 
WebApplication implements Seriali
 Args.notNull(site, " not set");
 license = props.getProperty("license");
 Args.notNull(license, " not set");
+adminUser = props.getProperty("adminUser");
+Args.notNull(adminUser, " not set");
 anonymousUser = props.getProperty("anonymousUser");
 Args.notNull(anonymousUser, " not set");
 anonymousKey = props.getProperty("anonymousKey");
@@ -344,6 +348,10 @@ public class SyncopeEnduserApplication extends 
WebApplication implements Seriali
 return license;
 }
 
+public String getAdminUser() {
+return adminUser;
+}
+
 public String getAnonymousUser() {
 return anonymousUser;
 }

http://git-wip-us.apache.org/repos/asf/syncope/blob/94b6a75f/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/LoginResource.java
--
diff --git 
a/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/LoginResource.java
 
b/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/LoginResource.java
index db99669..bc8a08c 100644
--- 
a/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/LoginResource.java
+++ 
b/client/enduser/src/main/java/org/apache/syncope/client/enduser/resources/LoginResource.java
@@ -22,20 +22,17 @@ import java.io.IOException;
 import javax.servlet.http.HttpServletRequest;
 import javax.ws.rs.core.Response;
 import org.apache.commons.lang3.StringUtils;
+import org.apache.syncope.client.enduser.SyncopeEnduserApplication;
 import org.apache.syncope.client.enduser.model.Credentials;
 import org.apache.syncope.client.enduser.SyncopeEnduserSession;
 import org.apache.wicket.request.resource.AbstractResource;
 import org.apache.wicket.request.resource.IResource;
 import org.apache.wicket.util.io.IOUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 
 public class LoginResource extends AbstractBaseResource {
 
 private static final long serialVersionUID = -7720997467070461915L;
 
-private static final Logger LOG = 
LoggerFactory.getLogger(LoginResource.class);
-
 @Override
 protected ResourceResponse newResourceResponse(final IResource.Attributes 
attributes) {
 AbstractResource.ResourceResponse response = new 
AbstractResource.ResourceResponse();
@@ -60,7 +57,8 @@ public class LoginResource extends AbstractBaseResource {
 LOG.error("Could not read credentials from request: username 
is blank!");
 response.setError(Response.Status.BAD_REQUEST.getStatusCode(),
 "ErrorMessage{{ Could not read credentials from 
request: username is blank! 

syncope git commit: Using https for the KEYS file + all signatures/digests

2016-05-04 Thread coheigea
Repository: syncope
Updated Branches:
  refs/heads/master 2b0960de5 -> f323bf747


Using https for the KEYS file + all signatures/digests


Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/f323bf74
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/f323bf74
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/f323bf74

Branch: refs/heads/master
Commit: f323bf747e1a7edcad402e547e6c0ba8e244f5f3
Parents: 2b0960d
Author: Colm O hEigeartaigh 
Authored: Wed May 4 13:56:07 2016 +0100
Committer: Colm O hEigeartaigh 
Committed: Wed May 4 13:56:07 2016 +0100

--
 src/site/xdoc/downloads.xml | 74 
 1 file changed, 37 insertions(+), 37 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/syncope/blob/f323bf74/src/site/xdoc/downloads.xml
--
diff --git a/src/site/xdoc/downloads.xml b/src/site/xdoc/downloads.xml
index 3a1a915..e74445b 100644
--- a/src/site/xdoc/downloads.xml
+++ b/src/site/xdoc/downloads.xml
@@ -73,9 +73,9 @@ under the License.
 http://www.apache.org/dyn/closer.lua/syncope/2.0.0-M2/syncope-2.0.0-M2-source-release.zip";>syncope-2.0.0-M2-source-release.zip
   
   
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-2.0.0-M2-source-release.zip.asc";>asc
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-2.0.0-M2-source-release.zip.md5";>md5
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-2.0.0-M2-source-release.zip.sha1";>sha1
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-2.0.0-M2-source-release.zip.asc";>asc
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-2.0.0-M2-source-release.zip.md5";>md5
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-2.0.0-M2-source-release.zip.sha1";>sha1
   
 
 
@@ -83,9 +83,9 @@ under the License.
 http://www.apache.org/dyn/closer.lua/syncope/2.0.0-M2/syncope-standalone-2.0.0-M2-distribution.zip";>syncope-standalone-2.0.0-M2-distribution.zip
   
   
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-standalone-2.0.0-M2-distribution.zip.asc";>asc
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-standalone-2.0.0-M2-distribution.zip.md5";>md5
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-standalone-2.0.0-M2-distribution.zip.sha1";>sha1
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-standalone-2.0.0-M2-distribution.zip.asc";>asc
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-standalone-2.0.0-M2-distribution.zip.md5";>md5
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-standalone-2.0.0-M2-distribution.zip.sha1";>sha1
   
 
 
@@ -93,9 +93,9 @@ under the License.
 http://www.apache.org/dyn/closer.lua/syncope/2.0.0-M2/syncope-installer-2.0.0-M2-uber.jar";>syncope-installer-2.0.0-M2.jar
   
   
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-installer-2.0.0-M2-uber.jar.asc";>asc
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-installer-2.0.0-M2-uber.jar.md5";>md5
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-installer-2.0.0-M2-uber.jar.sha1";>sha1
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-installer-2.0.0-M2-uber.jar.asc";>asc
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-installer-2.0.0-M2-uber.jar.md5";>md5
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-installer-2.0.0-M2-uber.jar.sha1";>sha1
   
 
 
@@ -103,9 +103,9 @@ under the License.
 http://www.apache.org/dyn/closer.lua/syncope/2.0.0-M2/syncope-client-cli-2.0.0-M2.zip";>syncope-client-cli-2.0.0-M2.zip
   
   
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-client-cli-2.0.0-M2.zip.asc";>asc
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-client-cli-2.0.0-M2.zip.md5";>md5
 
-http://www.apache.org/dist/syncope/2.0.0-M2/syncope-client-cli-2.0.0-M2.zip.sha1";>sha1
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-client-cli-2.0.0-M2.zip.asc";>asc
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-client-cli-2.0.0-M2.zip.md5";>md5
 
+https://www.apache.org/dist/syncope/2.0.0-M2/syncope-client-cli-2.0.0-M2.zip.sha1";>sha1
   
 
 
@@ -113,9 +113,9 @@ under the License.
 http: