]> source.dussan.org Git - archiva.git/commitdiff
use non deprecated variable
authorOlivier Lamy <olamy@apache.org>
Thu, 22 Nov 2012 14:45:45 +0000 (14:45 +0000)
committerOlivier Lamy <olamy@apache.org>
Thu, 22 Nov 2012 14:45:45 +0000 (14:45 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412567 13f79535-47bb-0310-9956-ffa450edef68

redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/LockedAdminEnvironmentCheck.java

index 92780995e7637802e96c88556be5cf95952c4d25..3e9b881c173f3b646077072152a2a9632670fe4d 100644 (file)
@@ -19,14 +19,14 @@ package org.apache.archiva.redback.integration.checks.security;
  * under the License.
  */
 
-import org.apache.archiva.redback.rbac.RbacManagerException;
-import org.apache.archiva.redback.system.check.EnvironmentCheck;
-import org.apache.archiva.redback.users.UserNotFoundException;
+import org.apache.archiva.redback.integration.security.role.RedbackRoleConstants;
 import org.apache.archiva.redback.rbac.RBACManager;
+import org.apache.archiva.redback.rbac.RbacManagerException;
 import org.apache.archiva.redback.rbac.UserAssignment;
+import org.apache.archiva.redback.system.check.EnvironmentCheck;
 import org.apache.archiva.redback.users.User;
 import org.apache.archiva.redback.users.UserManager;
-import org.apache.archiva.redback.integration.role.RoleConstants;
+import org.apache.archiva.redback.users.UserNotFoundException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 import org.springframework.stereotype.Service;
@@ -74,7 +74,7 @@ public class LockedAdminEnvironmentCheck
         if ( !checked && !userManager.isReadOnly() )
         {
             List<String> roles = new ArrayList<String>();
-            roles.add( RoleConstants.SYSTEM_ADMINISTRATOR_ROLE );
+            roles.add( RedbackRoleConstants.SYSTEM_ADMINISTRATOR_ROLE );
 
             List<UserAssignment> systemAdminstrators;
             try