|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bea.p13n.entitlements.policy.PolicyItem com.bea.p13n.entitlements.policy.SecurityPolicyItem
public class SecurityPolicyItem
This class encapsulates the information comprising a single Security Policy. It is used to collect and hold security policy attributes during the process of building and managing security policies.
The SecurityPolicyManager is used for persistence related operations upon SecurityPolicyItems.
Constructor Summary | |
---|---|
SecurityPolicyItem()
This no-args constructor allows a SecurityPolicyItem to be created and initialized piecemeal by an application. |
|
SecurityPolicyItem(String aEntAppName,
String aWebAppName,
String aResourceId,
List aUserList,
List aGroupList,
List aRoleList,
String aCapability,
P13nContextHandler aContextHandler)
Initialize a new security policy. |
Method Summary | |
---|---|
Object |
clone()
Clone |
String |
getCapability()
Returns the optional capability name used to identify this security policy. |
List |
getRoleList()
Returns the list of roles used within this security policy. |
void |
setCapability(String aCapabilityName)
Sets the optional capability name used to identify this security policy. |
void |
setRoleList(List aRoleList)
Sets the list of roles used within this security policy. |
Methods inherited from class com.bea.p13n.entitlements.policy.PolicyItem |
---|
getContextHandler, getCreatedDate, getDescription, getEntAppName, getGroupList, getModifiedDate, getPolicyUser, getProviderDescription, getResourceId, getUserList, getWebAppName, setContextHandler, setDescription, setEntAppName, setGroupList, setPolicyUser, setProviderDescription, setResourceId, setUserList, setWebAppName |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SecurityPolicyItem()
public SecurityPolicyItem(String aEntAppName, String aWebAppName, String aResourceId, List aUserList, List aGroupList, List aRoleList, String aCapability, P13nContextHandler aContextHandler)
aEntAppName
- Enterprise application name. Unused for Global app role scopingaWebAppName
- Webapp name. Unused for Global or Enterprise app role scopingaResourceId
- Application defined resource IDaUserList
- Optional list of user names for the role policyaGroupList
- Optional list of group names for the role policyaRoleList
- Optional list of role names for the role policy. A role
name must refer to the name of a role policy.aCapability
- Optional application-defined capability name for this
policy. If no capability name is specified, the policy will be applied to
all access requests for the given resource.aContextHandler
- The caller's user profile context. Required if
(the admin role policy) user's role is predicated on profile values.Method Detail |
---|
public void setRoleList(List aRoleList)
public List getRoleList()
public void setCapability(String aCapabilityName)
public String getCapability()
public Object clone() throws CloneNotSupportedException
clone
in class PolicyItem
CloneNotSupportedException
|
Copyright © 2000, 2008, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |