From: Olivier Lamy Date: Thu, 22 Nov 2012 14:54:29 +0000 (+0000) Subject: remove not anymore used class X-Git-Tag: redback-2.1~265 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b9ab27cd41c59f159117917dda6356256a9bfd1e;p=archiva.git remove not anymore used class git-svn-id: https://svn.apache.org/repos/asf/archiva/redback/redback-core/trunk@1412571 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/role/RoleConstants.java b/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/role/RoleConstants.java deleted file mode 100644 index 22bf63611..000000000 --- a/redback-integrations/redback-common-integrations/src/main/java/org/apache/archiva/redback/integration/role/RoleConstants.java +++ /dev/null @@ -1,78 +0,0 @@ -package org.apache.archiva.redback.integration.role; - -/* - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ - -import org.apache.archiva.redback.integration.security.role.RedbackRoleConstants; - -/** - * RoleConstants: - * - * @author: Jesse McConnell - * - * @deprecated use {@link RedbackRoleConstants} - */ -public class RoleConstants -{ - public static final String ADMINISTRATOR_ACCOUNT_NAME = RedbackRoleConstants.ADMINISTRATOR_ACCOUNT_NAME; - - // roles - public static final String SYSTEM_ADMINISTRATOR_ROLE = RedbackRoleConstants.SYSTEM_ADMINISTRATOR_ROLE; - - public static final String USER_ADMINISTRATOR_ROLE = RedbackRoleConstants.USER_ADMINISTRATOR_ROLE; - - public static final String REGISTERED_USER_ROLE = RedbackRoleConstants.REGISTERED_USER_ROLE; - - public static final String GUEST_ROLE = RedbackRoleConstants.GUEST_ROLE; - - // guest access operation - public static final String GUEST_ACCESS_OPERATION = RedbackRoleConstants.GUEST_ACCESS_OPERATION; - - // operations against configuration - public static final String CONFIGURATION_EDIT_OPERATION = RedbackRoleConstants.CONFIGURATION_EDIT_OPERATION; - - // operations against user - public static final String USER_MANAGEMENT_USER_CREATE_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_USER_CREATE_OPERATION; - - public static final String USER_MANAGEMENT_USER_EDIT_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION; - - public static final String USER_MANAGEMENT_USER_ROLE_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_USER_ROLE_OPERATION; - - public static final String USER_MANAGEMENT_USER_DELETE_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_USER_DELETE_OPERATION; - - public static final String USER_MANAGEMENT_USER_LIST_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_USER_LIST_OPERATION; - - // operations against user assignment. - public static final String USER_MANAGEMENT_ROLE_GRANT_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_ROLE_GRANT_OPERATION; - - public static final String USER_MANAGEMENT_ROLE_DROP_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_ROLE_DROP_OPERATION; - - // operations against rbac objects. - public static final String USER_MANAGEMENT_RBAC_ADMIN_OPERATION = - RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION; - - public static final String USER_MANAGEMENT_MANAGE_DATA = RedbackRoleConstants.USER_MANAGEMENT_MANAGE_DATA; -}