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.
void
init(javax.servlet.ServletConfig conf)
This is the early initialization method called by the
Turbine Service framework
Methods inherited from class org.apache.turbine.services.TurbineBaseService
init, init, init, shutdown
Methods inherited from class org.apache.turbine.services.BaseService
Methods inherited from interface org.apache.turbine.services.Initable
getInit, init, init, setInitableBroker, shutdown
Constructor Detail
NoSecurityAccessController
public NoSecurityAccessController()
Method Detail
checkPermission
public final 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. 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.
action - the secured action to be performed on the resource by the user.
Returns:
boolean true if the user has sufficient privilege.
checkPermission
public final 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. 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.
action - the secured action to be performed on the resource by the user.
owner - of the entry, i.e. the username
Returns:
boolean true if the user has sufficient privilege.
checkPermission
public final 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. 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.
action - the secured action to be performed on the resource by the user.
Returns:
boolean true if the user has sufficient privilege.
checkPermission
public final 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. 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.
action - the secured action to be performed on the resource by the user.
owner - of the entry, i.e. the username
Returns:
boolean true if the user has sufficient privilege.
checkPermission
public final 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. 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.