|
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.SmPolicyApiImpl
public class SmPolicyApiImpl
This is the implementation class of the interface SmPolicyApi.
It provides all the Policy Management API calls.
| Field Summary |
|---|
| Fields inherited from interface com.netegrity.sdk.policyapi.SmPolicyApi |
|---|
SMPOLICYAPI_VERSION_20 |
| Constructor Summary | |
|---|---|
SmPolicyApiImpl(SmApiSession apiSession)
Constructs an SmPolicyApiImpl object with a specified session
(SmApiSession). |
|
SmPolicyApiImpl(SmApiSession apiSession,
int version)
Constructs an SmPolicyApiImpl object with a specified session
(SmApiSession) and Policy API version compliance level. |
|
| Method Summary | |
|---|---|
SmApiResult |
addAdmin(SmAdmin Admin)
Creates a SiteMinder Administrator. |
SmApiResult |
addAdminToDomain(java.lang.String szAdminName,
java.lang.String szDomainName)
Associates a SiteMinder Administrator with a domain. |
SmApiResult |
addAgent(SmAgent Agent)
Creates an Agent object. |
SmApiResult |
addAgentConfig(SmAgentConfig AgentConfig)
Creates an Agent Configuration object. |
SmApiResult |
addAgentType(SmAgentType agentType)
Creates an AgentType object. |
SmApiResult |
addAgentTypeAttr(SmAgentTypeAttr agentTypeAttr)
Creates an AgentTypeAttr object. |
SmApiResult |
addAuthAzMap(SmAuthAzMap authAzMap)
Adds an authentication and authorization directory mapping object. |
SmApiResult |
addAuthValidateMap(SmAuthValidateMap authValidateMap)
Adds an authentication and validation directory mapping object. |
SmApiResult |
addCertMap(SmCertMap certMap)
Adds a certificate mapping object. |
SmApiResult |
addDomain(SmDomain Domain)
Creates a domain. |
SmApiResult |
addGroup(java.lang.String szDomainName,
SmObject group)
Creates a new group of any type (rule, response, agent). |
SmApiResult |
addHostConfig(SmHostConfig HostConfig)
Creates a Host Configuration object. |
SmApiResult |
addODBCQuery(SmODBCQuery odbcQuery)
Adds an ODBC query. |
SmApiResult |
addPasswordPolicy(SmPasswordPolicy passwordPolicy)
Creates a password policy. |
SmApiResult |
addPolicy(SmPolicy policy)
Adds a policy . |
SmApiResult |
addPolicy(SmPolicy policy,
boolean bIsGlobal)
Adds a policy object. |
SmApiResult |
addPolicyLink(SmPolicyLink policyLink)
Adds a policy link to a policy. |
SmApiResult |
addPolicyLink(SmPolicyLink policyLink,
boolean bIsGlobal)
Adds a global PolicyLink if the boolean passed is true. |
SmApiResult |
addRealm(SmRealm realm)
Adds a realm and associates it with a domain. |
SmApiResult |
addRegularExpressionToPasswordPolicy(SmPwdPolicyRegularExpression regEx)
Adds the regular expression to password policy. |
SmApiResult |
addResponse(SmResponse response)
Creates a response and associates it with a domain. |
SmApiResult |
addResponse(SmResponse response,
boolean bIsGlobal)
Creates a global response if bIsGlobal is true |
SmApiResult |
addResponseAttr(SmResponseAttr responseAttr)
Creates a response attribute and associates it with a response. |
SmApiResult |
addResponseAttr(SmResponseAttr responseAttr,
boolean bIsGlobal)
Creates a global response attribute if bIsGlobal is true |
SmApiResult |
addRootConfig(SmRootConfig rootConfig)
Creates a root configuration. |
SmApiResult |
addRule(SmRule rule)
Adds a rule and associates it with the specified realm. |
SmApiResult |
addRule(SmRule Rule,
boolean bIsGlobal)
Adds a global rule if the boolean passed is true. |
SmApiResult |
addScheme(SmScheme Scheme)
Creates an authentication scheme. |
SmApiResult |
addSelfReg(SmSelfReg SelfReg)
Creates a self-registration object. |
SmApiResult |
addToGroup(int groupType,
java.lang.String szItemName,
java.lang.String szGroupName,
java.lang.String szDomainName)
Adds a group member of any type (rule, response, agent) to the specified group. |
SmApiResult |
addTrustedHost(SmTrustedHost TrustedHost)
Registers a trusted host with the Policy Server. |
SmApiResult |
addUserDirectory(SmUserDirectory UserDir)
Adds a user directory. |
SmApiResult |
addUserDirToDomain(java.lang.String szUserDirName,
java.lang.String szDomainName)
Associates a user directory with a domain. |
SmApiResult |
addUserPolicy(SmUserPolicy userPolicy)
Adds a user policy to a policy. |
SmApiResult |
addVariable(SmVariable variable)
Adds a variable . |
SmApiResult |
changeDynamicKey()
Changes a dynamic encryption key. |
SmApiResult |
changePersistentKey(java.lang.String persistentKey)
Changes a persistent encryption key. |
SmApiResult |
changeSessionKey(java.lang.String sessionKey)
Changes a session encryption key. |
SmApiResult |
changeSharedSecretKey()
Changes a shared secret encryption key. |
SmApiResult |
deleteAdmin(java.lang.String szAdminName)
Deletes a SiteMinder Administrator. |
SmApiResult |
deleteAgent(java.lang.String szAgentName)
Deletes an Agent object. |
SmApiResult |
deleteAgentConfig(java.lang.String szAgentConfigName)
Deletes an Agent Configuration object. |
SmApiResult |
deleteAgentType(java.lang.String szAgentTypeName)
Deletes an AgentType object. |
SmApiResult |
deleteAgentTypeAttr(java.lang.String szAgentTypeAttrName)
Deletes an AgentTypeAttr object. |
SmApiResult |
deleteAuthAzMap(SmObjId authAzMapId)
Deletes an authentication and authorization directory mapping object. |
SmApiResult |
deleteAuthValidateMap(SmObjId authValidateMapOid)
Deletes an authentication and validation directory mapping object. |
SmApiResult |
deleteCertMap(SmObjId certMapId)
Deletes a certificate mapping object. |
SmApiResult |
deleteDomain(java.lang.String szDomainName)
Deletes a domain. |
SmApiResult |
deleteGroup(int groupType,
java.lang.String szGroupName,
java.lang.String szDomainName)
Deletes a group of any type (rule, response, agent). |
SmApiResult |
deleteHostConfig(java.lang.String szHostConfigName)
Deletes a Host Configuration object. |
SmApiResult |
deleteODBCQuery(java.lang.String szODBCQueryName)
Deletes an ODBC query. |
SmApiResult |
deletePasswordPolicy(java.lang.String szPasswordPolicy)
Deletes a password policy. |
SmApiResult |
deletePolicy(SmPolicy policy)
Deletes a policy. |
SmApiResult |
deletePolicyLink(SmObjId policyLinkOid,
java.lang.String szDomainName)
Deletes a policy link. |
SmApiResult |
deleteRealm(SmRealm realm)
Deletes a realm. |
SmApiResult |
deleteResponse(SmResponse response)
Deletes a response. |
SmApiResult |
deleteResponseAttr(SmObjId responseAttrOid,
java.lang.String szDomainName)
Deletes a response attribute. |
SmApiResult |
deleteRootConfig(SmObjId rootConfigId)
Deletes a root configuration. |
SmApiResult |
deleteRule(SmRule rule)
Deletes a rule that is associated with the specified realm. |
SmApiResult |
deleteScheme(java.lang.String szSchemeName)
Deletes an authentication scheme. |
SmApiResult |
deleteSelfReg(java.lang.String szSelfRegName)
Deletes a self-registration object. |
SmApiResult |
deleteTrustedHost(java.lang.String szTrustedHostName)
Deletes a Trusted Host object. |
SmApiResult |
deleteUserDirectory(java.lang.String szUserDirName)
Deletes a user directory. |
SmApiResult |
deleteUserPolicy(SmObjId userPolicyOid,
java.lang.String szDomainName)
Deletes a user policy under a given domain. |
SmApiResult |
deleteVariable(SmVariable variable)
Deletes a Variable. |
SmApiResult |
doExport(SmExportAttr objExportAttr)
Exports policy data from a remote Policy Server. |
SmApiResult |
doImport(SmImportAttr objImportAttr)
Imports policy data stored on a local client into remote Policy Server. |
SmApiResult |
flushAll()
Flushes all SiteMinder caches. |
SmApiResult |
flushRealm(java.lang.String realmOid)
Flushes a realm from the resource cache. |
SmApiResult |
flushRealms()
Flushes all realms from the resource cache. |
SmApiResult |
flushUser(java.lang.String userDirectory,
java.lang.String userDn)
Flushes a user from the user information cache. |
SmApiResult |
flushUsers()
Flushs the user information cache. |
SmApiResult |
getAdmin(java.lang.String szAdminName,
SmAdmin Admin)
Gets the contents of a SiteMinder Administrator. |
SmApiResult |
getAdminDomains(java.lang.String szAdminName,
java.util.Vector adminDomains)
Gets the all UserDirectory which is added by Domain of the Administrator object |
SmApiResult |
getAdminUserDirs(java.lang.String adminName,
java.util.Vector userDirs)
Gets a list of user directories that an administrator can manage. |
SmApiResult |
getAgent(java.lang.String szAgentName,
SmAgent Agent)
Gets the contents of an Agent object. |
SmApiResult |
getAgentConfig(java.lang.String szAgentConfigName,
SmAgentConfig AgentConfig)
Gets the contents of an Agent Configuration object. |
SmApiResult |
getAgentType(java.lang.String szAgentTypeName,
SmAgentType agentType)
Gets the contents of an Agent Type object. |
SmApiResult |
getAgentTypeAttr(java.lang.String szAgentTypeAttr,
SmAgentTypeAttr AgentTypeAttr)
Gets the contents of an Agent Type object. |
SmApiResult |
getAgentTypeAttrs(java.lang.String szAgentTypeName,
java.util.Vector agentTypeAttrs)
Gets the Oids of all AgentTypeAttr objects of the specified Agent Type |
SmApiResult |
getAuthAzMap(SmObjId authAzMapId,
SmAuthAzMap authAzMap)
Gets the contents of an authentication and authorization directory mapping object. |
SmApiResult |
getAuthValidateMap(SmObjId authValidateMapOid,
SmAuthValidateMap authValidateMap)
Gets the contents of an authentication and validation directory mapping object. |
SmApiResult |
getCertMap(SmObjId certMapId,
SmCertMap certMap)
Gets the properties of a certificate mapping object. |
SmApiResult |
getChildren(java.lang.String szOid,
java.util.Vector Children)
Gets a list of OIDs of realms under a domain or gets the list of rules and realms under a realm |
SmApiResult |
getConfigObject(java.lang.String szObjName,
SmObject obj)
|
SmApiResult |
getDirectoryContents(java.lang.String userDirName,
java.util.Hashtable enumerateResult)
Enumerates a user directory. |
SmApiResult |
getDomain(java.lang.String szDomainName,
SmDomain Domain)
Gets the contents of a domain object. |
SmApiResult |
getDomainObject(java.lang.String szObjName,
java.lang.String szDomainName,
SmDomainObject obj)
Gets a domain object by name or object identifier (OID). |
SmApiResult |
getDomainObjectNames(java.lang.String propName,
java.lang.String domainName,
java.util.Vector ObjectNames)
Gets a list of domain objects within a domain. |
SmApiResult |
getDomainVariables(java.lang.String szDomainName,
java.util.Vector variables)
Gets the List of the variables present in a domain. |
SmApiResult |
getGlobalObjectNames(java.lang.String szPropName,
java.util.Vector ObjectNames)
Gets a list of global objects. |
SmApiResult |
getGroup(java.lang.String szGroupName,
java.lang.String szDomainName,
SmObject Group)
Gets the contents of a group of any type (rule, response, agent). |
SmApiResult |
getGroupMembers(int groupType,
java.lang.String szGroupName,
java.lang.String szDomainName,
java.util.Vector Names)
Gets a list of groups of any type (rule, response, and agent). |
SmApiResult |
getHostConfig(java.lang.String szHostConfigName,
SmHostConfig HostConfig)
Gets the contents of a Host Configuration object. |
SmApiResult |
getKeyManagement(java.lang.String szOid,
SmKeyManagement keyManagement)
Gets the contents of an SmKeyManagement object. |
SmApiResult |
getObject(java.lang.String szObjName,
SmObject obj)
Gets a global object by name or object identifier (OID). |
SmApiResult |
getODBCQuery(java.lang.String szODBCQuery,
SmODBCQuery odbcQuery)
Gets the contents of an ODBC query. |
SmApiResult |
getPasswordPolicy(java.lang.String szPasswordPolicy,
SmPasswordPolicy passwordPolicy)
Gets the contents of a password policy. |
SmApiResult |
getPasswordState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState passwordState)
Gets the password state of the user which includes login failures, disabled time, last login time, last password change and previous login time. |
SmApiResult |
getPolicy(java.lang.String szPolicyName,
java.lang.String szDomainName,
SmPolicy Policy)
Gets the contents of a policy. |
SmApiResult |
getPolicyLinks(java.lang.String szPolicyName,
java.lang.String szDomainName,
java.util.Vector PolicyLinks)
Returns all policy links for the specified policy and domain. |
SmApiResult |
getPolicyStoreVersion(java.lang.StringBuffer majorVersion,
java.lang.StringBuffer minorVersion,
java.lang.StringBuffer mode)
|
SmApiResult |
getRealm(java.lang.String szRealmName,
java.lang.String szDomainName,
SmRealm Realm)
Gets the contents of a realm. |
SmApiResult |
getRealmRealms(java.lang.String szRealmName,
java.lang.String szDomainName,
java.util.Vector Realms)
Returns all of the realms for the specified realm and domain. |
SmApiResult |
getRealmRules(java.lang.String szRealmName,
java.lang.String szDomainName,
java.util.Vector Rules)
Returns all of the rules for the specified realm and domain. |
SmApiResult |
getRealmUserPolicies(java.lang.String realmOID,
java.util.Vector UserPolicyOIDs)
Gets a list of user policies that can access a realm. |
SmApiResult |
getRegularExpressions(java.lang.String passwordPolicyName,
java.util.Vector regExps)
Gets the list of regular expression for a password policy object. |
SmApiResult |
getResponse(java.lang.String szResponseName,
java.lang.String szDomainName,
SmResponse Response)
Gets the contents of a response. |
SmApiResult |
getResponseAttrs(java.lang.String szResponseName,
java.lang.String szDomainName,
java.util.Map ResponseAttrs)
Gets a list of response attributes. |
SmApiResult |
getResponseAttrs(java.lang.String szResponseName,
java.lang.String szDomainName,
java.util.Vector ResponseAttrs)
Gets a list of response attributes that belong to a response. |
SmApiResult |
getRootConfig(SmObjId rootConfigId,
SmRootConfig rootConfig)
Gets the root configuration. |
SmApiResult |
getRule(java.lang.String szRuleName,
java.lang.String szRealmName,
java.lang.String szDomainName,
SmRule Rule)
Gets the contents of a rule that is associated with the specified realm. |
SmApiResult |
getScheme(java.lang.String szSchemeName,
SmScheme Scheme)
Gets the contents of an authentication scheme. |
SmApiResult |
getSelfReg(java.lang.String szSelfRegName,
SmSelfReg SelfReg)
Gets the contents of a self-registration object. |
SmApiResult |
getSharedSecretPolicy(java.lang.String szOid,
SmSharedSecretPolicy sharedSecretPolicy)
Gets the contents of an SmSharedSecretPolicy object. |
SmApiResult |
getUserContext(SmObjId dirOid,
java.lang.String userDn,
java.lang.String sessionId,
SmUserContext userContext)
Returns contextual information of a given user. |
SmApiResult |
getUserDirectory(java.lang.String szUserDirName,
SmUserDirectory UserDir)
Gets the contents of a user directory. |
SmApiResult |
getUserDirSearchOrder(java.lang.String szDomainName,
java.util.Vector DirectoryNames)
Retrieves the search order of user directories for a domain. |
SmApiResult |
getUserGroups(SmObjId dirOid,
java.lang.String userDn,
boolean recursive,
java.util.Vector groups)
Returns a list of groups that a user is a member of. |
SmApiResult |
getUserPolicies(java.lang.String szPolicyName,
java.lang.String szDomainName,
java.util.Vector UserPolicies)
Gets all user policies for a given policy. |
SmApiResult |
getUserState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState userState)
Gets the user state as enable/disable with the disabled reason for the disabled state, if disabled. |
SmApiResult |
getVariable(java.lang.String szVariableName,
java.lang.String szDomainName,
SmVariable variable)
Gets the contents of a Variable. |
SmApiResult |
getVariableType(java.lang.String szVariableType,
SmVariableType variableType)
Gets the contents of a VariableType. |
int |
getVersion()
Gets the Policy API version compliance level. |
SmApiResult |
holdUpdatesNotificationsProcessing()
Disable all SiteMinder cache updates This method disnables cache updates. |
boolean |
IsGroup(java.lang.String szOid)
Returns whether the OID passed is of an group or not. |
SmApiResult |
isUpdatesNotificationsProcessingOnHold(NotificationProcessingStatus processingOnHold)
Show all Siteminder cache updates status This method Shows cache update status. |
SmApiResult |
lookupDirectory(java.lang.String userDirName,
java.lang.String searchPattern,
java.util.Hashtable lookupResult)
Performs a user directory lookup. |
SmApiResult |
modifyAdmin(SmAdmin Admin)
Modifies a SiteMinder Administrator. |
SmApiResult |
modifyAgent(SmAgent Agent)
Modifies an Agent object. |
SmApiResult |
modifyAgentConfig(SmAgentConfig AgentConfig)
Modifies an Agent Configuration object. |
SmApiResult |
modifyAgentType(SmAgentType agentType)
Modifies an AgentType object. |
SmApiResult |
modifyAgentTypeAttr(SmAgentTypeAttr agentTypeAttr)
Modifies an AgentTypeAttr object. |
SmApiResult |
modifyAuthAzMap(SmAuthAzMap authAzMap)
Modifies an authentication and authorization directory mapping object. |
SmApiResult |
modifyAuthValidateMap(SmAuthValidateMap authValidateMap)
Modifies an authentication and validation directory mapping object. |
SmApiResult |
modifyCertMap(SmCertMap certMap)
Modifies a certificate mapping object. |
SmApiResult |
modifyDomain(SmDomain Domain)
Modifies a domain. |
SmApiResult |
modifyGroup(java.lang.String szDomainName,
SmObject group)
Modifies a group of any type (rule, response, agent). |
SmApiResult |
modifyHostConfig(SmHostConfig HostConfig)
Modifies a Host Configuration object. |
SmApiResult |
modifyKeyManagement(SmKeyManagement keyManagement)
Modifies an SmKeyManagement object. |
SmApiResult |
modifyODBCQuery(SmODBCQuery odbcQuery)
Modifies an ODBC query. |
SmApiResult |
modifyPasswordPolicy(SmPasswordPolicy passwordPolicy)
Modifies a password policy. |
SmApiResult |
modifyPolicy(SmPolicy policy)
Modifies a policy. |
SmApiResult |
modifyPolicyLink(SmPolicyLink policyLink)
Modifies a policy link. |
SmApiResult |
modifyRealm(SmRealm realm)
Modifies a realm. |
SmApiResult |
modifyResponse(SmResponse response)
Modifies a response. |
SmApiResult |
modifyResponseAttr(SmResponseAttr ResponseAttr)
Sets a response attribute |
SmApiResult |
modifyRootConfig(SmRootConfig rootConfig)
Modifies a root configuration. |
SmApiResult |
modifyRule(SmRule rule)
Modifies a rule that is associated with the specified realm. |
SmApiResult |
modifyScheme(SmScheme Scheme)
Modifies an authentication scheme. |
SmApiResult |
modifySelfReg(SmSelfReg SelfReg)
Modifies a self-registration object. |
SmApiResult |
modifySharedSecretPolicy(SmSharedSecretPolicy sharedSecretPolicy)
Modifies an SharedSecretPolicy object. |
SmApiResult |
modifyUserDirectory(SmUserDirectory UserDir)
Modifies a user directory. |
SmApiResult |
modifyVariable(SmVariable variable)
Modifies a variable with the properties of the variable being passed. |
SmApiResult |
removeAdminFromDomain(java.lang.String szAdminName,
java.lang.String szDomainName)
Disassociates a user directory from a domain. |
SmApiResult |
removeFromGroup(int groupType,
java.lang.String szItemName,
java.lang.String szGroupName,
java.lang.String szDomainName)
Removes a group member of any type (rule, response, agent) from the specified group. |
SmApiResult |
removeRegularExpressionFromPasswordPolicy(SmPwdPolicyRegularExpression regEx)
Removes the regular expression from password policy. |
SmApiResult |
removeUserDirFromDomain(java.lang.String szUserDirName,
java.lang.String szDomainName)
Disassociates a user directory from a domain. |
SmApiResult |
renameObject(SmObjId objId,
java.lang.String newName)
Renames an object. |
SmApiResult |
resumeUpdatesNotificationsProcessing()
Enable all SiteMinder cache updates This method enables cache updates. |
SmApiResult |
search(SmObject searchObj,
java.lang.String[] searchProps,
java.util.Vector searchResults)
Searches the policy store for the specified object using the specified search criteria. |
void |
setApiSession(SmApiSession apiSession)
Sets the API session object. |
SmApiResult |
setPasswordState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState passwordState)
This function sets the password state of the user which includes login failures, disabled time, last login time, empty password history, last password change and previous login time. |
SmApiResult |
setResponseInPolicyLink(SmPolicyLink policyLink)
Changes the response for a particular policy link. |
SmApiResult |
setUserDirSearchOrder(java.lang.String szDomainName,
java.util.Vector DirectoryNames)
Sets the search order of user directories for a domain. |
SmApiResult |
setUserState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState userState)
Sets the user state as enable/disable with the disabled reason for the state, if state is disabled. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SmPolicyApiImpl(SmApiSession apiSession)
Constructs an SmPolicyApiImpl object with a specified session
(SmApiSession).
SMPOLICYAPI_VERSION_20.
apiSession - SiteMinder API session object.
public SmPolicyApiImpl(SmApiSession apiSession,
int version)
Constructs an SmPolicyApiImpl object with a specified session
(SmApiSession) and Policy API version compliance level.
apiSession - SiteMinder API session object.version - The client's Policy API version compliance level.
Valid Policy API compliance level constants are defined in
the SmPolicyApi interface. These constants are
prefixed with SMPOLICYAPI_VERSION_.SmDmsApi interface and are prefixed
with SMDMSAPI_VERSION_.| Method Detail |
|---|
public void setApiSession(SmApiSession apiSession)
SmPolicyApi
setApiSession in interface SmPolicyApiapiSession - SiteMinder API session object.
public SmApiResult search(SmObject searchObj,
java.lang.String[] searchProps,
java.util.Vector searchResults)
throws SmApiException
SmPolicyApi
search in interface SmPolicyApisearchObj - The object to search for.searchProps - One or more search criteria.
Valid search criteria values are constants that:
Prop and that are
defined in the class of the object you are searching for.
PropPolicy
to search for SmUserPolicy objects,
and PropIpAddr to search for
SmAgent objects.
searchResults - This Vector will be populated with the search results.
SmApiResult object for the search.
SmApiException
public SmApiResult addRule(SmRule rule)
throws SmApiException
SmPolicyApi
addRule in interface SmPolicyApirule - The rule and its properties that are being added.
SmApiException
public SmApiResult addRule(SmRule Rule,
boolean bIsGlobal)
throws SmApiException
SmPolicyApi
addRule in interface SmPolicyApibIsGlobal - If bIsGlobal is true, a global
rule is created
If bIsGlobal is false, a domain
rule is created
SmApiException
public SmApiResult modifyRule(SmRule rule)
throws SmApiException
SmPolicyApi
modifyRule in interface SmPolicyApirule - The rule and its properties that are being modified.
SmApiException
public SmApiResult deleteRule(SmRule rule)
throws SmApiException
SmPolicyApi
deleteRule in interface SmPolicyApirule - The rule to delete.
SmApiException
public SmApiResult getRule(java.lang.String szRuleName,
java.lang.String szRealmName,
java.lang.String szDomainName,
SmRule Rule)
throws SmApiException
SmPolicyApi
getRule in interface SmPolicyApiszRuleName - Name of the rule whose properties are being retrieved.szRealmName - Object indentifier of the realm that is associated
with the rule.szDomainName - Name of the domain where the rule is located.Rule - This object will be populated with the
properties of the rule.
SmApiException
public SmApiResult addPolicy(SmPolicy policy)
throws SmApiException
SmPolicyApi
addPolicy in interface SmPolicyApipolicy - The policy and its properties that are being added.
SmApiException
public SmApiResult addPolicy(SmPolicy policy,
boolean bIsGlobal)
throws SmApiException
SmPolicyApi
addPolicy in interface SmPolicyApipolicy - The policy and its properties that are being added.bIsGlobal - If bIsGlobal is true, a global
policy is created
If bIsGlobal is false, a domain
policy is created
SmApiException
public SmApiResult addVariable(SmVariable variable)
throws SmApiException
SmPolicyApi
addVariable in interface SmPolicyApivariable - The variable and its properties that are being added.
SmApiException
public SmApiResult getVariable(java.lang.String szVariableName,
java.lang.String szDomainName,
SmVariable variable)
throws SmApiException
SmPolicyApi
getVariable in interface SmPolicyApivariable - This object will be populated with the
properties of the variable.
SmApiException
public SmApiResult getDomainVariables(java.lang.String szDomainName,
java.util.Vector variables)
throws SmApiException
SmPolicyApi
getDomainVariables in interface SmPolicyApiszDomainName - The name of the domainvariables - The vector which will be populated by the object variables
SmApiException
public SmApiResult modifyVariable(SmVariable variable)
throws SmApiException
SmPolicyApi
modifyVariable in interface SmPolicyApivariable - The variable and its properties that are being modified.
SmApiException
public SmApiResult deleteVariable(SmVariable variable)
throws SmApiException
SmPolicyApi
deleteVariable in interface SmPolicyApivariable - The variable to delete.
SmApiException
public SmApiResult modifyPolicy(SmPolicy policy)
throws SmApiException
SmPolicyApi
modifyPolicy in interface SmPolicyApipolicy - The policy and its properties that are being modified.
SmApiException
public SmApiResult deletePolicy(SmPolicy policy)
throws SmApiException
SmPolicyApi
deletePolicy in interface SmPolicyApipolicy - The policy to delete.
SmApiException
public SmApiResult getPolicy(java.lang.String szPolicyName,
java.lang.String szDomainName,
SmPolicy Policy)
throws SmApiException
SmPolicyApi
getPolicy in interface SmPolicyApiszPolicyName - The policy whose properties are being retrieved.szDomainName - The domain where the policy is located.Policy - This object will be populated with the
properties of the policy.
SmApiException
public SmApiResult getVariableType(java.lang.String szVariableType,
SmVariableType variableType)
throws SmApiException
SmPolicyApi
getVariableType in interface SmPolicyApiszVariableType - The VariableType whose properties are being retrieved.variableType - This object will be populated with the
properties of the variableType.
SmApiException
public SmApiResult addPolicyLink(SmPolicyLink policyLink)
throws SmApiException
SmPolicyApi
addPolicyLink in interface SmPolicyApipolicyLink - The policy link object to add to the policy.
SmApiException
public SmApiResult addPolicyLink(SmPolicyLink policyLink,
boolean bIsGlobal)
throws SmApiException
SmPolicyApi
addPolicyLink in interface SmPolicyApipolicyLink - The policyLink and its properties that are being added.bIsGlobal - If bIsGlobal is true, a global
policyLink is created
If bIsGlobal is false, a domain
policyLink is created
SmApiException
public SmApiResult modifyPolicyLink(SmPolicyLink policyLink)
throws SmApiException
SmPolicyApi
modifyPolicyLink in interface SmPolicyApipolicyLink - The policy link object to modify.
SmApiException
public SmApiResult deletePolicyLink(SmObjId policyLinkOid,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
deletePolicyLink in interface SmPolicyApipolicyLinkOid - Object identifier of the policy link to delete.szDomainName - The domain where the policy link is located.
SmApiException
public SmApiResult getPolicyLinks(java.lang.String szPolicyName,
java.lang.String szDomainName,
java.util.Vector PolicyLinks)
throws SmApiException
SmPolicyApi
getPolicyLinks in interface SmPolicyApiszPolicyName - The policy where the policy links are located.szDomainName - The domain where the policy links are located.PolicyLinks - This Vector will be populated with
SmPolicyLink objects.
SmApiException
public SmApiResult setResponseInPolicyLink(SmPolicyLink policyLink)
throws SmApiException
SmPolicyApi
setResponseInPolicyLink in interface SmPolicyApipolicyLink - The policy link object containing the response being changed.
SmApiException
public SmApiResult addUserPolicy(SmUserPolicy userPolicy)
throws SmApiException
SmPolicyApi
addUserPolicy in interface SmPolicyApiuserPolicy - The user policy object to add.
SmApiException
public SmApiResult deleteUserPolicy(SmObjId userPolicyOid,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
deleteUserPolicy in interface SmPolicyApiszDomainName - The domain that contains the user policy
to delete.
SmApiException
public SmApiResult getUserPolicies(java.lang.String szPolicyName,
java.lang.String szDomainName,
java.util.Vector UserPolicies)
throws SmApiException
SmPolicyApi
getUserPolicies in interface SmPolicyApiszPolicyName - The policy where the user policies are located.szDomainName - The domain where the user policy are located.
SmApiException
public SmApiResult addRealm(SmRealm realm)
throws SmApiException
SmPolicyApi
addRealm in interface SmPolicyApirealm - The realm to add.
SmApiException
public SmApiResult modifyRealm(SmRealm realm)
throws SmApiException
SmPolicyApi
modifyRealm in interface SmPolicyApirealm - The realm to modify.
SmApiException
public SmApiResult deleteRealm(SmRealm realm)
throws SmApiException
SmPolicyApi
deleteRealm in interface SmPolicyApirealm - The realm to delete.
SmApiException
public SmApiResult getRealm(java.lang.String szRealmName,
java.lang.String szDomainName,
SmRealm Realm)
throws SmApiException
SmPolicyApi
getRealm in interface SmPolicyApiszRealmName - The realm name or object identifier.szDomainName - The domain where the realm is located.Realm - This object will be populated with the
properties of the realm.
SmApiException
public SmApiResult getRealmRules(java.lang.String szRealmName,
java.lang.String szDomainName,
java.util.Vector Rules)
throws SmApiException
SmPolicyApi
getRealmRules in interface SmPolicyApiszRealmName - The realm name or object identifier.szDomainName - The domain where the realm is located.
SmApiException
public SmApiResult getRealmRealms(java.lang.String szRealmName,
java.lang.String szDomainName,
java.util.Vector Realms)
throws SmApiException
SmPolicyApi
getRealmRealms in interface SmPolicyApiszRealmName - The realm name or object identifier.szDomainName - The domain where the realm is located.
SmApiException
public SmApiResult addResponse(SmResponse response)
throws SmApiException
SmPolicyApi
addResponse in interface SmPolicyApiresponse - The response object to add.
SmApiException
public SmApiResult addResponse(SmResponse response,
boolean bIsGlobal)
throws SmApiException
SmPolicyApi
addResponse in interface SmPolicyApiresponse - The response object to add.bIsGlobal - If bIsGlobal is true, a global
response is created.
If bIsGlobal is false, a domain
rule is created.
SmApiException
public SmApiResult modifyResponse(SmResponse response)
throws SmApiException
SmPolicyApi
modifyResponse in interface SmPolicyApiresponse - The response object to modify.
SmApiException
public SmApiResult deleteResponse(SmResponse response)
throws SmApiException
SmPolicyApi
deleteResponse in interface SmPolicyApiresponse - The response to delete.
SmApiException
public SmApiResult getResponse(java.lang.String szResponseName,
java.lang.String szDomainName,
SmResponse Response)
throws SmApiException
SmPolicyApi
getResponse in interface SmPolicyApiszResponseName - The response to retrieve.szDomainName - The domain where response is located.Response - This object will be populated with the
properties of the resopnse.
SmApiException
public SmApiResult addResponseAttr(SmResponseAttr responseAttr)
throws SmApiException
SmPolicyApi
addResponseAttr in interface SmPolicyApiresponseAttr - The response attribute object to create.
SmApiException
public SmApiResult addResponseAttr(SmResponseAttr responseAttr,
boolean bIsGlobal)
throws SmApiException
SmPolicyApi
addResponseAttr in interface SmPolicyApiresponseAttr - The response attribute object to create.bIsGlobal - If bIsGlobal is true, a global
ResponseAttr is created
If bIsGlobal is false, a domain
ResponseAttr is created
SmApiException
public SmApiResult deleteResponseAttr(SmObjId responseAttrOid,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
deleteResponseAttr in interface SmPolicyApiresponseAttrOid - The object identifier of the response attribute
to delete.szDomainName - The domain where the response attribute is located.
SmApiException
public SmApiResult getResponseAttrs(java.lang.String szResponseName,
java.lang.String szDomainName,
java.util.Vector ResponseAttrs)
throws SmApiException
SmPolicyApi
getResponseAttrs in interface SmPolicyApiszResponseName - The response whose atributes are being retrieved.szDomainName - Name of the domain where the response is located.ResponseAttrs - This Vector will be populated with the
list of response attributes (SmResponseAttr).
SmApiException
public SmApiResult getResponseAttrs(java.lang.String szResponseName,
java.lang.String szDomainName,
java.util.Map ResponseAttrs)
throws SmApiException
SmPolicyApi
getResponseAttrs in interface SmPolicyApiszResponseName - The response whose atributes are being retrieved.ResponseAttrs - This Map will be populated with the
list of response attributes OIDs and values (SmResponseAttr).
SmApiException
public SmApiResult modifyResponseAttr(SmResponseAttr ResponseAttr)
throws SmApiException
SmPolicyApi
modifyResponseAttr in interface SmPolicyApiSmApiException
public SmApiResult addAuthAzMap(SmAuthAzMap authAzMap)
throws SmApiException
SmPolicyApi
addAuthAzMap in interface SmPolicyApiauthAzMap - The authentication and authorization mapping object
to add.
SmApiException
public SmApiResult modifyAuthAzMap(SmAuthAzMap authAzMap)
throws SmApiException
SmPolicyApi
modifyAuthAzMap in interface SmPolicyApiauthAzMap - The authentication and authorization mapping object
to modify.
SmApiException
public SmApiResult getAuthAzMap(SmObjId authAzMapId,
SmAuthAzMap authAzMap)
throws SmApiException
SmPolicyApi
getAuthAzMap in interface SmPolicyApiauthAzMapId - The object identifier of the authentication and
authorization mapping object to retreive.authAzMap - This object will be populated with the
properties of the authentication and
authorization mapping object.
SmApiException
public SmApiResult deleteAuthAzMap(SmObjId authAzMapId)
throws SmApiException
SmPolicyApi
deleteAuthAzMap in interface SmPolicyApiauthAzMapId - Object identifier of the authentication and
authorization mapping object to delete.
SmApiException
public SmApiResult addCertMap(SmCertMap certMap)
throws SmApiException
SmPolicyApi
addCertMap in interface SmPolicyApicertMap - The certificate mapping object to add.
SmApiException
public SmApiResult modifyCertMap(SmCertMap certMap)
throws SmApiException
SmPolicyApi
modifyCertMap in interface SmPolicyApicertMap - The certificate mapping object to modify.
SmApiException
public SmApiResult deleteCertMap(SmObjId certMapId)
throws SmApiException
SmPolicyApi
deleteCertMap in interface SmPolicyApicertMapId - The object identifier of the certificate mapping
object to delete.
SmApiException
public SmApiResult getCertMap(SmObjId certMapId,
SmCertMap certMap)
throws SmApiException
SmPolicyApi
getCertMap in interface SmPolicyApicertMapId - The object identifier of the certificate mapping
object to retrieve.certMap - This object will be populated with the
properties of the certificate mapping object.
SmApiException
public SmApiResult addODBCQuery(SmODBCQuery odbcQuery)
throws SmApiException
SmPolicyApi
addODBCQuery in interface SmPolicyApiodbcQuery - The ODBC query object to add.
SmApiException
public SmApiResult modifyODBCQuery(SmODBCQuery odbcQuery)
throws SmApiException
SmPolicyApi
modifyODBCQuery in interface SmPolicyApiodbcQuery - The ODBC query object to modify.
SmApiException
public SmApiResult deleteODBCQuery(java.lang.String szODBCQueryName)
throws SmApiException
SmPolicyApi
deleteODBCQuery in interface SmPolicyApiszODBCQueryName - The ODBC query object to delete.
SmApiException
public SmApiResult getODBCQuery(java.lang.String szODBCQuery,
SmODBCQuery odbcQuery)
throws SmApiException
SmPolicyApi
getODBCQuery in interface SmPolicyApiszODBCQuery - Name of the ODBC query object to retrieve.odbcQuery - This object will be populated
with the properties of the ODBC query.
SmApiException
public SmApiResult addUserDirectory(SmUserDirectory UserDir)
throws SmApiException
SmPolicyApi
addUserDirectory in interface SmPolicyApiUserDir - The SiteMinder user directory to add.
SmApiException
public SmApiResult modifyUserDirectory(SmUserDirectory UserDir)
throws SmApiException
SmPolicyApi
modifyUserDirectory in interface SmPolicyApiUserDir - The SiteMinder user directory to modify.
SmApiException
public SmApiResult deleteUserDirectory(java.lang.String szUserDirName)
throws SmApiException
SmPolicyApi
deleteUserDirectory in interface SmPolicyApiszUserDirName - The user directory to delete.
SmApiException
public SmApiResult getUserDirectory(java.lang.String szUserDirName,
SmUserDirectory UserDir)
throws SmApiException
SmPolicyApi
getUserDirectory in interface SmPolicyApiszUserDirName - The user directory to retrieve.UserDir - This object will be populated with the
properties of the user directory.
SmApiException
public SmApiResult addUserDirToDomain(java.lang.String szUserDirName,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
addUserDirToDomain in interface SmPolicyApiszUserDirName - The user directory to associate with a domain.szDomainName - The domain to associate with the user directory.
SmApiException
public SmApiResult removeUserDirFromDomain(java.lang.String szUserDirName,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
removeUserDirFromDomain in interface SmPolicyApiszUserDirName - The user directory to disassociate from the domain.szDomainName - The domain to disassociate from the user directory.
SmApiException
public SmApiResult getUserDirSearchOrder(java.lang.String szDomainName,
java.util.Vector DirectoryNames)
throws SmApiException
SmPolicyApi
getUserDirSearchOrder in interface SmPolicyApiszDomainName - The domain being searched.DirectoryNames - This Vector will be populated with the list
of user directory names. The order of search is determined
by the element position of the Vector.
SmApiException
public SmApiResult setUserDirSearchOrder(java.lang.String szDomainName,
java.util.Vector DirectoryNames)
throws SmApiException
SmPolicyApi
setUserDirSearchOrder in interface SmPolicyApiszDomainName - The domain being searched.DirectoryNames - The list of user directory names. The order of search
is determined by the element position of the Vector.
SmApiException
public SmApiResult getDirectoryContents(java.lang.String userDirName,
java.util.Hashtable enumerateResult)
throws SmApiException
SmPolicyApi
getDirectoryContents in interface SmPolicyApiuserDirName - The user directory to enumerate.enumerateResult - The list of distinguished names (DN) and classes
in the directory. The Hashtable key will hold the
DN, and the corresponding value will hold the class.
SmApiException
public SmApiResult lookupDirectory(java.lang.String userDirName,
java.lang.String searchPattern,
java.util.Hashtable lookupResult)
throws SmApiException
SmPolicyApisearchPattern parameter is determined
by the directory namespace:
searchPattern is: attribute-name=valueattribute-name is disabled
and value is 0, the LDAP search filter is:'o=airius.com','(&(|(objectclass=organizationalPerson)(objectclass=inetOrgPerson)(objectclass=organization)(objectclass=organizationalUnit)(objectclass=groupOfNames)(objectclass=groupOfUniqueNames)(objectclass=group))(disabled=0))'searchPattern will hold the
LDAP search expression. For example, if the
search expression is 'uid=user1111',
the LDAP search filter is:'o=airius.com','(&(|(objectclass=organizationalPerson)(objectclass=inetOrgPerson)(objectclass=organization)(objectclass=organizationalUnit)(objectclass=groupOfNames)(objectclass=groupOfUniqueNames)(objectclass=group))(uid=user1111))'
searchPattern is: [ class= ] value class is an empty-string or user or group.
An empty-string implies user and group.
value is a wildcard string.
lookupDirectory in interface SmPolicyApiuserDirName - The user directory to search.searchPattern - The search pattern.
SmApiException
public SmApiResult getUserGroups(SmObjId dirOid,
java.lang.String userDn,
boolean recursive,
java.util.Vector groups)
throws SmApiException
SmPolicyApi
getUserGroups in interface SmPolicyApidirOid - The user's directory OID.userDn - The user's distinguished name.recursive - Specifies whether to search for groups recursively.groups - Output parameter for returned groups.
SmApiException
public SmApiResult getUserContext(SmObjId dirOid,
java.lang.String userDn,
java.lang.String sessionId,
SmUserContext userContext)
throws SmApiException
SmPolicyApi
getUserContext in interface SmPolicyApidirOid - The user's directory OID.userDn - The user's distinguished name.sessionId - The A unique identifier of the session. After a successful
login, the session ID can be extracted from the spec member
of the SessionDef
class instance. If the session ID is not known, assign
null to this parameter.userContext - The user's context SmUserContext
SmApiException
public SmApiResult addRootConfig(SmRootConfig rootConfig)
throws SmApiException
SmPolicyApi
addRootConfig in interface SmPolicyApirootConfig - The root configuration to create.
SmApiException
public SmApiResult modifyRootConfig(SmRootConfig rootConfig)
throws SmApiException
SmPolicyApi
modifyRootConfig in interface SmPolicyApirootConfig - The root configuration to modify.
SmApiException
public SmApiResult deleteRootConfig(SmObjId rootConfigId)
throws SmApiException
SmPolicyApi
deleteRootConfig in interface SmPolicyApirootConfigId - The object identifier of the root configuration to delete.
SmApiException
public SmApiResult getRootConfig(SmObjId rootConfigId,
SmRootConfig rootConfig)
throws SmApiException
SmPolicyApi
getRootConfig in interface SmPolicyApirootConfigId - The object identifier of the root configuration to retrieve.rootConfig - This object will be populated with the properties of
the root configuration.
SmApiException
public SmApiResult addAgent(SmAgent Agent)
throws SmApiException
SmPolicyApi
addAgent in interface SmPolicyApiAgent - The Agent object to create.
SmApiException
public SmApiResult modifyAgent(SmAgent Agent)
throws SmApiException
SmPolicyApi
modifyAgent in interface SmPolicyApiAgent - The Agent object to modify.
SmApiException
public SmApiResult deleteAgent(java.lang.String szAgentName)
throws SmApiException
SmPolicyApi
deleteAgent in interface SmPolicyApiSmApiException
public SmApiResult getAgent(java.lang.String szAgentName,
SmAgent Agent)
throws SmApiException
SmPolicyApi
getAgent in interface SmPolicyApiszAgentName - The Agent object name.Agent - An object that will be populated with the
properties of the Agent object.
SmApiException
public SmApiResult addAgentType(SmAgentType agentType)
throws SmApiException
SmPolicyApi
addAgentType in interface SmPolicyApiagentType - The AgentType object to create.
SmApiException
public SmApiResult modifyAgentType(SmAgentType agentType)
throws SmApiException
SmPolicyApi
modifyAgentType in interface SmPolicyApiagentType - The AgentType object to modify.
SmApiException
public SmApiResult deleteAgentType(java.lang.String szAgentTypeName)
throws SmApiException
SmPolicyApi
deleteAgentType in interface SmPolicyApiszAgentTypeName - The AgentType object to delete.
SmApiException
public SmApiResult getAgentType(java.lang.String szAgentTypeName,
SmAgentType agentType)
throws SmApiException
SmPolicyApi
getAgentType in interface SmPolicyApiszAgentTypeName - The Agent Type object name.agentType - An object that will be populated with the
properties of AgentType object.
SmApiException
public SmApiResult addAgentTypeAttr(SmAgentTypeAttr agentTypeAttr)
throws SmApiException
SmPolicyApi
addAgentTypeAttr in interface SmPolicyApiagentTypeAttr - The AgentTypeAttr object to create.
SmApiException
public SmApiResult modifyAgentTypeAttr(SmAgentTypeAttr agentTypeAttr)
throws SmApiException
SmPolicyApi
modifyAgentTypeAttr in interface SmPolicyApiSmApiException
public SmApiResult deleteAgentTypeAttr(java.lang.String szAgentTypeAttrName)
throws SmApiException
SmPolicyApi
deleteAgentTypeAttr in interface SmPolicyApiszAgentTypeAttrName - Name of AgentTypeAttr object to delete.
SmApiException
public SmApiResult getAgentTypeAttrs(java.lang.String szAgentTypeName,
java.util.Vector agentTypeAttrs)
throws SmApiException
SmPolicyApi
getAgentTypeAttrs in interface SmPolicyApiszAgentTypeName - Name of Agent Type whose Attributes are to be retrievedagentTypeAttrs - Vector receiving Oids of Agent Type Attributes.
attributes of the Agent Type object.
SmApiException
public SmApiResult getAgentTypeAttr(java.lang.String szAgentTypeAttr,
SmAgentTypeAttr AgentTypeAttr)
throws SmApiException
SmPolicyApi
getAgentTypeAttr in interface SmPolicyApiszAgentTypeAttr - The Agent Type object name.AgentTypeAttr - An object that will be populated with the
attributes of the Agent Type object.
SmApiException
public SmApiResult addAgentConfig(SmAgentConfig AgentConfig)
throws SmApiException
SmPolicyApi
addAgentConfig in interface SmPolicyApiAgentConfig - The Agent Configuration object to create.
SmApiException
public SmApiResult modifyAgentConfig(SmAgentConfig AgentConfig)
throws SmApiException
SmPolicyApi
modifyAgentConfig in interface SmPolicyApiAgentConfig - The Agent Configuration object to modify.
SmApiException
public SmApiResult deleteAgentConfig(java.lang.String szAgentConfigName)
throws SmApiException
SmPolicyApi
deleteAgentConfig in interface SmPolicyApiszAgentConfigName - The Agent Configuration object to delete.
SmApiException
public SmApiResult getAgentConfig(java.lang.String szAgentConfigName,
SmAgentConfig AgentConfig)
throws SmApiException
SmPolicyApi
getAgentConfig in interface SmPolicyApiszAgentConfigName - The Agent Configuration object name.AgentConfig - An object that will be populated with the
properties of the Agent Configuration object.
SmApiException
public SmApiResult addHostConfig(SmHostConfig HostConfig)
throws SmApiException
SmPolicyApi
addHostConfig in interface SmPolicyApiHostConfig - The Host Configuration object to create.
SmApiException
public SmApiResult modifyHostConfig(SmHostConfig HostConfig)
throws SmApiException
SmPolicyApi
modifyHostConfig in interface SmPolicyApiHostConfig - The Host Configuration object to modify.
SmApiException
public SmApiResult deleteHostConfig(java.lang.String szHostConfigName)
throws SmApiException
SmPolicyApi
deleteHostConfig in interface SmPolicyApiszHostConfigName - The Host Configuration object to delete.
SmApiException
public SmApiResult getHostConfig(java.lang.String szHostConfigName,
SmHostConfig HostConfig)
throws SmApiException
SmPolicyApi
getHostConfig in interface SmPolicyApiszHostConfigName - The Host Configuration object name.HostConfig - An object that will be populated with the
properties of the Host Configuration object.
SmApiException
public SmApiResult addTrustedHost(SmTrustedHost TrustedHost)
throws SmApiException,
java.io.IOException,
java.lang.InterruptedException
SmPolicyApiSmHost.conf file on the
client and a corresponding Trusted Host object on the Policy Server.
addTrustedHost in interface SmPolicyApiTrustedHost - The Trusted Host object to create.
SmApiException
java.io.IOException
java.lang.InterruptedException
public SmApiResult deleteTrustedHost(java.lang.String szTrustedHostName)
throws SmApiException
SmPolicyApi
deleteTrustedHost in interface SmPolicyApiszTrustedHostName - The Trusted Host object to delete.
SmApiException
public SmApiResult addDomain(SmDomain Domain)
throws SmApiException
SmPolicyApi
addDomain in interface SmPolicyApiDomain - The domain to create.
SmApiException
public SmApiResult modifyDomain(SmDomain Domain)
throws SmApiException
SmPolicyApi
modifyDomain in interface SmPolicyApiDomain - The domain to modify.
SmApiException
public SmApiResult deleteDomain(java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
deleteDomain in interface SmPolicyApiszDomainName - The domain to delete.
SmApiException
public SmApiResult getDomain(java.lang.String szDomainName,
SmDomain Domain)
throws SmApiException
SmPolicyApi
getDomain in interface SmPolicyApiszDomainName - The name of the domain.Domain - This object will be populated with the
properties of the domain.
SmApiException
public SmApiResult addScheme(SmScheme Scheme)
throws SmApiException
SmPolicyApi
addScheme in interface SmPolicyApiScheme - The authentication scheme to create.
SmApiException
public SmApiResult modifyScheme(SmScheme Scheme)
throws SmApiException
SmPolicyApi
modifyScheme in interface SmPolicyApiScheme - The authentication scheme to modify.
SmApiException
public SmApiResult deleteScheme(java.lang.String szSchemeName)
throws SmApiException
SmPolicyApi
deleteScheme in interface SmPolicyApiszSchemeName - The authentication scheme to delete.
SmApiException
public SmApiResult getScheme(java.lang.String szSchemeName,
SmScheme Scheme)
throws SmApiException
SmPolicyApi
getScheme in interface SmPolicyApiszSchemeName - The authentication scheme to retrieve.Scheme - This object will be populated with the
properties of the authentication scheme.
SmApiException
public SmApiResult addPasswordPolicy(SmPasswordPolicy passwordPolicy)
throws SmApiException
SmPolicyApi
addPasswordPolicy in interface SmPolicyApiSmApiException
public SmApiResult modifyPasswordPolicy(SmPasswordPolicy passwordPolicy)
throws SmApiException
SmPolicyApi
modifyPasswordPolicy in interface SmPolicyApipasswordPolicy - The password policy to modify.
SmApiException
public SmApiResult deletePasswordPolicy(java.lang.String szPasswordPolicy)
throws SmApiException
SmPolicyApi
deletePasswordPolicy in interface SmPolicyApiszPasswordPolicy - The password policy to delete.
SmApiException
public SmApiResult getPasswordPolicy(java.lang.String szPasswordPolicy,
SmPasswordPolicy passwordPolicy)
throws SmApiException
SmPolicyApi
getPasswordPolicy in interface SmPolicyApiszPasswordPolicy - The password policy to retrieve.passwordPolicy - This object will be populated with the
properties of the password policy.
SmApiException
public SmApiResult addRegularExpressionToPasswordPolicy(SmPwdPolicyRegularExpression regEx)
throws SmApiException
SmPolicyApi
addRegularExpressionToPasswordPolicy in interface SmPolicyApiSmApiException
public SmApiResult removeRegularExpressionFromPasswordPolicy(SmPwdPolicyRegularExpression regEx)
throws SmApiException
SmPolicyApi
removeRegularExpressionFromPasswordPolicy in interface SmPolicyApiregEx - The regular expression object to remove
SmApiException
public SmApiResult getRegularExpressions(java.lang.String passwordPolicyName,
java.util.Vector regExps)
throws SmApiException
SmPolicyApi
getRegularExpressions in interface SmPolicyApipasswordPolicyName - The password policy whose regular expressions are retrieved.regExps - This vector will be populated with the list of regular expressions.
SmApiException
public SmApiResult getUserState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState userState)
throws SmApiException
SmPolicyApi
getUserState in interface SmPolicyApiuserDirOid - User Directory object identifieruserDn - User Distiniguished nameuserState - This object will be populated with User state.
SmApiException
public SmApiResult setUserState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState userState)
throws SmApiException
SmPolicyApi
setUserState in interface SmPolicyApiuserDirOid - User Directory object identfier.userDn - User Distinguished name.userState - This object sets the user state using its property.
SmApiException
public SmApiResult getPasswordState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState passwordState)
throws SmApiException
SmPolicyApi
getPasswordState in interface SmPolicyApiuserDirOid - User directory object identifier.userDn - User distinguished namepasswordState - The object that will be poulated with the password state.
SmApiException
public SmApiResult setPasswordState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState passwordState)
throws SmApiException
SmPolicyApi
setPasswordState in interface SmPolicyApiuserDirOid - User directory object identifier.userDn - User distinguished name.passwordState - This object sets the password state using its properties.
SmApiException
public SmApiResult addSelfReg(SmSelfReg SelfReg)
throws SmApiException
SmPolicyApi
addSelfReg in interface SmPolicyApiSelfReg - The self-registration object to create.
SmApiException
public SmApiResult modifySelfReg(SmSelfReg SelfReg)
throws SmApiException
SmPolicyApi
modifySelfReg in interface SmPolicyApiSelfReg - The self-registration object to modify.
SmApiException
public SmApiResult deleteSelfReg(java.lang.String szSelfRegName)
throws SmApiException
SmPolicyApi
deleteSelfReg in interface SmPolicyApiSmApiException
public SmApiResult getSelfReg(java.lang.String szSelfRegName,
SmSelfReg SelfReg)
throws SmApiException
SmPolicyApi
getSelfReg in interface SmPolicyApiszSelfRegName - The self-registration object to retrieve.SelfReg - This object will be populated with the
properties of the self-registration object.
SmApiException
public SmApiResult addAdmin(SmAdmin Admin)
throws SmApiException
SmPolicyApi
addAdmin in interface SmPolicyApiAdmin - The SiteMinder Administrator to create.
SmApiException
public SmApiResult modifyAdmin(SmAdmin Admin)
throws SmApiException
SmPolicyApi
modifyAdmin in interface SmPolicyApiAdmin - The SiteMinder Administrator to modify.
SmApiException
public SmApiResult deleteAdmin(java.lang.String szAdminName)
throws SmApiException
SmPolicyApi
deleteAdmin in interface SmPolicyApiszAdminName - The SiteMinder Administrator to delete.
SmApiException
public SmApiResult getAdmin(java.lang.String szAdminName,
SmAdmin Admin)
throws SmApiException
SmPolicyApi
getAdmin in interface SmPolicyApiszAdminName - The SiteMinder Administrator to retrieve.Admin - This object will be populated with the
properties of the SiteMinder Administrator.
SmApiException
public SmApiResult addAdminToDomain(java.lang.String szAdminName,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
addAdminToDomain in interface SmPolicyApiszAdminName - The SiteMinder Administrator to associate
with a domain.szDomainName - The domain to associate with the
SiteMinder Administrator.
SmApiException
public SmApiResult removeAdminFromDomain(java.lang.String szAdminName,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
removeAdminFromDomain in interface SmPolicyApiszAdminName - The SiteMinder Administrator to disassociate
from the domain.szDomainName - The domain to disassociate from the
SiteMinder Administrator.
SmApiException
public SmApiResult getAdminUserDirs(java.lang.String adminName,
java.util.Vector userDirs)
throws SmApiException
SmPolicyApi
getAdminUserDirs in interface SmPolicyApiadminName - Distinguished name of the administrator.userDirs - This Vector will be populated with the list
of user directory names (String).
SmApiException
public SmApiResult getAdminDomains(java.lang.String szAdminName,
java.util.Vector adminDomains)
throws SmApiException
SmPolicyApi
getAdminDomains in interface SmPolicyApiszAdminName - Name of Admin whose UserDirectory are to be retrivedadminDomains - Vector receving UserDirectory Admin Domain Attributes.
attributes of the Admin object.
SmApiException
public SmApiResult getDomainObjectNames(java.lang.String propName,
java.lang.String domainName,
java.util.Vector ObjectNames)
throws SmApiException
SmPolicyApi
getDomainObjectNames in interface SmPolicyApipropName - Property name of the domain object.domainName - Name or object identifier of the SiteMinder domain object.ObjectNames - This Vector will be populated with the retrieved list
of domain objects.
SmApiException
public SmApiResult getGlobalObjectNames(java.lang.String szPropName,
java.util.Vector ObjectNames)
throws SmApiException
SmPolicyApi
getGlobalObjectNames in interface SmPolicyApiszPropName - Property name of the global object.ObjectNames - This Vector will be populated with the retrieved list
of global objects.
SmApiException
public SmApiResult addGroup(java.lang.String szDomainName,
SmObject group)
throws SmApiException
SmPolicyApi
addGroup in interface SmPolicyApiszDomainName - The domain that contains the group to create.
For agent groups, this parameter will be empty.group - The group object to create.
SmApiException
public SmApiResult modifyGroup(java.lang.String szDomainName,
SmObject group)
throws SmApiException
SmPolicyApi
modifyGroup in interface SmPolicyApiszDomainName - The domain that contains the group to create.
For agent groups, this parameter will be empty.group - The group object to modify.
SmApiException
public SmApiResult deleteGroup(int groupType,
java.lang.String szGroupName,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
deleteGroup in interface SmPolicyApigroupType - The type of the group to delete.szGroupName - Name of the group to delete.szDomainName - The domain where the group is located.
For agent groups, this name will be empty.
SmApiException
public SmApiResult getGroup(java.lang.String szGroupName,
java.lang.String szDomainName,
SmObject Group)
throws SmApiException
SmPolicyApi
getGroup in interface SmPolicyApiszGroupName - Name of the group to retrieve.szDomainName - The domain where the group is located.
For agent groups, this name will be empty.Group - This object will be populated with the
properties of the group object.
SmApiException
public SmApiResult getGroupMembers(int groupType,
java.lang.String szGroupName,
java.lang.String szDomainName,
java.util.Vector Names)
throws SmApiException
SmPolicyApi
getGroupMembers in interface SmPolicyApigroupType - One of the group types specified in SmGroup.szGroupName - The group to retrieve.szDomainName - The domain where the group is located.
For agent groups, this name will be empty.Names - This Vector will be populated with the
list of group members.
SmApiException
public SmApiResult addToGroup(int groupType,
java.lang.String szItemName,
java.lang.String szGroupName,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
addToGroup in interface SmPolicyApigroupType - One of the group types specified in SmGroup.szItemName - The member to add to the group. The member being added must be
of the same type as the group.szGroupName - The group to contain the new member.szDomainName - The domain where the group is located.
For agent groups, this name will be empty.
SmApiException
public SmApiResult removeFromGroup(int groupType,
java.lang.String szItemName,
java.lang.String szGroupName,
java.lang.String szDomainName)
throws SmApiException
SmPolicyApi
removeFromGroup in interface SmPolicyApigroupType - One of the group types specified in SmGroup.szItemName - The member to be removed from the group.szGroupName - The group where the item is currently a member.szDomainName - The domain where the group is located.
For agent groups, this name will be empty.
SmApiException
public SmApiResult flushAll()
throws SmApiException
SmPolicyApi
flushAll in interface SmPolicyApiSmApiException
public SmApiResult holdUpdatesNotificationsProcessing()
throws SmApiException
SmPolicyApi
holdUpdatesNotificationsProcessing in interface SmPolicyApiSmApiException
public SmApiResult resumeUpdatesNotificationsProcessing()
throws SmApiException
SmPolicyApi
resumeUpdatesNotificationsProcessing in interface SmPolicyApiSmApiException
public SmApiResult isUpdatesNotificationsProcessingOnHold(NotificationProcessingStatus processingOnHold)
throws SmApiException
SmPolicyApi
isUpdatesNotificationsProcessingOnHold in interface SmPolicyApiSmApiException
public SmApiResult flushUsers()
throws SmApiException
SmPolicyApi
flushUsers in interface SmPolicyApiSmApiException
public SmApiResult flushUser(java.lang.String userDirectory,
java.lang.String userDn)
throws SmApiException
SmPolicyApi
flushUser in interface SmPolicyApiuserDirectory - The user directory where the user is located.userDn - Distinguished name of the user being flushed.
SmApiException
public SmApiResult flushRealms()
throws SmApiException
SmPolicyApi
flushRealms in interface SmPolicyApiSmApiException
public SmApiResult flushRealm(java.lang.String realmOid)
throws SmApiException
SmPolicyApi
flushRealm in interface SmPolicyApirealmOid - Object identifier of the realm being flushed.
SmApiException
public SmApiResult changeDynamicKey()
throws SmApiException
SmPolicyApi
changeDynamicKey in interface SmPolicyApiSmApiException
public SmApiResult changePersistentKey(java.lang.String persistentKey)
throws SmApiException
SmPolicyApi
changePersistentKey in interface SmPolicyApipersistentKey - The persistent key to change.
If persistentKey is empty,
the persistent key is randomly generated.
SmApiException
public SmApiResult changeSessionKey(java.lang.String sessionKey)
throws SmApiException
SmPolicyApi
changeSessionKey in interface SmPolicyApisessionKey - The session key to change.
If sessionKey is empty,
the session key is randomly generated.
SmApiException
public SmApiResult changeSharedSecretKey()
throws SmApiException
SmPolicyApi
changeSharedSecretKey in interface SmPolicyApiSmApiException
public SmApiResult getRealmUserPolicies(java.lang.String realmOID,
java.util.Vector UserPolicyOIDs)
throws SmApiException
SmPolicyApi
getRealmUserPolicies in interface SmPolicyApirealmOID - Object identifier of the realm.UserPolicyOIDs - This Vector of Strings will be populated with the list
of user policy object identifiers that a user can access.
SmApiException
public SmApiResult getDomainObject(java.lang.String szObjName,
java.lang.String szDomainName,
SmDomainObject obj)
throws SmApiException
SmPolicyApi
getDomainObject in interface SmPolicyApiszDomainName - Name or object identifier of the SiteMinder domain object.obj - This object will be populated with the retrieved object.
SmApiException
public SmApiResult getObject(java.lang.String szObjName,
SmObject obj)
throws SmApiException
SmPolicyApi
getObject in interface SmPolicyApiszObjName - Name or object identifier of the SiteMinder global object.obj - This object will be populated with the retrieved object.
SmApiException
public SmApiResult getConfigObject(java.lang.String szObjName,
SmObject obj)
throws SmApiException
SmApiException
public SmApiResult renameObject(SmObjId objId,
java.lang.String newName)
throws SmApiException
SmPolicyApi
renameObject in interface SmPolicyApiobjId - Object identifier of the object being renamed.newName - The new name for the object.
SmApiExceptionpublic int getVersion()
Gets the Policy API version compliance level.
getVersion in interface SmPolicyApi
public SmApiResult doExport(SmExportAttr objExportAttr)
throws SmApiException
SmPolicyApiExports policy data from a remote Policy Server.
doExport() exports an entire policy store or a single policy domain
from a remote policy server and writes the output .smdif and
.config files on the client’s local file system.
Functionally, the policy data export behaves in the same manner as the
smobjexport utility. For more information about this
tool, see the Policy Server Installation Guide.
Exported policy data is returned over the tunnel connection in 20kb chunks and
written to the local files specified by smExportAttr.setFileName()
or, if that method is not called, to stdout.smdif and
stdout.cfg. doExport() manages data
transfer over the tunnel connection until completion. However, it will not
resume transfer after a connection failure.
doExport in interface SmPolicyApiobjExportAttr - Policy data export attributes.
SmApiException
public SmApiResult doImport(SmImportAttr objImportAttr)
throws SmApiException
SmPolicyApiImports policy data stored on a local client into remote Policy Server.
doImport() imports an entire policy store or a single policy domain
from .smdif and .config files on the client’s local
file system onto a remote policy server.
Functionally, the policy data import behaves in the same manner as the
smobjimport utility). For more information about this
tool, see the CA eTrust SiteMinder Policy Server Installation Guide.
Policy data to be imported is sent over the tunnel connection in 20kb chunks from
the local files specified by smImportAttr.setFileName().
doImport() manages data transfer over the tunnel connection until
completion. However, it will not resume transfer after a connection failure.
doImport in interface SmPolicyApiobjImportAttr - Policy data import attributes.
SmApiException
public SmApiResult getPolicyStoreVersion(java.lang.StringBuffer majorVersion,
java.lang.StringBuffer minorVersion,
java.lang.StringBuffer mode)
throws SmApiException
getPolicyStoreVersion in interface SmPolicyApiSmApiException
public SmApiResult addAuthValidateMap(SmAuthValidateMap authValidateMap)
throws SmApiException
SmPolicyApi
addAuthValidateMap in interface SmPolicyApiauthValidateMap - The authentication and validation mapping object to add.
SmApiException
public SmApiResult modifyAuthValidateMap(SmAuthValidateMap authValidateMap)
throws SmApiException
SmPolicyApi
modifyAuthValidateMap in interface SmPolicyApiauthValidateMap - The authentication and validation mapping object to modify.
SmApiException
public SmApiResult deleteAuthValidateMap(SmObjId authValidateMapOid)
throws SmApiException
SmPolicyApi
deleteAuthValidateMap in interface SmPolicyApiauthValidateMapOid - Object identifier of the authentication and
validation mapping object to delete.
SmApiException
public SmApiResult getAuthValidateMap(SmObjId authValidateMapOid,
SmAuthValidateMap authValidateMap)
throws SmApiException
SmPolicyApi
getAuthValidateMap in interface SmPolicyApiauthValidateMapOid - The object identifier of the authentication and
validation mapping object to retreive.authValidateMap - This object will be populated with the retrieved object.
SmApiException
public SmApiResult getChildren(java.lang.String szOid,
java.util.Vector Children)
throws SmApiException
SmPolicyApi
getChildren in interface SmPolicyApiChildren - - This object will be populated with the list of OIDs
a) With top level realms, if the OID is of a domain
b) With top level realms and rules OIDs if the OID passed is of a realm.
SmApiException
public boolean IsGroup(java.lang.String szOid)
throws SmApiException
SmPolicyApi
IsGroup in interface SmPolicyApitrue if the object is a group and false otherwise.
SmApiException
public SmApiResult getSharedSecretPolicy(java.lang.String szOid,
SmSharedSecretPolicy sharedSecretPolicy)
throws SmApiException
SmPolicyApi
getSharedSecretPolicy in interface SmPolicyApiszOid - The Object Identifier of the Shared Secret Policy ObjectsharedSecretPolicy - An object that will be populated with the
properties of the SmSharedSecretPolicy object.
SmApiException
public SmApiResult modifySharedSecretPolicy(SmSharedSecretPolicy sharedSecretPolicy)
throws SmApiException
SmPolicyApi
modifySharedSecretPolicy in interface SmPolicyApisharedSecretPolicy - The SharedSecretPolicy object to modify.
SmApiException
public SmApiResult getKeyManagement(java.lang.String szOid,
SmKeyManagement keyManagement)
throws SmApiException
SmPolicyApi
getKeyManagement in interface SmPolicyApiszOid - The Object Identifier of the KeyManagement Object
SmApiException
public SmApiResult modifyKeyManagement(SmKeyManagement keyManagement)
throws SmApiException
SmPolicyApi
modifyKeyManagement in interface SmPolicyApiSmApiException
|
Java SDK r12.51 Mon 04/08/2013 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||