1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.services.security;
18
19 import org.apache.turbine.util.RunData;
20 import org.apache.jetspeed.portal.Portlet;
21 import org.apache.jetspeed.om.registry.RegistryEntry;
22
23 /***
24 * <P>Interface defines access control methods specific to Jetspeed for
25 * accessing portal resources such as portlets and panes</P>
26 *
27 * @see org.apache.jetspeed.services.security.JetspeedSecurityService
28 * @author <a href="mailto:david@bluesunrise.com">David Sean Taylor</a>
29 * @version $Id: AccessControl.java,v 1.6 2004/02/23 03:58:11 jford Exp $
30 */
31
32 public interface AccessControl {
33
34 boolean checkPermission(RunData runData, String permission, Portlet portlet);
35 boolean checkPermission(RunData runData, String action, RegistryEntry entry);
36 boolean checkPermission(String user, String action, Portlet portlet);
37
38
39
40
41 }