1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.om.registry;
18
19 /***
20 * Interface for manipulatin the access rights on the registry entries
21 *
22 *
23 * @author <a href="mailto:raphael@apache.org">Raphaël Luta</a>
24 * @version $Id: Security.java,v 1.3 2004/02/23 03:11:39 jford Exp $
25 */
26 public interface Security
27 {
28
29 /*** @return the role name that is required for accessing this entry */
30 public String getRole();
31
32 /*** Sets the role name required for accessing this entry
33 * @param role the required role name
34 */
35 public void setRole( String role );
36
37 }