1/*2 * Licensed to the Apache Software Foundation (ASF) under one or more3 * contributor license agreements. See the NOTICE file distributed with4 * this work for additional information regarding copyright ownership.5 * The ASF licenses this file to You under the Apache License, Version 2.06 * (the "License"); you may not use this file except in compliance with7 * the License. You may obtain a copy of the License at8 * 9 * http://www.apache.org/licenses/LICENSE-2.010 * 11 * Unless required by applicable law or agreed to in writing, software12 * distributed under the License is distributed on an "AS IS" BASIS,13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.14 * See the License for the specific language governing permissions and15 * limitations under the License.16 */17packageorg.apache.jetspeed.portlets.security;
1819/***20 * Common resources used by Security Portlets21 *22 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>23 * @version $Id: SecurityResources.java 348264 2005-11-22 22:06:45Z taylor $24 */25publicinterfaceSecurityResources26 {
27publicfinalstatic String CURRENT_USER = "current_user";
28publicfinalstatic String PAM_CURRENT_USER = "org.apache.jetspeed.pam.user";
29publicfinalstatic String REQUEST_SELECT_USER = "select_user";
3031publicfinalstatic String PORTLET_URL = "portlet_url";
32publicfinalstatic String REQUEST_SELECT_PORTLET = "select_portlet";
33publicfinalstatic String REQUEST_SELECT_TAB = "selected_tab";
34publicfinalstatic String PORTLET_ACTION = "portlet_action";
3536// Message Topics37publicfinalstatic String TOPIC_USERS = "users";
38publicfinalstatic String TOPIC_USER = "user";
39publicfinalstatic String TOPIC_GROUPS = "groups";
40publicfinalstatic String TOPIC_GROUP = "group";
41publicfinalstatic String TOPIC_ROLES = "roles";
42publicfinalstatic String TOPIC_ROLE = "role";
43publicfinalstatic String TOPIC_PROFILES = "profiles";
4445/*** Messages **/46publicstaticfinal String MESSAGE_SELECTED = "selected";
47publicstaticfinal String MESSAGE_CHANGED = "changed";
48publicstaticfinal String MESSAGE_STATUS = "status";
49publicstaticfinal String MESSAGE_REFRESH = "refresh";
50publicstaticfinal String MESSAGE_FILTERED = "filtered";
51publicstaticfinal String MESSAGE_REFRESH_PROFILES = "refresh.profiles";
52publicstaticfinal String MESSAGE_REFRESH_ROLES = "refresh.roles";
53publicstaticfinal String MESSAGE_REFRESH_GROUPS = "refresh.groups";
54publicstaticfinal String MESSAGE_REFRESH_SUBSITES = "refresh.subsites";
5556/*** the selected non-leaf node in the tree view */57publicfinalstatic String REQUEST_NODE = "node";
58/*** the selected leaf node in the tree view */59publicfinalstatic String REQUEST_SELECT_NODE = "select_node";
6061/*** The Error Messages KEY */62publicstaticfinal String ERROR_MESSAGES = "errorMessages";
6364 }