BorderRouter.getPolicyRule()
Method
Related Forms
Declaration
PolicyRulegetPolicyRule
(
java.lang.String fromInterface,
java.lang.String toInterface)
throws ConfigurationException
PolicyRule[]getPolicyRules
()
throws ConfigurationException
Purpose
Get policy rules of a border router.
Remarks
Use the first form to get the rule for a specific pairing of From- and To-Interfaces.
Use the second form to get all policy rules of the border router.
Even if you have not configured a policy rule for a From/To pair, a default rule might still exist. Default rules allow the subject _INBOX.>
(with firstBorder false
).
After a rule has been removed, getting the rule for that pair returns an empty rule—that is, a rule without any allowed subjects.
Parameter |
Description |
fromInterface |
Supply the From-Interface of the rule to get. |
toInterface |
Supply the To-Interface of the rule to get. |
See Also
BorderRouter.removePolicyRule()
For the corresponding browser pages and background information, see Border Routing in