1 package org.apache.archiva.redback.integration.role;
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements. See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership. The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License. You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied. See the License for the
18 * specific language governing permissions and limitations
22 import org.apache.archiva.redback.integration.security.role.RedbackRoleConstants;
27 * @author: Jesse McConnell <jesse@codehaus.org>
29 * @deprecated use {@link RedbackRoleConstants}
31 public class RoleConstants
33 public static final String ADMINISTRATOR_ACCOUNT_NAME = RedbackRoleConstants.ADMINISTRATOR_ACCOUNT_NAME;
36 public static final String SYSTEM_ADMINISTRATOR_ROLE = RedbackRoleConstants.SYSTEM_ADMINISTRATOR_ROLE;
38 public static final String USER_ADMINISTRATOR_ROLE = RedbackRoleConstants.USER_ADMINISTRATOR_ROLE;
40 public static final String REGISTERED_USER_ROLE = RedbackRoleConstants.REGISTERED_USER_ROLE;
42 public static final String GUEST_ROLE = RedbackRoleConstants.GUEST_ROLE;
44 // guest access operation
45 public static final String GUEST_ACCESS_OPERATION = RedbackRoleConstants.GUEST_ACCESS_OPERATION;
47 // operations against configuration
48 public static final String CONFIGURATION_EDIT_OPERATION = RedbackRoleConstants.CONFIGURATION_EDIT_OPERATION;
50 // operations against user
51 public static final String USER_MANAGEMENT_USER_CREATE_OPERATION =
52 RedbackRoleConstants.USER_MANAGEMENT_USER_CREATE_OPERATION;
54 public static final String USER_MANAGEMENT_USER_EDIT_OPERATION =
55 RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION;
57 public static final String USER_MANAGEMENT_USER_ROLE_OPERATION =
58 RedbackRoleConstants.USER_MANAGEMENT_USER_ROLE_OPERATION;
60 public static final String USER_MANAGEMENT_USER_DELETE_OPERATION =
61 RedbackRoleConstants.USER_MANAGEMENT_USER_DELETE_OPERATION;
63 public static final String USER_MANAGEMENT_USER_LIST_OPERATION =
64 RedbackRoleConstants.USER_MANAGEMENT_USER_LIST_OPERATION;
66 // operations against user assignment.
67 public static final String USER_MANAGEMENT_ROLE_GRANT_OPERATION =
68 RedbackRoleConstants.USER_MANAGEMENT_ROLE_GRANT_OPERATION;
70 public static final String USER_MANAGEMENT_ROLE_DROP_OPERATION =
71 RedbackRoleConstants.USER_MANAGEMENT_ROLE_DROP_OPERATION;
73 // operations against rbac objects.
74 public static final String USER_MANAGEMENT_RBAC_ADMIN_OPERATION =
75 RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION;
77 public static final String USER_MANAGEMENT_MANAGE_DATA = RedbackRoleConstants.USER_MANAGEMENT_MANAGE_DATA;