|
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.SmPolicy
public class SmPolicy
Represents a SiteMinder Policy object.
This object has domain scope.
| Field Summary | |
|---|---|
static java.lang.String |
PropActiveExpr
Constant to indicate the property Active Expression. |
static java.lang.String |
PropEnable
Constant to indicate the property Enable. |
static java.lang.String |
PropIPAddress
Constant to indicate the property Internet Address. |
static java.lang.String |
PropPolicyLinks
Constant to indicate the property Policy Link. |
static java.lang.String |
PropTime
Constant to indicate the property Time. |
static java.lang.String |
PropUserPolicies
Constant to indicate the property User Policy. |
static java.lang.String |
PropVariableExpr
Constant to indicate the property Variable Expression. |
| 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 | |
|---|---|
SmPolicy()
Constructs a Policy object. |
|
SmPolicy(java.lang.String name)
Constructs a Policy object with the specified name. |
|
| Method Summary | |
|---|---|
java.lang.String |
getActiveExpression()
Gets the active expression associated with the policy. |
boolean |
getEnabled()
Checks whether the policy is enabled. |
java.util.Vector |
getIPRestriction()
Gets the Internet address restriction on the policy. |
SmTime |
getTime()
Gets any time restriction on the policy. |
java.lang.String |
getVariableExpr()
Gets the variable expression associated with the policy. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setActiveExpression(java.lang.String szActiveExpr)
Sets the active expression for the policy. |
void |
setEnabled(boolean enable)
Enables the policy. |
void |
setIPRestriction(java.util.Vector ipRestriction)
Sets the Internet address restriction on the policy. |
void |
setTime(SmTime timeRestriction)
Sets a time restriction on the policy. |
void |
setVariableExpr(java.lang.String szVariableExpr)
Creating Variable Expression in a Policy is not supported as of now. |
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 |
|---|
getDescription, getName, getObjectClassname, getOid, newObject, setDescription, setName, setObjectClassname, setOid, setOid, toString, 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 |
|---|
getDescription, getName, getObjectClassname, getOid, setDescription, setName, setObjectClassname, setOid, setOid, toString, writeSearchProperties |
| Field Detail |
|---|
public static final java.lang.String PropActiveExpr
public static final java.lang.String PropTime
public static final java.lang.String PropPolicyLinks
public static final java.lang.String PropUserPolicies
public static final java.lang.String PropEnable
public static final java.lang.String PropIPAddress
public static final java.lang.String PropVariableExpr
| Constructor Detail |
|---|
public SmPolicy()
public SmPolicy(java.lang.String name)
name - Name of the Policy.| Method Detail |
|---|
public java.lang.String getActiveExpression()
setActiveExpression().
public void setActiveExpression(java.lang.String szActiveExpr)
<@lib="LibName" func="FuncName" param="FuncParam"@>LibName is the name of the shared library that supports the
active policy.
FuncName is the name of the function in the shared library
that implements the active policy.FuncParam is an optional list of parameters to be passed to
the function in the shared library.
public void setIPRestriction(java.util.Vector ipRestriction)
ipRestriction - List of SmIPAddress restrictions.
public java.util.Vector getIPRestriction()
throws SmApiException
SmIPAddress restrictions.
SmApiExceptionpublic void setTime(SmTime timeRestriction)
timeRestriction - The time restriction.public SmTime getTime()
public boolean getEnabled()
true if the policy is enabled.
false otherwise.public void setEnabled(boolean enable)
enable - If true the policy is enabled.
false otherwise.public java.lang.String getVariableExpr()
setVariableExpression().
public void setVariableExpr(java.lang.String szVariableExpr)
szVariableExpr - String representing variable expression.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 | ||||||||