Previous Topic: Password Policy MethodsNext Topic: Realm Methods


Policy Methods

The following methods act on policy and policy link objects. A policy link is an association of a policy, a rule, and optionally, a response. Unless otherwise specified, these methods are in the class SmPolicyApiImpl.

Policy objects are created with SmPolicy. Policy link objects are created with SmPolicyLink.

Method

Description

addPolicy()

Adds a policy object to the policy store.

addPolicyLink()

Adds a policy link to a policy.

deletePolicy()

Deletes the policy associated with the specified domain.

deletePolicyLink()

Removes a policy link from a policy.

getPolicy()

Gets the contents of a policy.

getPolicyLinks()

Gets all of the policy links for the specified policy and domain.

modifyPolicy()

Modify the policy associated with the specified domain.

modifyPolicyLink()

Modifies the specified policy link.