01: /*
02: * Licensed to the Apache Software Foundation (ASF) under one or more
03: * contributor license agreements. See the NOTICE file distributed with
04: * this work for additional information regarding copyright ownership.
05: * The ASF licenses this file to You under the Apache License, Version 2.0
06: * (the "License"); you may not use this file except in compliance with
07: * the License. You may obtain a copy of the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * 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 and
15: * limitations under the License.
16: */
17: package org.apache.jetspeed.portlets.security;
18:
19: /**
20: * Common resources used by Security Portlets
21: *
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: */
25: public interface SecurityResources {
26: public final static String CURRENT_USER = "current_user";
27: public final static String PAM_CURRENT_USER = "org.apache.jetspeed.pam.user";
28: public final static String REQUEST_SELECT_USER = "select_user";
29:
30: public final static String PORTLET_URL = "portlet_url";
31: public final static String REQUEST_SELECT_PORTLET = "select_portlet";
32: public final static String REQUEST_SELECT_TAB = "selected_tab";
33: public final static String PORTLET_ACTION = "portlet_action";
34:
35: // Message Topics
36: public final static String TOPIC_USERS = "users";
37: public final static String TOPIC_USER = "user";
38: public final static String TOPIC_GROUPS = "groups";
39: public final static String TOPIC_GROUP = "group";
40: public final static String TOPIC_ROLES = "roles";
41: public final static String TOPIC_ROLE = "role";
42: public final static String TOPIC_PROFILES = "profiles";
43:
44: /** Messages **/
45: public static final String MESSAGE_SELECTED = "selected";
46: public static final String MESSAGE_CHANGED = "changed";
47: public static final String MESSAGE_STATUS = "status";
48: public static final String MESSAGE_REFRESH = "refresh";
49: public static final String MESSAGE_FILTERED = "filtered";
50: public static final String MESSAGE_REFRESH_PROFILES = "refresh.profiles";
51: public static final String MESSAGE_REFRESH_ROLES = "refresh.roles";
52: public static final String MESSAGE_REFRESH_GROUPS = "refresh.groups";
53: public static final String MESSAGE_REFRESH_SUBSITES = "refresh.subsites";
54:
55: /** the selected non-leaf node in the tree view */
56: public final static String REQUEST_NODE = "node";
57: /** the selected leaf node in the tree view */
58: public final static String REQUEST_SELECT_NODE = "select_node";
59:
60: /** The Error Messages KEY */
61: public static final String ERROR_MESSAGES = "errorMessages";
62:
63: }
|