PolicyRule.removeAllowedSubject()
Method
Related Forms
PolicyRule.removeAllowedSubjects()
Declaration
PolicyRuleremoveAllowedSubject
(
java.lang.String subject)
throws ConfigurationException
PolicyRuleremoveAllowedSubjects
(
java.lang.String[] subjects)
throws ConfigurationException
Purpose
Update an existing policy rule by removing one or more subjects.
Remarks
This method returns the updated policy rule.
The first form removes only one subject. The second form removes several subjects.
Removing a subject that is not in the rule results in a ConfigurationException.
Without explicit configuration, border routers forward _INBOX.>
(all inbox subjects). Whenever you add an interface, rvrd
automatically configures this default policy for every pairing of that interface with every other existing interface. You may explicitly remove this subject to disable forwarding of inbox messages.
Parameter |
Description |
subject |
Remove a subject from the rule, so the border router no longer forwards that subject. |
subjects |
Remove an array of subjects from the rule, so the border router no longer forwards those subjects. |
See Also
For the corresponding browser pages and background information, see Border Policy and Border Routing in