]> source.dussan.org Git - archiva.git/blob
22bf63611302073b9e952b30bfe2d5ac9336a03b
[archiva.git] /
1 package org.apache.archiva.redback.integration.role;
2
3 /*
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
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
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
19  * under the License.
20  */
21
22 import org.apache.archiva.redback.integration.security.role.RedbackRoleConstants;
23
24 /**
25  * RoleConstants:
26  *
27  * @author: Jesse McConnell <jesse@codehaus.org>
28  *
29  * @deprecated use {@link RedbackRoleConstants}
30  */
31 public class RoleConstants
32 {
33     public static final String ADMINISTRATOR_ACCOUNT_NAME = RedbackRoleConstants.ADMINISTRATOR_ACCOUNT_NAME;
34
35     // roles
36     public static final String SYSTEM_ADMINISTRATOR_ROLE = RedbackRoleConstants.SYSTEM_ADMINISTRATOR_ROLE;
37
38     public static final String USER_ADMINISTRATOR_ROLE = RedbackRoleConstants.USER_ADMINISTRATOR_ROLE;
39
40     public static final String REGISTERED_USER_ROLE = RedbackRoleConstants.REGISTERED_USER_ROLE;
41
42     public static final String GUEST_ROLE = RedbackRoleConstants.GUEST_ROLE;
43
44     // guest access operation
45     public static final String GUEST_ACCESS_OPERATION = RedbackRoleConstants.GUEST_ACCESS_OPERATION;
46
47     // operations against configuration
48     public static final String CONFIGURATION_EDIT_OPERATION = RedbackRoleConstants.CONFIGURATION_EDIT_OPERATION;
49
50     // operations against user
51     public static final String USER_MANAGEMENT_USER_CREATE_OPERATION =
52         RedbackRoleConstants.USER_MANAGEMENT_USER_CREATE_OPERATION;
53
54     public static final String USER_MANAGEMENT_USER_EDIT_OPERATION =
55         RedbackRoleConstants.USER_MANAGEMENT_USER_EDIT_OPERATION;
56
57     public static final String USER_MANAGEMENT_USER_ROLE_OPERATION =
58         RedbackRoleConstants.USER_MANAGEMENT_USER_ROLE_OPERATION;
59
60     public static final String USER_MANAGEMENT_USER_DELETE_OPERATION =
61         RedbackRoleConstants.USER_MANAGEMENT_USER_DELETE_OPERATION;
62
63     public static final String USER_MANAGEMENT_USER_LIST_OPERATION =
64         RedbackRoleConstants.USER_MANAGEMENT_USER_LIST_OPERATION;
65
66     // operations against user assignment.
67     public static final String USER_MANAGEMENT_ROLE_GRANT_OPERATION =
68         RedbackRoleConstants.USER_MANAGEMENT_ROLE_GRANT_OPERATION;
69
70     public static final String USER_MANAGEMENT_ROLE_DROP_OPERATION =
71         RedbackRoleConstants.USER_MANAGEMENT_ROLE_DROP_OPERATION;
72
73     // operations against rbac objects.
74     public static final String USER_MANAGEMENT_RBAC_ADMIN_OPERATION =
75         RedbackRoleConstants.USER_MANAGEMENT_RBAC_ADMIN_OPERATION;
76
77     public static final String USER_MANAGEMENT_MANAGE_DATA = RedbackRoleConstants.USER_MANAGEMENT_MANAGE_DATA;
78 }