com.bea.netuix.application.manager.entitlements
Class PortalEntitlementResource
java.lang.Object
|
+--weblogic.security.service.ResourceBase
|
+--com.bea.p13n.entitlements.resource.P13nResource
|
+--com.bea.netuix.application.manager.entitlements.PortalEntitlementResource
- All Implemented Interfaces:
- Resource, SelfDescribingResource, Serializable
- public class PortalEntitlementResource
- extends P13nResource
PortalEntitlementResource
- See Also:
- Serialized Form
Constructor Summary |
PortalEntitlementResource(String entAppName,
String webAppName,
String resourceType,
String resourceId,
String capability)
Construct a resource whose role policies are scoped at a
single leaf node. |
PortalEntitlementResource(String entAppName,
String webAppName,
String resourceType,
String resourceId,
String capability,
int resourceScope)
Construct a resource whose role policies are scoped at a
single leaf node, and whose security policies follow the 2 tier
desktop/library inheritance scheme. |
Methods inherited from class com.bea.p13n.entitlements.resource.P13nResource |
getCapabilityName, getEntAppName, getKeys, getResourceName, getSecurityResource, getType, getWebAppName, makeParent, setInitialValues, setSecurityResource, toString |
Methods inherited from class weblogic.security.service.ResourceBase |
appendArrayValue, appendValue, equals, getFieldType, getID, getParentResource, getRepeatingFieldIndex, getRepeatingFieldTerminatingIndex, getValues, hashCode, init, init, reset, writeResourceString |
DESKTOP_RESOURCE_TYPE
public static final String DESKTOP_RESOURCE_TYPE
- See Also:
- Constant Field Values
BOOK_RESOURCE_TYPE
public static final String BOOK_RESOURCE_TYPE
- See Also:
- Constant Field Values
PAGE_RESOURCE_TYPE
public static final String PAGE_RESOURCE_TYPE
- See Also:
- Constant Field Values
PORTLET_RESOURCE_TYPE
public static final String PORTLET_RESOURCE_TYPE
- See Also:
- Constant Field Values
PORTLET_CATEGORY_RESOURCE_TYPE
public static final String PORTLET_CATEGORY_RESOURCE_TYPE
- See Also:
- Constant Field Values
PORTAL_RESOURCE_TYPE
public static final String PORTAL_RESOURCE_TYPE
- See Also:
- Constant Field Values
MENU_RESOURCE_TYPE
public static final String MENU_RESOURCE_TYPE
- See Also:
- Constant Field Values
LAYOUT_RESOURCE_TYPE
public static final String LAYOUT_RESOURCE_TYPE
- See Also:
- Constant Field Values
LOOK_AND_FEEL_RESOURCE_TYPE
public static final String LOOK_AND_FEEL_RESOURCE_TYPE
- See Also:
- Constant Field Values
PLACEHOLDER_RESOURCE_TYPE
public static final String PLACEHOLDER_RESOURCE_TYPE
- See Also:
- Constant Field Values
SHELL_RESOURCE_TYPE
public static final String SHELL_RESOURCE_TYPE
- See Also:
- Constant Field Values
THEME_RESOURCE_TYPE
public static final String THEME_RESOURCE_TYPE
- See Also:
- Constant Field Values
MARKUP_RESOURCE_TYPE
public static final String MARKUP_RESOURCE_TYPE
- See Also:
- Constant Field Values
PortalEntitlementResource
public PortalEntitlementResource(String entAppName,
String webAppName,
String resourceType,
String resourceId,
String capability,
int resourceScope)
Construct a resource whose role policies are scoped at a
single leaf node, and whose security policies follow the 2 tier
desktop/library inheritance scheme.
- Parameters:
entAppName
- Enterprise application namewebAppName
- Webapp nameresourceId
- Application-defined resource taxonomy Idcapability
- Optional application-defined capability to
evaluate. If no capability name is specified, a policy with no capability
name will be used if found.resourceScope
- scope of this resource EntitlementConstants
PortalEntitlementResource
public PortalEntitlementResource(String entAppName,
String webAppName,
String resourceType,
String resourceId,
String capability)
Construct a resource whose role policies are scoped at a
single leaf node. The policy location and resource scope
default to EntitlementConstants.P13N_ADMIN_ROLE_POLICY_POOL
and EntitlementConstants.HIERARCHICAL_ROLE_INHERITANCE
respectively.
- Parameters:
entAppName
- Enterprise application namewebAppName
- Webapp nameresourceId
- Application-defined resource taxonomy Idcapability
- Optional application-defined capability to
evaluate. If no capability name is specified, a policy with no capability
name will be used if found.
getResourceScope
public final int getResourceScope()
Return the resource type of this class.
- Specified by:
getResourceScope
in class P13nResource
- Returns:
- the resource scope. See
EntitlementConstants
for legal
values of resourceScope.
Copyright © 2003 BEA Systems, Inc. All Rights Reserved