syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject syncope git commit: [SYNCOPE-1318] Fix build on 2_0_X
Date Tue, 29 May 2018 10:39:46 GMT
Repository: syncope
Updated Branches:
  refs/heads/2_0_X 18407d37a -> b526c1e15


[SYNCOPE-1318] Fix build on 2_0_X


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

Branch: refs/heads/2_0_X
Commit: b526c1e1511b1676776a27fbbafb133f507598bc
Parents: 18407d3
Author: Francesco Chicchiriccò <ilgrosso@apache.org>
Authored: Tue May 29 12:39:40 2018 +0200
Committer: Francesco Chicchiriccò <ilgrosso@apache.org>
Committed: Tue May 29 12:39:40 2018 +0200

----------------------------------------------------------------------
 .../apache/syncope/client/console/SyncopeConsoleApplication.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/syncope/blob/b526c1e1/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 cd9cb25..eeaf602 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
@@ -193,7 +193,7 @@ public class SyncopeConsoleApplication extends AuthenticatedWebApplication
{
         ClassPathScanImplementationLookup lookup = (ClassPathScanImplementationLookup) getServletContext().
                 getAttribute(ConsoleInitializer.CLASSPATH_LOOKUP);
         for (Class<? extends BasePage> clazz : lookup.getPageClasses()) {
-            MetaDataRoleAuthorizationStrategy.authorize(clazz, SyncopeConsoleSession.AUTHENTICATED);
+            MetaDataRoleAuthorizationStrategy.authorize(clazz, Constants.ROLE_AUTHENTICATED);
         }
 
         getMarkupSettings().setStripWicketTags(true);


Mime
View raw message