From f49dfbd78c46df34a9954015b03370ed07a9a809 Mon Sep 17 00:00:00 2001 From: Olivier Lamy Date: Thu, 22 Nov 2012 14:45:45 +0000 Subject: [PATCH] use non deprecated variable git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412567 13f79535-47bb-0310-9956-ffa450edef68 --- .../checks/security/LockedAdminEnvironmentCheck.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 92780995..3e9b881c 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