View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    * 
9    *      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  {
27      public final static String CURRENT_USER = "current_user";
28      public final static String PAM_CURRENT_USER = "org.apache.jetspeed.pam.user";
29      public final static String REQUEST_SELECT_USER = "select_user";    
30  
31      public final static String PORTLET_URL = "portlet_url";
32      public final static String REQUEST_SELECT_PORTLET = "select_portlet";
33      public final static String REQUEST_SELECT_TAB = "selected_tab";
34      public final static String PORTLET_ACTION = "portlet_action";
35      
36      // Message Topics
37      public final static String TOPIC_USERS = "users";
38      public final static String TOPIC_USER = "user";
39      public final static String TOPIC_GROUPS = "groups";
40      public final static String TOPIC_GROUP = "group";
41      public final static String TOPIC_ROLES = "roles";
42      public final static String TOPIC_ROLE = "role";    
43      public final static String TOPIC_PROFILES = "profiles";
44  
45      /*** Messages **/
46      public static final String MESSAGE_SELECTED = "selected";
47      public static final String MESSAGE_CHANGED = "changed";
48      public static final String MESSAGE_STATUS = "status";
49      public static final String MESSAGE_REFRESH = "refresh";
50      public static final String MESSAGE_FILTERED = "filtered";    
51      public static final String MESSAGE_REFRESH_PROFILES = "refresh.profiles";
52      public static final String MESSAGE_REFRESH_ROLES = "refresh.roles";
53      public static final String MESSAGE_REFRESH_GROUPS = "refresh.groups";
54      public static final String MESSAGE_REFRESH_SUBSITES = "refresh.subsites";    
55      
56      /*** the selected non-leaf node in the tree view */
57      public final static String REQUEST_NODE = "node";
58      /*** the selected leaf node in the tree view */
59      public final static String REQUEST_SELECT_NODE = "select_node";
60         
61      /*** The Error Messages KEY */
62      public static final String ERROR_MESSAGES = "errorMessages";
63      
64  }