|
SiteMinder Java SDK r12.51 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netegrity.sdk.policyapi.SmObjectImpl
com.netegrity.sdk.policyapi.SmDomainObjectImpl
com.netegrity.sdk.policyapi.SmUserPolicy
public final class SmUserPolicy
Represents a SiteMinder User Policy.
This object has domain scope.
| Field Summary | |
|---|---|
static int |
DIRECTORY_CLASS
Constant to indicate that the policy object is located in the specified directory. |
static int |
DN_ATTRIBUTE_CLASS
Constant to indicate that the policy object is policy-related to any DN matching the specified filter. |
static int |
GROUP_ATTRIBUTE_CLASS
Constant to indicate that the policy object is policy-related to a "group"-like DN matching the specified filter. |
static int |
GROUP_CLASS
Constant to indicate that the policy object is a member (directly, or indirectly through another group) of the specified user group object. |
static int |
ORG_ATTRIBUTE_CLASS
Constant to indicate that the policy object is policy-related to a "org"-like DN matching the specified filter. |
static int |
ORG_CLASS
Constant to indicate that the policy object is a member (directly or indirectly through another organization) of the specified organization object (this supports organizations and organization units). |
static java.lang.String |
PropFilterClass
Constant to indicate the property Filter Class. |
static java.lang.String |
PropFilterPath
Constant to indicate the property Filter Path (searchable). |
static java.lang.String |
PropPolicy
Constant to indicate the property Policy (searchable). |
static java.lang.String |
PropPolicyFlags
Constant to indicate the property Flags. |
static java.lang.String |
PropPolicyResolution
Constant to indicate the property Policy Resolution. |
static java.lang.String |
PropUserDirectory
Constant to indicate the property User Directory (searchable). |
static int |
QUERY_CLASS
Constant to indicate that the policy object is contained in the result set of a directory-specific query. |
static int |
ROLE_CLASS
Constant to indicate that the policy object is the occupant of the specified role. |
static int |
UNKNOWN_CLASS
Constant to indicate that the policy resolution is unknown. |
static int |
USER_ATTRIBUTE_CLASS
Constant to indicate that the policy object matches the specified filter (user scope). |
static int |
USER_CLASS
Constant to indicate that the policy object is the specified user object. |
| Fields inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
PropObjectClassName |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmDomainObject |
|---|
PropDomain |
| Fields inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
ConfigurationClassName, PropDesc, PropName, PropOid |
| Constructor Summary | |
|---|---|
SmUserPolicy()
Constructs the user policy object. |
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns null for user policy objects. |
java.lang.String |
getFilterClass()
Gets the filter class of the user policy. |
java.lang.String |
getFilterPath()
Gets the filter path of the user policy. |
java.lang.String |
getName()
Returns null for user policy objects. |
SmObjId |
getPolicy()
Gets the object identifier of the policy associated with the user policy. |
int |
getPolicyFlags()
Gets a bitmask that determines policy behavior regarding user exclusion and recursive policies. |
int |
getPolicyResolution()
Gets the policy resolution of the object. |
SmObjId |
getUserDirectory()
Gets the object identifier of the user directory associated with the user policy. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setDescription(java.lang.String description)
Sets the description of the object to null. |
void |
setFilterClass(java.lang.String filterClass)
Sets the filter class of the user policy. |
void |
setFilterPath(java.lang.String filterPath)
Sets the filter path of the user policy. |
void |
setName(java.lang.String name)
Sets the name of the object to null. |
void |
setPolicy(java.lang.Object policy)
Sets the object identifier of the policy associated with the user policy. |
void |
setPolicyFlags(int policyFlags)
Sets a bitmask that determines policy behavior regarding user exclusion and recursive policies. |
void |
setPolicyResolution(int policyResolution)
Set the policy resolution of the user policy. |
void |
setUserDirectory(java.lang.Object userDirectory)
Sets the object identifier of the user directory associated with the user policy. |
java.lang.String |
toString()
Returns the filter path of the user policy. |
void |
writeProperties(java.util.Hashtable properties)
Copies the object properties to the specified hashtable. |
| Methods inherited from class com.netegrity.sdk.policyapi.SmDomainObjectImpl |
|---|
getDomain, getDomainName, isDomainObject, isWriteable, setDomain, setDomainName |
| Methods inherited from class com.netegrity.sdk.policyapi.SmObjectImpl |
|---|
getObjectClassname, getOid, newObject, setObjectClassname, setOid, setOid, writeSearchProperties |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.netegrity.sdk.policyapi.SmObject |
|---|
getObjectClassname, getOid, setObjectClassname, setOid, setOid, writeSearchProperties |
| Field Detail |
|---|
public static final java.lang.String PropUserDirectory
public static final java.lang.String PropPolicy
public static final java.lang.String PropFilterPath
public static final java.lang.String PropFilterClass
public static final java.lang.String PropPolicyResolution
public static final java.lang.String PropPolicyFlags
public static final int UNKNOWN_CLASS
public static final int USER_CLASS
public static final int GROUP_CLASS
public static final int USER_ATTRIBUTE_CLASS
public static final int ROLE_CLASS
public static final int ORG_CLASS
public static final int QUERY_CLASS
public static final int DIRECTORY_CLASS
public static final int GROUP_ATTRIBUTE_CLASS
public static final int ORG_ATTRIBUTE_CLASS
public static final int DN_ATTRIBUTE_CLASS
| Constructor Detail |
|---|
public SmUserPolicy()
| Method Detail |
|---|
public java.lang.String getName()
null for user policy objects. These objects don't have a name property.
getName in interface SmObjectgetName in class SmObjectImplnull.public void setName(java.lang.String name)
null. User policy objects
don't have a name property.
setName in interface SmObjectsetName in class SmObjectImplname - The name of the object.public void setDescription(java.lang.String description)
null. User policy objects
don't have a description property
setDescription in interface SmObjectsetDescription in class SmObjectImplname - The description of the object.public java.lang.String getDescription()
null for user policy objects.
These objects don't have a description property.
getDescription in interface SmObjectgetDescription in class SmObjectImplnull.public java.lang.String toString()
toString in interface SmObjecttoString in class SmObjectImplpublic java.lang.String getFilterPath()
public void setFilterPath(java.lang.String filterPath)
filterPath - The filter path of the user policy.public java.lang.String getFilterClass()
public void setFilterClass(java.lang.String filterClass)
filterClass - The filter class of the user policy.public int getPolicyResolution()
UNKNOWN_CLASS= 0USER_CLASS= 1GROUP_CLASS= 2USER_ATTRIBUTE_CLASS= 3ROLE_CLASS= 4ORG_CLASS= 5QUERY_CLASS= 6DIRECTORY_CLASS= 7GROUP_ATTRIBUTE_CLASS= 8ORG_ATTRIBUTE_CLASS= 9DN_ATTRIBUTE_CLASS= 10
public void setPolicyResolution(int policyResolution)
policyResolution - One of the following values:UNKNOWN_CLASS= 0USER_CLASS= 1GROUP_CLASS= 2USER_ATTRIBUTE_CLASS= 3ROLE_CLASS= 4ORG_CLASS= 5QUERY_CLASS= 6DIRECTORY_CLASS= 7GROUP_ATTRIBUTE_CLASS= 8ORG_ATTRIBUTE_CLASS= 9DN_ATTRIBUTE_CLASS= 10
public int getPolicyFlags()
0x01 determines whether the user policy excludes
users rather than includes them, as follows:
0x01. Policy behavior exclude mask.
0x00. Policy behavior does not exclude users.
0x01. Policy behavior excludes users.
0x02 determines whether the user policy is
recursive -- for example, whether nested groups should be supported:
0x02. Policy behavior recursive mask.
0x00. Policy behavior is not recursive.
0x02. Policy behavior is recursive.
0x04 determines whether the user policies in the
user directory are in AND relationship -- for example, whether
AND user policies should be supported.
0x04. Policy behavior with AND user policies
relationship.
0x00. Policy behavior does not have AND
relationship between user policies.
0x04. Policy behavior does have AND relationship
between user policies.
public void setPolicyFlags(int policyFlags)
0x01 determines whether the user policy excludes
users rather than includes them, as follows:
0x01. Policy behavior exclude mask.
0x00. Policy behavior does not exclude users.
0x01. Policy behavior excludes users.
0x02 determines whether the user policy is
recursive -- for example, whether nested groups should be supported:
0x02. Policy behavior recursive mask.
0x00. Policy behavior is not recursive.
0x02. Policy behavior is recursive.
0x04 determines whether the user policies in the
user directory are in AND relationship -- for example, whether
AND user policies should be supported.
0x04. Policy behavior with AND user policies
relationship.
0x00. Policy behavior does not have AND
relationship between user policies.
0x04. Policy behavior does have AND relationship
between user policies.
policy - flags User policy flags.public SmObjId getUserDirectory()
public void setUserDirectory(java.lang.Object userDirectory)
userDirectory - The object identifier of the associated user directory.public SmObjId getPolicy()
public void setPolicy(java.lang.Object policy)
policy - The object identifier of the associated policy.public void writeProperties(java.util.Hashtable properties)
SmObject
writeProperties in interface SmObjectwriteProperties in class SmDomainObjectImplproperties - The hashtable where the object properties will be
copied.public void readProperties(java.util.Hashtable properties)
SmObject
readProperties in interface SmObjectreadProperties in class SmDomainObjectImplproperties - The new properties of the object.
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||