|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@ControlInterface
public interface DelegationServiceControl
| Method Summary | |
|---|---|
boolean |
canDelegate(String roleTaxonomy, ResourceContext context)Determines if the DA role can delegate further and manage or not. |
boolean |
getParentInheritanceFlag(ResourceContext context)Method used to determine if a role has implicitly granted the capabilities of a sub-role to its parent role |
SortableFilterablePagedResult<String> |
getResourceIdsOnRoot(String root, int pageSize, ResourceContext context)Returns all the resourceIds that the currently logged in user tests true for that contain the following root String. |
boolean |
isAccessAllowed(String webApp, String resourceId, String capability, ResourceContext context)Runtime method used to determine if the currently logged in user will be allowed access to the particular resource. |
void |
setParentInheritanceFlag(boolean flag, ResourceContext context)Method used to set whether a role has implicitly granted the capabilities of a sub-role to its parent role |
| Method Detail |
|---|
boolean isAccessAllowed(String webApp,
String resourceId,
String capability,
ResourceContext context)
webApp - Webapp of resourceresourceId - The resource in question.capability - The capability granted for this resource.context - The resource contexttrue for grant and false for deny.boolean getParentInheritanceFlag(ResourceContext context)
context - The resource contexttrue if set and false if not.
void setParentInheritanceFlag(boolean flag,
ResourceContext context)
flag - The boolean value to set.context - The resource context
SortableFilterablePagedResult<String> getResourceIdsOnRoot(String root,
int pageSize,
ResourceContext context)
throws com.bea.p13n.entitlements.common.PolicyRefException
root - The root string to start from.pageSize - the number of results to return per page of the returned PagedResult.context - The resource contextArrayListcom.bea.p13n.entitlements.common.PolicyRefException
boolean canDelegate(String roleTaxonomy,
ResourceContext context)
roleTaxonomy - Taxonomy of the role (with the complete lineage)context - The resource context
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.