From: Olivier Lamy Date: Thu, 22 Nov 2012 14:45:45 +0000 (+0000) Subject: use non deprecated variable X-Git-Tag: redback-2.1~266 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f49dfbd78c46df34a9954015b03370ed07a9a809;p=archiva.git use non deprecated variable git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412567 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/LockedAdminEnvironmentCheck.java b/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/LockedAdminEnvironmentCheck.java index 92780995e..3e9b881c1 100644 --- a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/LockedAdminEnvironmentCheck.java +++ b/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/checks/security/LockedAdminEnvironmentCheck.java @@ -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 roles = new ArrayList(); - roles.add( RoleConstants.SYSTEM_ADMINISTRATOR_ROLE ); + roles.add( RedbackRoleConstants.SYSTEM_ADMINISTRATOR_ROLE ); List systemAdminstrators; try