|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The PortalAccessController
interface defines a contract between
the portal and security provider required for authorization to portal-secure areas.
This interface enables an application to be independent of the underlying
authorization technology.
Field Summary | |
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
boolean |
checkPermission(JetspeedUser user,
Entry entry,
java.lang.String action)
Given a JetspeedUser , authorize that user to perform the secured action on
the given Portlet Instance (Entry ) resource. |
boolean |
checkPermission(JetspeedUser user,
Entry entry,
java.lang.String action,
java.lang.String owner)
Given a JetspeedUser , authorize that user to perform the secured action on
the given Portlet Instance (Entry ) resource. |
boolean |
checkPermission(JetspeedUser user,
PortalResource resource,
java.lang.String action)
Given a JetspeedUser , authorize that user to perform the secured action on
the given resource. |
boolean |
checkPermission(JetspeedUser user,
Portlet portlet,
java.lang.String action)
Given a JetspeedUser , authorize that user to perform the secured action on
the given Portlet resource. |
boolean |
checkPermission(JetspeedUser user,
Portlet portlet,
java.lang.String action,
java.lang.String owner)
Given a JetspeedUser , authorize that user to perform the secured action on
the given Portlet resource. |
Methods inherited from interface org.apache.turbine.services.Service |
getConfiguration, getName, getProperties, setName, setServiceBroker |
Methods inherited from interface org.apache.turbine.services.Initable |
getInit, init, init, setInitableBroker, shutdown |
Field Detail |
public static final java.lang.String SERVICE_NAME
Method Detail |
public boolean checkPermission(JetspeedUser user, Entry entry, java.lang.String action)
JetspeedUser
, authorize that user to perform the secured action on
the given Portlet Instance (Entry
) resource. If the user does not have
sufficient privilege to perform the action on the resource, the check returns false,
otherwise when sufficient privilege is present, checkPermission returns true.
user
- the user to be checked.entry
- the portlet instance resource.action
- the secured action to be performed on the resource by the user.
public boolean checkPermission(JetspeedUser user, Entry entry, java.lang.String action, java.lang.String owner)
JetspeedUser
, authorize that user to perform the secured action on
the given Portlet Instance (Entry
) resource. If the user does not have
sufficient privilege to perform the action on the resource, the check returns false,
otherwise when sufficient privilege is present, checkPermission returns true.
user
- the user to be checked.entry
- the portlet instance resource.action
- the secured action to be performed on the resource by the user.owner
- of the entry, i.e. the username
public boolean checkPermission(JetspeedUser user, Portlet portlet, java.lang.String action)
JetspeedUser
, authorize that user to perform the secured action on
the given Portlet
resource. If the user does not have
sufficient privilege to perform the action on the resource, the check returns false,
otherwise when sufficient privilege is present, checkPermission returns true.
user
- the user to be checked.portlet
- the portlet resource.action
- the secured action to be performed on the resource by the user.
public boolean checkPermission(JetspeedUser user, Portlet portlet, java.lang.String action, java.lang.String owner)
JetspeedUser
, authorize that user to perform the secured action on
the given Portlet
resource. If the user does not have
sufficient privilege to perform the action on the resource, the check returns false,
otherwise when sufficient privilege is present, checkPermission returns true.
user
- the user to be checked.portlet
- the portlet resource.action
- the secured action to be performed on the resource by the user.owner
- of the portlet, i.e. the username
public boolean checkPermission(JetspeedUser user, PortalResource resource, java.lang.String action)
JetspeedUser
, authorize that user to perform the secured action on
the given resource. If the user does not have
sufficient privilege to perform the action on the resource, the check returns false,
otherwise when sufficient privilege is present, checkPermission returns true.
user
- the user to be checked.resource
- requesting an actionaction
- the secured action to be performed on the resource by the user.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |