You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by il...@apache.org on 2018/05/29 10:28:02 UTC
syncope git commit: [SYNCOPE-1318] Fix build on master
Repository: syncope
Updated Branches:
refs/heads/master d9c58a831 -> 65d63c3b4
[SYNCOPE-1318] Fix build on master
Project: http://git-wip-us.apache.org/repos/asf/syncope/repo
Commit: http://git-wip-us.apache.org/repos/asf/syncope/commit/65d63c3b
Tree: http://git-wip-us.apache.org/repos/asf/syncope/tree/65d63c3b
Diff: http://git-wip-us.apache.org/repos/asf/syncope/diff/65d63c3b
Branch: refs/heads/master
Commit: 65d63c3b4a467b11e9a4acddb3d9d45ae020b6fb
Parents: d9c58a8
Author: Francesco Chicchiriccò <il...@apache.org>
Authored: Tue May 29 12:27:54 2018 +0200
Committer: Francesco Chicchiriccò <il...@apache.org>
Committed: Tue May 29 12:27:54 2018 +0200
----------------------------------------------------------------------
.../apache/syncope/client/console/SyncopeConsoleApplication.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/syncope/blob/65d63c3b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
----------------------------------------------------------------------
diff --git a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
index 2359b73..288c130 100644
--- a/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
+++ b/client/console/src/main/java/org/apache/syncope/client/console/SyncopeConsoleApplication.java
@@ -35,6 +35,7 @@ import org.apache.commons.collections4.ListUtils;
import org.apache.commons.lang3.BooleanUtils;
import org.apache.commons.lang3.ClassUtils;
import org.apache.commons.lang3.StringUtils;
+import org.apache.syncope.client.console.commons.Constants;
import org.apache.syncope.client.console.init.ClassPathScanImplementationLookup;
import org.apache.syncope.client.console.init.ConsoleInitializer;
import org.apache.syncope.client.console.pages.BasePage;
@@ -190,7 +191,7 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication {
ClassPathScanImplementationLookup lookup = (ClassPathScanImplementationLookup) getServletContext().
getAttribute(ConsoleInitializer.CLASSPATH_LOOKUP);
lookup.getPageClasses().
- forEach(cls -> MetaDataRoleAuthorizationStrategy.authorize(cls, SyncopeConsoleSession.AUTHENTICATED));
+ forEach(cls -> MetaDataRoleAuthorizationStrategy.authorize(cls, Constants.ROLE_AUTHENTICATED));
getMarkupSettings().setStripWicketTags(true);
getMarkupSettings().setCompressWhitespace(true);