| Modifier and Type | Method and Description |
|---|---|
void |
updatePolicy(java.lang.String sec,
java.lang.String ptype,
java.util.List<java.lang.String> oldRule,
java.util.List<java.lang.String> newPolicy)
UpdatePolicy updates a policy rule from storage.
|
addPolicy, loadPolicy, removeFilteredPolicy, removePolicy, savePolicyvoid updatePolicy(java.lang.String sec,
java.lang.String ptype,
java.util.List<java.lang.String> oldRule,
java.util.List<java.lang.String> newPolicy)
sec - the section, "p" or "g".ptype - the policy type, "p", "p2", .. or "g", "g2", ..oldRule - the old rule.newPolicy - the new policy.Copyright © 2017–2021. All rights reserved.