|
SiteMinder Java SDK r12.0 SP3 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SmPolicyApi
Provides methods for creating and managing SiteMinder policy store objects.
| Field Summary | |
|---|---|
static int |
SMPOLICYAPI_VERSION_20
Client-supplied constant indicating that Policy Server operations should comply with version 2.0 of the Policy Server API. |
| Method Summary | |
|---|---|
SmApiResult |
addAdmin(SmAdmin admin)
Creates a SiteMinder Administrator. |
SmApiResult |
addAdminToDomain(java.lang.String adminName,
java.lang.String domainName)
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 domainName,
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 regularExpression)
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 itemName,
java.lang.String groupName,
java.lang.String domainName)
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 userDirName,
java.lang.String domainName)
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 adminName)
Deletes a SiteMinder Administrator. |
SmApiResult |
deleteAgent(java.lang.String agentName)
Deletes an Agent object. |
SmApiResult |
deleteAgentConfig(java.lang.String agentConfigName)
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 domainName)
Deletes a domain. |
SmApiResult |
deleteGroup(int groupType,
java.lang.String groupName,
java.lang.String domainName)
Deletes a group of any type (rule, response, agent). |
SmApiResult |
deleteHostConfig(java.lang.String hostConfigName)
Deletes a Host Configuration object. |
SmApiResult |
deleteODBCQuery(java.lang.String odbcQueryName)
Deletes an ODBC query. |
SmApiResult |
deletePasswordPolicy(java.lang.String passwordPolicy)
Deletes a password policy. |
SmApiResult |
deletePolicy(SmPolicy policy)
Deletes a policy. |
SmApiResult |
deletePolicyLink(SmObjId policyLinkOid,
java.lang.String domainName)
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 domainName)
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 schemeName)
Deletes an authentication scheme. |
SmApiResult |
deleteSelfReg(java.lang.String selfRegName)
Deletes a self-registration object. |
SmApiResult |
deleteTrustedHost(java.lang.String trustedHostName)
Deletes a Trusted Host object. |
SmApiResult |
deleteUserDirectory(java.lang.String userDirName)
Deletes a user directory. |
SmApiResult |
deleteUserPolicy(SmObjId UserPolicyOid,
java.lang.String domainName)
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 adminName,
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 agentName,
SmAgent agent)
Gets the contents of an Agent object. |
SmApiResult |
getAgentConfig(java.lang.String agentConfigName,
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 agentTypeAttrName,
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 |
getDirectoryContents(java.lang.String userDirName,
java.util.Hashtable enumerateResult)
Enumerates a user directory. |
SmApiResult |
getDomain(java.lang.String domainName,
SmDomain domain)
Gets the contents of a domain object. |
SmApiResult |
getDomainObject(java.lang.String objName,
java.lang.String domainName,
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 propName,
java.util.Vector objectNames)
Gets a list of global objects. |
SmApiResult |
getGroup(java.lang.String groupName,
java.lang.String domainName,
SmObject group)
Gets the contents of a group of any type (rule, response, agent). |
SmApiResult |
getGroupMembers(int groupType,
java.lang.String groupName,
java.lang.String domainName,
java.util.Vector names)
Gets a list of groups of any type (rule, response, and agent). |
SmApiResult |
getHostConfig(java.lang.String hostConfigName,
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 objName,
SmObject obj)
Gets a global object by name or object identifier (OID). |
SmApiResult |
getODBCQuery(java.lang.String odbcQueryName,
SmODBCQuery odbcQuery)
Gets the contents of an ODBC query. |
SmApiResult |
getPasswordPolicy(java.lang.String passwordPolicyName,
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 policyName,
java.lang.String domainName,
SmPolicy policy)
Gets the contents of a policy. |
SmApiResult |
getPolicyLinks(java.lang.String policyName,
java.lang.String domainName,
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 realmName,
java.lang.String domainName,
SmRealm realm)
Gets the contents of a realm. |
SmApiResult |
getRealmRealms(java.lang.String realmName,
java.lang.String domainName,
java.util.Vector Realms)
Returns all of the realms for the specified realm and domain. |
SmApiResult |
getRealmRules(java.lang.String realmName,
java.lang.String domainName,
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 regExpressions)
Gets the list of regular expression for a password policy object. |
SmApiResult |
getResponse(java.lang.String responseName,
java.lang.String domainName,
SmResponse response)
Gets the contents of a response. |
SmApiResult |
getResponseAttrs(java.lang.String responseName,
java.lang.String domainName,
java.util.Map responseAttrs)
Gets a list of response attributes. |
SmApiResult |
getResponseAttrs(java.lang.String responseName,
java.lang.String domainName,
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 ruleName,
java.lang.String realmOid,
java.lang.String domainName,
SmRule rule)
Gets the contents of a rule that is associated with the specified realm. |
SmApiResult |
getScheme(java.lang.String schemeName,
SmScheme scheme)
Gets the contents of an authentication scheme. |
SmApiResult |
getSelfReg(java.lang.String selfRegName,
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 userDirName,
SmUserDirectory userDir)
Gets the contents of a user directory. |
SmApiResult |
getUserDirSearchOrder(java.lang.String domainName,
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 policyName,
java.lang.String domainName,
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. |
boolean |
IsGroup(java.lang.String szOid)
Returns whether the OID passed is of an group or not. |
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 domainName,
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 adminName,
java.lang.String domainName)
Disassociates a user directory from a domain. |
SmApiResult |
removeFromGroup(int groupType,
java.lang.String itemName,
java.lang.String groupName,
java.lang.String domainName)
Removes a group member of any type (rule, response, agent) from the specified group. |
SmApiResult |
removeRegularExpressionFromPasswordPolicy(SmPwdPolicyRegularExpression regExpression)
Removes the regular expression from password policy. |
SmApiResult |
removeUserDirFromDomain(java.lang.String userDirName,
java.lang.String domainName)
Disassociates a user directory from a domain. |
SmApiResult |
renameObject(SmObjId objId,
java.lang.String newName)
Renames an object. |
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 domainName,
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. |
| Field Detail |
|---|
static final int SMPOLICYAPI_VERSION_20
| Method Detail |
|---|
void setApiSession(SmApiSession apiSession)
apiSession - SiteMinder API session object.
SmApiResult addRootConfig(SmRootConfig rootConfig)
throws SmApiException
rootConfig - The root configuration to create.
SmApiException
SmApiResult modifyRootConfig(SmRootConfig rootConfig)
throws SmApiException
rootConfig - The root configuration to modify.
SmApiException
SmApiResult deleteRootConfig(SmObjId rootConfigId)
throws SmApiException
rootConfigId - The object identifier of the root configuration to delete.
SmApiException
SmApiResult getRootConfig(SmObjId rootConfigId,
SmRootConfig rootConfig)
throws SmApiException
rootConfigId - The object identifier of the root configuration to retrieve.rootConfig - This object will be populated with the properties of
the root configuration.
SmApiException
SmApiResult addAgent(SmAgent agent)
throws SmApiException
agent - The Agent object to create.
SmApiException
SmApiResult modifyAgent(SmAgent agent)
throws SmApiException
agent - The Agent object to modify.
SmApiException
SmApiResult deleteAgent(java.lang.String agentName)
throws SmApiException
agent - The Agent object to delete.
SmApiException
SmApiResult getAgent(java.lang.String agentName,
SmAgent agent)
throws SmApiException
agentName - The Agent object name.agent - An object that will be populated with the
properties of the Agent object.
SmApiException
SmApiResult addAgentType(SmAgentType agentType)
throws SmApiException
agentType - The AgentType object to create.
SmApiException
SmApiResult modifyAgentType(SmAgentType agentType)
throws SmApiException
agentType - The AgentType object to modify.
SmApiException
SmApiResult deleteAgentType(java.lang.String szAgentTypeName)
throws SmApiException
szAgentTypeName - The AgentType object to delete.
SmApiException
SmApiResult getAgentType(java.lang.String szAgentTypeName,
SmAgentType agenttype)
throws SmApiException
szAgentTypeName - The Agent Type object name.agenttype - An object that will be populated with the
properties of AgentType object.
SmApiException
SmApiResult addAgentTypeAttr(SmAgentTypeAttr agentTypeAttr)
throws SmApiException
agentTypeAttr - The AgentTypeAttr object to create.
SmApiException
SmApiResult modifyAgentTypeAttr(SmAgentTypeAttr agentTypeAttr)
throws SmApiException
agentType - The AgentTypeAttr object to modify.
SmApiException
SmApiResult deleteAgentTypeAttr(java.lang.String szAgentTypeAttrName)
throws SmApiException
szAgentTypeAttrName - Name of AgentTypeAttr object to delete.
SmApiException
SmApiResult getAgentTypeAttr(java.lang.String agentTypeAttrName,
SmAgentTypeAttr agenttypeattr)
throws SmApiException
agentTypeAttrName - The Agent Type object name.agenttypeattr - An object that will be populated with the
attributes of the Agent Type object.
SmApiException
SmApiResult getAgentTypeAttrs(java.lang.String szAgentTypeName,
java.util.Vector agentTypeAttrs)
throws SmApiException
szAgentTypeName - Name of Agent Type whose Attributes are to be retrievedagentTypeAttrs - Vector receiving Oids of Agent Type Attributes.
attributes of the Agent Type object.
SmApiException
SmApiResult getAdminDomains(java.lang.String szAdminName,
java.util.Vector adminDomains)
throws SmApiException
szAdminName - Name of Admin whose UserDirectory are to be retrivedadminDomains - Vector receving UserDirectory Admin Domain Attributes.
attributes of the Admin object.
SmApiException
SmApiResult addAgentConfig(SmAgentConfig agentConfig)
throws SmApiException
agentConfig - The Agent Configuration object to create.
SmApiException
SmApiResult modifyAgentConfig(SmAgentConfig agentConfig)
throws SmApiException
agentConfig - The Agent Configuration object to modify.
SmApiException
SmApiResult deleteAgentConfig(java.lang.String agentConfigName)
throws SmApiException
agentConfigName - The Agent Configuration object to delete.
SmApiException
SmApiResult getAgentConfig(java.lang.String agentConfigName,
SmAgentConfig agentConfig)
throws SmApiException
agentConfigName - The Agent Configuration object name.agentConfig - An object that will be populated with the
properties of the Agent Configuration object.
SmApiException
SmApiResult addHostConfig(SmHostConfig hostConfig)
throws SmApiException
hostConfig - The Host Configuration object to create.
SmApiException
SmApiResult modifyHostConfig(SmHostConfig hostConfig)
throws SmApiException
hostConfig - The Host Configuration object to modify.
SmApiException
SmApiResult deleteHostConfig(java.lang.String hostConfigName)
throws SmApiException
hostConfigName - The Host Configuration object to delete.
SmApiException
SmApiResult getHostConfig(java.lang.String hostConfigName,
SmHostConfig hostConfig)
throws SmApiException
hostConfigName - The Host Configuration object name.hostConfig - An object that will be populated with the
properties of the Host Configuration object.
SmApiException
SmApiResult addTrustedHost(SmTrustedHost trustedHost)
throws SmApiException,
java.io.IOException,
java.lang.InterruptedException
SmHost.conf file on the
client and a corresponding Trusted Host object on the Policy Server.
trustedHost - The Trusted Host object to create.
SmApiException
java.io.IOException
java.lang.InterruptedException
SmApiResult deleteTrustedHost(java.lang.String trustedHostName)
throws SmApiException
trustedHostName - The Trusted Host object to delete.
SmApiException
SmApiResult addDomain(SmDomain domain)
throws SmApiException
domain - The domain to create.
SmApiException
SmApiResult modifyDomain(SmDomain domain)
throws SmApiException
domain - The domain to modify.
SmApiException
SmApiResult deleteDomain(java.lang.String domainName)
throws SmApiException
domainName - The domain to delete.
SmApiException
SmApiResult getDomain(java.lang.String domainName,
SmDomain domain)
throws SmApiException
domainName - The name of the domain.domain - This object will be populated with the
properties of the domain.
SmApiException
SmApiResult addODBCQuery(SmODBCQuery odbcQuery)
throws SmApiException
odbcQuery - The ODBC query object to add.
SmApiException
SmApiResult modifyODBCQuery(SmODBCQuery odbcQuery)
throws SmApiException
odbcQuery - The ODBC query object to modify.
SmApiException
SmApiResult deleteODBCQuery(java.lang.String odbcQueryName)
throws SmApiException
odbcQueryName - The ODBC query object to delete.
SmApiException
SmApiResult getODBCQuery(java.lang.String odbcQueryName,
SmODBCQuery odbcQuery)
throws SmApiException
odbcQueryName - Name of the ODBC query object to retrieve.odbcQuery - This object will be populated
with the properties of the ODBC query.
SmApiException
SmApiResult addUserDirectory(SmUserDirectory userDir)
throws SmApiException
userDir - The SiteMinder user directory to add.
SmApiException
SmApiResult modifyUserDirectory(SmUserDirectory userDir)
throws SmApiException
userDir - The SiteMinder user directory to modify.
SmApiException
SmApiResult deleteUserDirectory(java.lang.String userDirName)
throws SmApiException
userDirName - The user directory to delete.
SmApiException
SmApiResult getUserDirectory(java.lang.String userDirName,
SmUserDirectory userDir)
throws SmApiException
userDirName - The user directory to retrieve.userDir - This object will be populated with the
properties of the user directory.
SmApiException
SmApiResult addUserDirToDomain(java.lang.String userDirName,
java.lang.String domainName)
throws SmApiException
userDirName - The user directory to associate with a domain.domainName - The domain to associate with the user directory.
SmApiException
SmApiResult removeUserDirFromDomain(java.lang.String userDirName,
java.lang.String domainName)
throws SmApiException
userDirName - The user directory to disassociate from the domain.domainName - The domain to disassociate from the user directory.
SmApiException
SmApiResult getUserDirSearchOrder(java.lang.String domainName,
java.util.Vector directoryNames)
throws SmApiException
domainName - 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
SmApiResult setUserDirSearchOrder(java.lang.String domainName,
java.util.Vector directoryNames)
throws SmApiException
domainName - 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
SmApiResult getDirectoryContents(java.lang.String userDirName,
java.util.Hashtable enumerateResult)
throws SmApiException
userDirName - 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
SmApiResult lookupDirectory(java.lang.String userDirName,
java.lang.String searchPattern,
java.util.Hashtable lookupResult)
throws SmApiException
searchPattern 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.
userDirName - The user directory to search.searchPattern - The search pattern.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
SmApiResult getUserGroups(SmObjId dirOid,
java.lang.String userDn,
boolean recursive,
java.util.Vector groups)
throws SmApiException
dirOid - 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
SmApiResult getUserContext(SmObjId dirOid,
java.lang.String userDn,
java.lang.String sessionId,
SmUserContext userContext)
throws SmApiException
dirOid - 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
SmApiResult addAdmin(SmAdmin admin)
throws SmApiException
admin - The SiteMinder Administrator to create.
SmApiException
SmApiResult modifyAdmin(SmAdmin admin)
throws SmApiException
admin - The SiteMinder Administrator to modify.
SmApiException
SmApiResult deleteAdmin(java.lang.String adminName)
throws SmApiException
adminName - The SiteMinder Administrator to delete.
SmApiException
SmApiResult getAdmin(java.lang.String adminName,
SmAdmin admin)
throws SmApiException
adminName - The SiteMinder Administrator to retrieve.admin - This object will be populated with the
properties of the SiteMinder Administrator.
SmApiException
SmApiResult addAdminToDomain(java.lang.String adminName,
java.lang.String domainName)
throws SmApiException
adminName - The SiteMinder Administrator to associate
with a domain.domainName - The domain to associate with the
SiteMinder Administrator.
SmApiException
SmApiResult removeAdminFromDomain(java.lang.String adminName,
java.lang.String domainName)
throws SmApiException
adminName - The SiteMinder Administrator to disassociate
from the domain.domainName - The domain to disassociate from the
SiteMinder Administrator.
SmApiException
SmApiResult getAdminUserDirs(java.lang.String adminName,
java.util.Vector userDirs)
throws SmApiException
adminName - Distinguished name of the administrator.userDirs - This Vector will be populated with the list
of user directory names (String).
SmApiException
SmApiResult addScheme(SmScheme scheme)
throws SmApiException
scheme - The authentication scheme to create.
SmApiException
SmApiResult modifyScheme(SmScheme scheme)
throws SmApiException
scheme - The authentication scheme to modify.
SmApiException
SmApiResult deleteScheme(java.lang.String schemeName)
throws SmApiException
schemeName - The authentication scheme to delete.
SmApiException
SmApiResult getScheme(java.lang.String schemeName,
SmScheme scheme)
throws SmApiException
schemeName - The authentication scheme to retrieve.scheme - This object will be populated with the
properties of the authentication scheme.
SmApiException
SmApiResult addPasswordPolicy(SmPasswordPolicy passwordPolicy)
throws SmApiException
domain - The password policy to create.
SmApiException
SmApiResult modifyPasswordPolicy(SmPasswordPolicy passwordPolicy)
throws SmApiException
passwordPolicy - The password policy to modify.
SmApiException
SmApiResult deletePasswordPolicy(java.lang.String passwordPolicy)
throws SmApiException
passwordPolicy - The password policy to delete.
SmApiException
SmApiResult getPasswordPolicy(java.lang.String passwordPolicyName,
SmPasswordPolicy passwordPolicy)
throws SmApiException
passwordPolicyName - The password policy to retrieve.passwordPolicy - This object will be populated with the
properties of the password policy.
SmApiException
SmApiResult addRegularExpressionToPasswordPolicy(SmPwdPolicyRegularExpression regularExpression)
throws SmApiException
regExpression - The regular expression object to add
SmApiException
SmApiResult removeRegularExpressionFromPasswordPolicy(SmPwdPolicyRegularExpression regExpression)
throws SmApiException
regExpression - The regular expression object to remove
SmApiException
SmApiResult getRegularExpressions(java.lang.String passwordPolicyName,
java.util.Vector regExpressions)
throws SmApiException
passwordPolicyName - The password policy whose regular expressions are retrieved.regExpressions - This vector will be populated with the list of regular expressions.
SmApiException
SmApiResult getUserState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState userstate)
throws SmApiException
userDirOid - User Directory object identifieruserDn - User Distiniguished nameuserstate - This object will be populated with User state.
SmApiException
SmApiResult setUserState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState userstate)
throws SmApiException
userDirOid - User Directory object identfier.userDn - User Distinguished name.userstate - This object sets the user state using its property.
SmApiException
SmApiResult getPasswordState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState passwordstate)
throws SmApiException
userDirOid - User directory object identifier.userDn - User distinguished namepasswordstate - The object that will be poulated with the password state.
SmApiException
SmApiResult setPasswordState(SmObjId userDirOid,
java.lang.String userDn,
SmUserPasswordState passwordstate)
throws SmApiException
userDirOid - User directory object identifier.userDn - User distinguished name.passwordstate - This object sets the password state using its properties.
SmApiException
SmApiResult addSelfReg(SmSelfReg selfReg)
throws SmApiException
selfReg - The self-registration object to create.
SmApiException
SmApiResult modifySelfReg(SmSelfReg selfReg)
throws SmApiException
selfReg - The self-registration object to modify.
SmApiException
SmApiResult deleteSelfReg(java.lang.String selfRegName)
throws SmApiException
selfReg - The self-registration object to delete.
SmApiException
SmApiResult getSelfReg(java.lang.String selfRegName,
SmSelfReg selfReg)
throws SmApiException
selfRegName - The self-registration object to retrieve.selfReg - This object will be populated with the
properties of the self-registration object.
SmApiException
SmApiResult addAuthAzMap(SmAuthAzMap authAzMap)
throws SmApiException
authAzMap - The authentication and authorization mapping object
to add.
SmApiException
SmApiResult modifyAuthAzMap(SmAuthAzMap authAzMap)
throws SmApiException
authAzMap - The authentication and authorization mapping object
to modify.
SmApiException
SmApiResult deleteAuthAzMap(SmObjId authAzMapId)
throws SmApiException
authAzMapId - Object identifier of the authentication and
authorization mapping object to delete.
SmApiException
SmApiResult getAuthAzMap(SmObjId authAzMapId,
SmAuthAzMap authAzMap)
throws SmApiException
authAzMapId - 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
SmApiResult addCertMap(SmCertMap certMap)
throws SmApiException
certMap - The certificate mapping object to add.
SmApiException
SmApiResult modifyCertMap(SmCertMap certMap)
throws SmApiException
certMap - The certificate mapping object to modify.
SmApiException
SmApiResult deleteCertMap(SmObjId certMapId)
throws SmApiException
certMapId - The object identifier of the certificate mapping
object to delete.
SmApiException
SmApiResult getCertMap(SmObjId certMapId,
SmCertMap certMap)
throws SmApiException
certMapId - 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
SmApiResult addRealm(SmRealm realm)
throws SmApiException
realm - The realm to add.
SmApiException
SmApiResult modifyRealm(SmRealm realm)
throws SmApiException
realm - The realm to modify.
SmApiException
SmApiResult deleteRealm(SmRealm realm)
throws SmApiException
realm - The realm to delete.
SmApiException
SmApiResult getRealm(java.lang.String realmName,
java.lang.String domainName,
SmRealm realm)
throws SmApiException
domainName - The domain where the realm is located.realmName - The realm name or object identifier.realm - This object will be populated with the
properties of the realm.
SmApiException
SmApiResult getRealmRules(java.lang.String realmName,
java.lang.String domainName,
java.util.Vector Rules)
throws SmApiException
domainName - The domain where the realm is located.realmName - The realm name or object identifier.rules - This object will be populated with the
list of SmRule objects.
SmApiException
SmApiResult getRealmRealms(java.lang.String realmName,
java.lang.String domainName,
java.util.Vector Realms)
throws SmApiException
domainName - The domain where the realm is located.realmName - The realm name or object identifier.realms - This object will be populated with the
list of realm objects.
SmApiException
SmApiResult addRule(SmRule rule)
throws SmApiException
rule - The rule and its properties that are being added.
SmApiException
SmApiResult addRule(SmRule Rule,
boolean bIsGlobal)
throws SmApiException
rule - The rule and its properties that are being added.bIsGlobal - If bIsGlobal is true, a global
rule is created
If bIsGlobal is false, a domain
rule is created
SmApiException
SmApiResult modifyRule(SmRule rule)
throws SmApiException
rule - The rule and its properties that are being modified.
SmApiException
SmApiResult deleteRule(SmRule rule)
throws SmApiException
rule - The rule to delete.
SmApiException
SmApiResult getRule(java.lang.String ruleName,
java.lang.String realmOid,
java.lang.String domainName,
SmRule rule)
throws SmApiException
ruleName - Name of the rule whose properties are being retrieved.domainName - Name of the domain where the rule is located.realmOid - Object indentifier of the realm that is associated
with the rule.rule - This object will be populated with the
properties of the rule.
SmApiException
SmApiResult addResponse(SmResponse response)
throws SmApiException
response - The response object to add.
SmApiException
SmApiResult addResponse(SmResponse response,
boolean bIsGlobal)
throws SmApiException
response - 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
SmApiResult modifyResponse(SmResponse response)
throws SmApiException
response - The response object to modify.
SmApiException
SmApiResult deleteResponse(SmResponse response)
throws SmApiException
response - The response to delete.
SmApiException
SmApiResult getResponse(java.lang.String responseName,
java.lang.String domainName,
SmResponse response)
throws SmApiException
domainName - The domain where response is located.responseName - The response to retrieve.response - This object will be populated with the
properties of the resopnse.
SmApiException
SmApiResult addResponseAttr(SmResponseAttr responseAttr)
throws SmApiException
responseAttr - The response attribute object to create.
SmApiException
SmApiResult addResponseAttr(SmResponseAttr responseAttr,
boolean bIsGlobal)
throws SmApiException
responseAttr - 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
SmApiResult deleteResponseAttr(SmObjId responseAttrOid,
java.lang.String domainName)
throws SmApiException
domainName - The domain where the response attribute is located.responseAttrOid - The object identifier of the response attribute
to delete.
SmApiException
SmApiResult getResponseAttrs(java.lang.String responseName,
java.lang.String domainName,
java.util.Vector responseAttrs)
throws SmApiException
domainName - Name of the domain where the response is located.responseName - The response whose atributes are being retrieved.responseAttrs - This Vector will be populated with the
list of response attributes (SmResponseAttr).
SmApiException
SmApiResult getResponseAttrs(java.lang.String responseName,
java.lang.String domainName,
java.util.Map responseAttrs)
throws SmApiException
responseName - The response whose atributes are being retrieved.responseAttrs - This Map will be populated with the
list of response attributes OIDs and values (SmResponseAttr).
SmApiException
SmApiResult modifyResponseAttr(SmResponseAttr ResponseAttr)
throws SmApiException
responseAttr - The response attribute and its properties that are being modified.
SmApiException
SmApiResult addPolicy(SmPolicy policy)
throws SmApiException
policy - The policy and its properties that are being added.
SmApiException
SmApiResult addPolicy(SmPolicy policy,
boolean bIsGlobal)
throws SmApiException
policy - 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
SmApiResult modifyPolicy(SmPolicy policy)
throws SmApiException
policy - The policy and its properties that are being modified.
SmApiException
SmApiResult deletePolicy(SmPolicy policy)
throws SmApiException
policy - The policy to delete.
SmApiException
SmApiResult getPolicy(java.lang.String policyName,
java.lang.String domainName,
SmPolicy policy)
throws SmApiException
policyName - The policy whose properties are being retrieved.domainName - The domain where the policy is located.policy - This object will be populated with the
properties of the policy.
SmApiException
SmApiResult addVariable(SmVariable variable)
throws SmApiException
variable - The variable and its properties that are being added.
SmApiException
SmApiResult getVariable(java.lang.String szVariableName,
java.lang.String szDomainName,
SmVariable variable)
throws SmApiException
VariableName - The variable whose properties are being retrieved.domainName - The domain where the variable is located.variable - This object will be populated with the
properties of the variable.
SmApiException
SmApiResult getDomainVariables(java.lang.String szDomainName,
java.util.Vector variables)
throws SmApiException
szDomainName - The name of the domainvariables - The vector which will be populated by the object variables
SmApiException
SmApiResult modifyVariable(SmVariable variable)
throws SmApiException
variable - The variable and its properties that are being modified.
SmApiException
SmApiResult deleteVariable(SmVariable variable)
throws SmApiException
variable - The variable to delete.
SmApiException
SmApiResult getVariableType(java.lang.String szVariableType,
SmVariableType variableType)
throws SmApiException
szVariableType - The VariableType whose properties are being retrieved.variableType - This object will be populated with the
properties of the variableType.
SmApiException
SmApiResult addPolicyLink(SmPolicyLink policyLink)
throws SmApiException
policyLink - The policy link object to add to the policy.
SmApiException
SmApiResult addPolicyLink(SmPolicyLink policyLink,
boolean bIsGlobal)
throws SmApiException
policyLink - 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
SmApiResult modifyPolicyLink(SmPolicyLink policyLink)
throws SmApiException
policyLink - The policy link object to modify.
SmApiException
SmApiResult deletePolicyLink(SmObjId policyLinkOid,
java.lang.String domainName)
throws SmApiException
policyLinkOid - Object identifier of the policy link to delete.domainName - The domain where the policy link is located.
SmApiException
SmApiResult getPolicyLinks(java.lang.String policyName,
java.lang.String domainName,
java.util.Vector policyLinks)
throws SmApiException
policyName - The policy where the policy links are located.domainName - The domain where the policy links are located.policyLinks - This Vector will be populated with
SmPolicyLink objects.
SmApiException
SmApiResult setResponseInPolicyLink(SmPolicyLink policyLink)
throws SmApiException
policyLink - The policy link object containing the response being changed.
SmApiException
SmApiResult addUserPolicy(SmUserPolicy userPolicy)
throws SmApiException
userPolicy - The user policy object to add.
SmApiException
SmApiResult deleteUserPolicy(SmObjId UserPolicyOid,
java.lang.String domainName)
throws SmApiException
userPolicy - The user policy object to delete.domainName - The domain that contains the user policy
to delete.
SmApiException
SmApiResult getUserPolicies(java.lang.String policyName,
java.lang.String domainName,
java.util.Vector UserPolicies)
throws SmApiException
policyName - The policy where the user policies are located.domainName - The domain where the user policy are located.userPolicies - This Vector will be populated with the
retrieved user policy objects (SmUserPolicy).
SmApiException
SmApiResult getRealmUserPolicies(java.lang.String realmOID,
java.util.Vector userPolicyOIDs)
throws SmApiException
realmOID - 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
SmApiResult addGroup(java.lang.String domainName,
SmObject group)
throws SmApiException
domainName - The domain that contains the group to create.
For agent groups, this parameter will be empty.group - The group object to create.
SmApiException
SmApiResult modifyGroup(java.lang.String domainName,
SmObject group)
throws SmApiException
domainName - The domain that contains the group to create.
For agent groups, this parameter will be empty.group - The group object to modify.
SmApiException
SmApiResult deleteGroup(int groupType,
java.lang.String groupName,
java.lang.String domainName)
throws SmApiException
groupType - The type of the group to delete.domainName - The domain where the group is located.
For agent groups, this name will be empty.groupName - Name of the group to delete.
SmApiException
SmApiResult getGroup(java.lang.String groupName,
java.lang.String domainName,
SmObject group)
throws SmApiException
domainName - The domain where the group is located.
For agent groups, this name will be empty.groupName - Name of the group to retrieve.group - This object will be populated with the
properties of the group object.
SmApiException
SmApiResult getGroupMembers(int groupType,
java.lang.String groupName,
java.lang.String domainName,
java.util.Vector names)
throws SmApiException
groupType - One of the group types specified in SmGroup.groupName - The group to retrieve.domainName - 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
SmApiResult addToGroup(int groupType,
java.lang.String itemName,
java.lang.String groupName,
java.lang.String domainName)
throws SmApiException
groupType - One of the group types specified in SmGroup.itemName - The member to add to the group. The member being added must be
of the same type as the group.groupName - The group to contain the new member.domainName - The domain where the group is located.
For agent groups, this name will be empty.
SmApiException
SmApiResult removeFromGroup(int groupType,
java.lang.String itemName,
java.lang.String groupName,
java.lang.String domainName)
throws SmApiException
groupType - One of the group types specified in SmGroup.itemName - The member to be removed from the group.groupName - The group where the item is currently a member.domainName - The domain where the group is located.
For agent groups, this name will be empty.
SmApiException
SmApiResult search(SmObject searchObj,
java.lang.String[] searchProps,
java.util.Vector searchResults)
throws SmApiException
searchObj - 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
SmApiResult getObject(java.lang.String objName,
SmObject obj)
throws SmApiException
objName - Name or object identifier of the SiteMinder global object.obj - This object will be populated with the retrieved object.
SmApiException
SmApiResult getDomainObject(java.lang.String objName,
java.lang.String domainName,
SmDomainObject obj)
throws SmApiException
domainName - Name or object identifier of the SiteMinder domain object.obj - This object will be populated with the retrieved object.
SmApiException
SmApiResult getDomainObjectNames(java.lang.String propName,
java.lang.String domainName,
java.util.Vector objectNames)
throws SmApiException
propName - 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
SmApiResult getGlobalObjectNames(java.lang.String propName,
java.util.Vector objectNames)
throws SmApiException
propName - Property name of the global object.objectNames - This Vector will be populated with the retrieved list
of global objects.
SmApiException
SmApiResult flushAll()
throws SmApiException
SmApiException
SmApiResult flushUsers()
throws SmApiException
SmApiException
SmApiResult flushUser(java.lang.String userDirectory,
java.lang.String userDn)
throws SmApiException
userDirectory - The user directory where the user is located.userDn - Distinguished name of the user being flushed.
SmApiException
SmApiResult flushRealms()
throws SmApiException
SmApiException
SmApiResult flushRealm(java.lang.String realmOid)
throws SmApiException
realmOid - Object identifier of the realm being flushed.
SmApiException
SmApiResult changeDynamicKey()
throws SmApiException
SmApiException
SmApiResult changePersistentKey(java.lang.String persistentKey)
throws SmApiException
persistentKey - The persistent key to change.
If persistentKey is empty,
the persistent key is randomly generated.
SmApiException
SmApiResult changeSessionKey(java.lang.String sessionKey)
throws SmApiException
sessionKey - The session key to change.
If sessionKey is empty,
the session key is randomly generated.
SmApiException
SmApiResult changeSharedSecretKey()
throws SmApiException
SmApiException
SmApiResult renameObject(SmObjId objId,
java.lang.String newName)
throws SmApiException
objId - Object identifier of the object being renamed.newName - The new name for the object.
SmApiExceptionint getVersion()
Gets the Policy API version compliance level.
SmApiResult getPolicyStoreVersion(java.lang.StringBuffer majorVersion,
java.lang.StringBuffer minorVersion,
java.lang.StringBuffer mode)
throws SmApiException
SmApiException
SmApiResult doImport(SmImportAttr objImportAttr)
throws SmApiException
Imports 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.
objImportAttr - Policy data import attributes.
SmApiException
SmApiResult doExport(SmExportAttr objExportAttr)
throws SmApiException
Exports 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.
objExportAttr - Policy data export attributes.
SmApiException
SmApiResult addAuthValidateMap(SmAuthValidateMap authValidateMap)
throws SmApiException
authValidateMap - The authentication and validation mapping object to add.
SmApiException
SmApiResult modifyAuthValidateMap(SmAuthValidateMap authValidateMap)
throws SmApiException
authValidateMap - The authentication and validation mapping object to modify.
SmApiException
SmApiResult deleteAuthValidateMap(SmObjId authValidateMapOid)
throws SmApiException
authValidateMapOid - Object identifier of the authentication and
validation mapping object to delete.
SmApiException
SmApiResult getAuthValidateMap(SmObjId authValidateMapOid,
SmAuthValidateMap authValidateMap)
throws SmApiException
authValidateMapOid - The object identifier of the authentication and
validation mapping object to retreive.authValidateMap - This object will be populated with the retrieved object.
SmApiException
SmApiResult getChildren(java.lang.String szOid,
java.util.Vector Children)
throws SmApiException
szOID - - Object identifier of the SiteMinder domain object / realm object.Children - - 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
boolean IsGroup(java.lang.String szOid)
throws SmApiException
szOID - - Object Identifier of the SiteMinder Object
true if the object is a group and false otherwise.
SmApiException
SmApiResult getSharedSecretPolicy(java.lang.String szOid,
SmSharedSecretPolicy sharedSecretPolicy)
throws SmApiException
szOid - The Object Identifier of the Shared Secret Policy ObjectsharedSecretPolicy - An object that will be populated with the
properties of the SmSharedSecretPolicy object.
SmApiException
SmApiResult modifySharedSecretPolicy(SmSharedSecretPolicy sharedSecretPolicy)
throws SmApiException
sharedSecretPolicy - The SharedSecretPolicy object to modify.
SmApiException
SmApiResult getKeyManagement(java.lang.String szOid,
SmKeyManagement keyManagement)
throws SmApiException
szOid - The Object Identifier of the KeyManagement Objectkeymanagement - An object that will be populated with the
properties of the SmKeyManagement object.
SmApiException
SmApiResult modifyKeyManagement(SmKeyManagement keyManagement)
throws SmApiException
keymanagement - The Key Management object to modify.
SmApiException
|
Java SDK r12.0 SP3 Fri 03/11/2011 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||