Repository: syncope Updated Branches: refs/heads/SYNCOPE-652 93b2e3847 -> a6cf6a68f
Cleanup Project: http://git-wip-us.apache.org/repos/asf/syncope/repo Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/ef4069a9 Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/ef4069a9 Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/ef4069a9 Branch: refs/heads/SYNCOPE-652 Commit: ef4069a9adc0c47d1f29da6b1a700b59488761e2 Parents: 93b2e38 Author: Francesco Chicchiriccò <[email protected]> Authored: Fri Jul 17 12:07:31 2015 +0200 Committer: Francesco Chicchiriccò <[email protected]> Committed: Fri Jul 17 12:07:31 2015 +0200 ---------------------------------------------------------------------- .../org/apache/syncope/core/misc/security/AuthContextUtils.java | 1 - .../org/apache/syncope/core/persistence/jpa/inner/UserTest.java | 4 ---- 2 files changed, 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/syncope/blob/ef4069a9/core/misc/src/main/java/org/apache/syncope/core/misc/security/AuthContextUtils.java ---------------------------------------------------------------------- diff --git a/core/misc/src/main/java/org/apache/syncope/core/misc/security/AuthContextUtils.java b/core/misc/src/main/java/org/apache/syncope/core/misc/security/AuthContextUtils.java index 980201a..932627d 100644 --- a/core/misc/src/main/java/org/apache/syncope/core/misc/security/AuthContextUtils.java +++ b/core/misc/src/main/java/org/apache/syncope/core/misc/security/AuthContextUtils.java @@ -69,7 +69,6 @@ public final class AuthContextUtils { public static String getDomain() { Authentication auth = SecurityContextHolder.getContext().getAuthentication(); - String domainKey = auth != null && auth.getDetails() instanceof SyncopeAuthenticationDetails ? SyncopeAuthenticationDetails.class.cast(auth.getDetails()).getDomain() : null; http://git-wip-us.apache.org/repos/asf/syncope/blob/ef4069a9/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/UserTest.java ---------------------------------------------------------------------- diff --git a/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/UserTest.java b/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/UserTest.java index 1077239..a709638 100644 --- a/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/UserTest.java +++ b/core/persistence-jpa/src/test/java/org/apache/syncope/core/persistence/jpa/inner/UserTest.java @@ -70,10 +70,6 @@ public class UserTest extends AbstractTest { List<User> list = userDAO.findAll(SyncopeConstants.FULL_ADMIN_REALMS, 1, 2); assertEquals("did not get expected number of users", 2, list.size()); - System.out.println("SSSSSSSSSSSSSSSSSS\n" + userDAO.findAll(SyncopeConstants.FULL_ADMIN_REALMS, -1, -1)); - System.out.println("SSSSSSSSSSSSSSSSSS\n" + userDAO.findAll(SyncopeConstants.FULL_ADMIN_REALMS, 1,2)); - System.out.println("SSSSSSSSSSSSSSSSSS\n" + userDAO.findAll(SyncopeConstants.FULL_ADMIN_REALMS, 2,2)); - // get second page list = userDAO.findAll(SyncopeConstants.FULL_ADMIN_REALMS, 2, 2); assertEquals("did not get expected number of users", 2, list.size());
