|
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.SmRealm
public class SmRealm
Represents a SiteMinder Realm object.
This object has domain scope.
| Field Summary | |
|---|---|
static java.lang.String |
PropAgent
Constant to indicate the property Agent (searchable). |
static java.lang.String |
PropAgentType
Constant to indicate the property Agent Type (searchable). |
static java.lang.String |
PropAzUserDirOid
Constant to indicate the property Authorization Directory Object Identifier (searchable). |
static java.lang.String |
PropIdleTimeout
Constant to indicate the property Idle Timeout. |
static java.lang.String |
PropMaxTimeout
Constant to indicate the property Maximum Timeout. |
static java.lang.String |
PropParentRealmOid
Constant to indicate the property Parent Realm Object Identifier (searchable). |
static java.lang.String |
PropPersistentSessionType
Constant to indicate the property Persistent SessionType. |
static java.lang.String |
PropProcessAuthEvents
Constant to indicate the property Process Authentication Events. |
static java.lang.String |
PropProcessAzEvents
Constant to indicate the property Process Authorization Events. |
static java.lang.String |
PropProtectAll
Constant to indicate the property Protect All. |
static java.lang.String |
PropResourceFilter
Constant to indicate the property Resource Filter. |
static java.lang.String |
PropScheme
Constant to indicate the property Authentication Scheme (searchable). |
static java.lang.String |
PropSelfRegOid
Constant to indicate the property Self Registration Object Identifier (searchable). |
static java.lang.String |
PropSessionDrift
Constant to indicate the property Session Drift. |
static java.lang.String |
PropSyncAudit
Constant to indicate the property Synchronous Audit. |
| 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 | |
|---|---|
SmRealm()
Constructs a Realm object. |
|
SmRealm(java.lang.String szName)
Constructs a Realm object with the specified name. |
|
| Method Summary | |
|---|---|
SmObjId |
getAgent()
Gets the Object identifier of the agent or the agent group associated with the realm. |
SmObjId |
getAgentType()
Gets the Object identifier of the agent type. |
SmObjId |
getAzUserDirOid()
Gets the Object identifier of the directory where users accessing resources in this realm will be authorized. |
int |
getIdleTimeout()
Gets the amount of time a user can remain authenticated for the protected resources in the realm without interacting with the resources. |
int |
getMaxTimeout()
Gets the maximum amount of time a user can access the protected resources in the realm before the user must re-authenticate. |
SmObjId |
getParentRealmOid()
Gets the Object identifier of the parent realm where this realm will be added. |
int |
getPersistentSessionType()
Finds out whether realm uses standard sessions or persistent sessions. |
boolean |
getProcessAuthEvents()
Finds out whether the rule is triggered when an authentication attempt occurs. |
boolean |
getProcessAzEvents()
Finds out whether the rule is triggered when an authorization attempt occurs. |
boolean |
getProtectAll()
Finds out whether all the resources in the new realm are protected. |
java.lang.String |
getResourceFilter()
Gets the path of the resource filter. |
SmObjId |
getScheme()
Gets the Object identifier of the authentication scheme associated with the realm. |
SmObjId |
getSelfRegOid()
Gets the Object identifier of the registration scheme that registers new users accessing resources in this realm. |
int |
getSessionDrift()
Gets the specified value which determines the maximum period between agent calls to the Policy Server to validate a session. |
boolean |
getSyncAudit()
Finds out whether synchronous auditing is enabled. |
void |
readProperties(java.util.Hashtable properties)
Copies the object properties from the specified hashtable. |
void |
setAgent(java.lang.Object agent)
Sets the Object identifier of the agent or the agent group associated with the realm. |
void |
setAgentType(java.lang.Object agentType)
Sets the Object identifier of the agent type. |
void |
setAzUserDirOid(java.lang.Object azUserDirOid)
Set the Object identifier of the directory where users accessing resources in this realm will be authorized. |
void |
setIdleTimeout(int idleTimeout)
Sets the amount of time a user can remain authenticated for the protected resources in the realm without interacting with the resources. |
void |
setMaxTimeout(int maxTimeout)
Sets the maximum amount of time a user can access the protected resources in the realm before the user must re-authenticate. |
void |
setParentRealmOid(java.lang.Object parentRealmOid)
Sets the Object identifier of the parent realm where this realm will be added. |
void |
setPersistentSessionType(int nPersistentSessionType)
Set whether realm should use standard sessions or persistent sessions. |
void |
setProcessAuthEvents(boolean processAuthEvents)
Specifies whether the rule is triggered when an authentication attempt occurs. |
void |
setProcessAzEvents(boolean processAzEvents)
Specifies whether the rule is triggered when an authorization attempt occurs. |
void |
setProtectAll(boolean protectAll)
Specifies whether to protect all the resources in the new realm. |
void |
setResourceFilter(java.lang.String resourceFilter)
Sets the path of the resource filter. |
void |
setScheme(java.lang.Object scheme)
Sets the Object identifier of the authentication scheme associated with the realm. |
void |
setSelfRegOid(java.lang.Object selfRegOid)
Sets the Object identifier of the registration scheme that registers new users accessing resources in this realm. |
void |
setSessionDrift(int nSessionDrift)
Sets the value which determines the maximum period between agent calls to the Policy Server to validate a session. |
void |
setSyncAudit(boolean syncAudit)
Specifies whether to enable synchronous auditing. |
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 PropResourceFilter
public static final java.lang.String PropAgent
public static final java.lang.String PropAgentType
public static final java.lang.String PropScheme
public static final java.lang.String PropProcessAuthEvents
true. Note that
if this property is true but no policies are bound to
authentication events, a decrease in performance may result.
false.
public static final java.lang.String PropProcessAzEvents
true. Note that
if this property is true but no policies are bound to
authorization events, a decrease in performance may result.
false.
public static final java.lang.String PropProtectAll
public static final java.lang.String PropSelfRegOid
public static final java.lang.String PropAzUserDirOid
public static final java.lang.String PropMaxTimeout
public static final java.lang.String PropIdleTimeout
public static final java.lang.String PropParentRealmOid
public static final java.lang.String PropSyncAudit
public static final java.lang.String PropPersistentSessionType
public static final java.lang.String PropSessionDrift
| Constructor Detail |
|---|
public SmRealm()
public SmRealm(java.lang.String szName)
name - Name of the realm.| Method Detail |
|---|
public java.lang.String getResourceFilter()
public void setResourceFilter(java.lang.String resourceFilter)
resourceFilter - The path of the resource filter.public SmObjId getAgent()
public void setAgent(java.lang.Object agent)
agent - The Object identifier of the associated agent or the
agent group.public SmObjId getAgentType()
public void setAgentType(java.lang.Object agentType)
agentType - The Object identifier of the agent type.public SmObjId getScheme()
public void setScheme(java.lang.Object scheme)
scheme - Object identifier of the authentication scheme.public boolean getProcessAuthEvents()
true if the rule is triggered on an
authentication attempt. false otherwise.public void setProcessAuthEvents(boolean processAuthEvents)
processAuthEvents - true if the rule is triggered
on an authentication attempt. false otherwise.public boolean getProcessAzEvents()
true if the rule is triggered on an
authorization attempt. false otherwise.public void setProcessAzEvents(boolean processAzEvents)
processAzEvents - true if the rule is triggered on
an authorization attempt. false otherwise.public boolean getProtectAll()
true if all the resources in the new realm are
protected.
false otherwise.public void setProtectAll(boolean protectAll)
protectAll - true to protect all the resources in
the new realm. false otherwise.public SmObjId getSelfRegOid()
public void setSelfRegOid(java.lang.Object selfRegOid)
selfRegOid - The Object identifier of the registration scheme.public SmObjId getAzUserDirOid()
public void setAzUserDirOid(java.lang.Object azUserDirOid)
azUserDirOid - The Object identifier of the authorization
directory.public int getMaxTimeout()
public void setMaxTimeout(int maxTimeout)
maxTimeout - The time in seconds.public int getIdleTimeout()
public void setIdleTimeout(int idleTimeout)
idleTimeout - The time in seconds.public SmObjId getParentRealmOid()
public void setParentRealmOid(java.lang.Object parentRealmOid)
parentRealmOid - The Object identifier of the parent realm. If
the realm being added is the top realm in the realm
hierarchy, set this parameter to the Object identifier of the
domain.public boolean getSyncAudit()
true if synchronous auditing is enabled.
false otherwise.public void setSyncAudit(boolean syncAudit)
syncAudit - true if the synchronous auditing is
enabled. false otherwise.public int getPersistentSessionType()
1 if persistent session is selected
0 otherwise.public void setPersistentSessionType(int nPersistentSessionType)
nPersistentSessionType - 1 if persistent session is selected
0 otherwise.public int getSessionDrift()
public void setSessionDrift(int nSessionDrift)
nSessionDrift - if validation period should be enabled, specify the time period in seconds.
-1 otherwise.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 | ||||||||