public class SharedAccessPolicy extends DirectoryObject
SharedAccessPolicyEntity.getMemberships() and SharedAccessPolicyEntity.getEntitlements() instead.| Modifier and Type | Field and Description |
|---|---|
static int |
ONELEVEL_SCOPE
scope of the same level as the target
|
static java.lang.String |
POLICY_ATTR_DESCRIPTION
String constant for description attribute name
|
static java.lang.String |
POLICY_ATTR_ENABLED
String constant for enabled attribute name
|
static java.lang.String |
POLICY_ATTR_NAME
String constant for name attribute name
|
static java.lang.String |
POLICY_ATTR_PARENT_CONTAINER
String constant for organizational container name
|
static java.lang.String |
POLICY_ATTR_SCOPE
String constant for the scope attribute name
|
static java.lang.String |
POLICY_ATTR_URI
String constant for URI attribute name
|
static java.lang.String |
PROFILE_NAME
The profile name for shared access policy
|
static java.lang.String |
SHARED_ACCESS_POLICY_ATTR_ENTITLEMENT
String constant for the entitlement attribute name
|
static java.lang.String |
SHARED_ACCESS_POLICY_ATTR_MEMBERSHIP
String constant for the membership attribute name
|
static int |
SUBTREE_SCOPE
scope of the same level as the target or sub tree level if found
|
ATTR_ACCESS_RIGHT, ATTR_LIFECYCLE_ENABLE, ATTR_URI, DESCRIPTION, NAME| Constructor and Description |
|---|
SharedAccessPolicy()
The default constructor.
|
SharedAccessPolicy(AttributeValues attrs)
Constructs object with attribute information.
|
SharedAccessPolicy(DirectoryObject dirObj)
Copy constructor for directory object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object policy)
Compares the object passed in with itself.
|
java.lang.String |
getDescription()
Returns the value of the description attribute.
|
long |
getID()
Returns the value of the erglobalid attribute.
|
java.lang.String |
getName()
Returns the value of the name attribute.
|
DistinguishedName |
getParentDN()
Returns the organizational container DN.
|
int |
getScope()
Returns the value of the scope attribute.
|
int |
hashCode()
Returns a hash value that can be used in hash tables.
|
boolean |
isEnabled()
Returns the value of the enabled attribute.
|
void |
setDescription(java.lang.String aDescription)
Sets the value of the description attribute.
|
void |
setEnabled(boolean enabled)
Sets the value of the enabled attribute.
|
void |
setName(java.lang.String aName)
Sets the value of the name attribute.
|
void |
setScope(int scope)
Sets the value of the scope attribute.
|
addAttribute, addAttributeValues, getAccessRights, getAttribute, getAttributes, getAuthorizationOwners, getMapAttributeNames, getMappedAttributes, getNameAttribute, getOldMappedAttributes, getProfileName, getRawAttributes, getSortValue, getTenantDN, isLifecycleDefined, removeAttribute, removeAttribute, setAccessRights, setAttribute, setAttributes, setAuthorizationOwners, setProfileName, setTenantDN, toStringclearChange, clearChanges, getChanges, getDistinguishedName, getLastModified, getObjectClasses, getOldAttributes, setDistinguishedNamepublic static final java.lang.String PROFILE_NAME
public static java.lang.String POLICY_ATTR_PARENT_CONTAINER
public static final java.lang.String POLICY_ATTR_NAME
public static final java.lang.String POLICY_ATTR_DESCRIPTION
public static final java.lang.String POLICY_ATTR_URI
public static final java.lang.String POLICY_ATTR_ENABLED
public static final java.lang.String POLICY_ATTR_SCOPE
public static final java.lang.String SHARED_ACCESS_POLICY_ATTR_MEMBERSHIP
public static final java.lang.String SHARED_ACCESS_POLICY_ATTR_ENTITLEMENT
public static final int ONELEVEL_SCOPE
public static final int SUBTREE_SCOPE
public SharedAccessPolicy()
public SharedAccessPolicy(AttributeValues attrs)
attrs - AttributeValues holding the attributes of the role.public SharedAccessPolicy(DirectoryObject dirObj)
public long getID()
public java.lang.String getName()
getName in class DirectoryObjectpublic void setName(java.lang.String aName)
aName - the new value of the name attribute.public java.lang.String getDescription()
public void setDescription(java.lang.String aDescription)
aDescription - the new value of the Description attributepublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - the new boolean value of the Enabled attribute.public int getScope()
public void setScope(int scope)
scope - The new value of the scope attribute, must be ONELEVEL_SCOPE or SUBTREE_SCOPE.public DistinguishedName getParentDN()
public boolean equals(java.lang.Object policy)
equals in class java.lang.Objectpolicy - The object to be comparedpublic int hashCode()
hashCode in class java.lang.ObjectIBM Security Identity Manager 6.0.0
© Copyright International Business Machines Corporation 2007, 2012. All rights reserved. US Government Users Restricited Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.