1 16 17 package org.apache.jetspeed.services.security; 18 19 import org.apache.jetspeed.om.security.JetspeedUser; 21 import org.apache.jetspeed.om.profile.Entry; 22 import org.apache.jetspeed.portal.Portlet; 23 import org.apache.jetspeed.services.security.PortalResource; 24 25 import org.apache.turbine.services.Service; 27 28 38 39 public interface PortalAccessController extends Service 40 { 41 public String SERVICE_NAME = "PortalAccessController"; 42 43 54 public boolean checkPermission(JetspeedUser user, Entry entry, String action); 55 56 68 public boolean checkPermission(JetspeedUser user, Entry entry, String action, String owner); 69 70 83 public boolean checkPermission(JetspeedUser user, Portlet portlet, String action); 84 85 97 public boolean checkPermission(JetspeedUser user, Portlet portlet, String action, String owner); 98 99 110 public boolean checkPermission(JetspeedUser user, PortalResource resource, String action); 111 } 112 113 114 115 | Popular Tags |