| Modifier and Type | Interface and Description |
|---|---|
static class |
WatcherEx.UpdateType |
| Modifier and Type | Method and Description |
|---|---|
void |
updateForAddPolicies(java.lang.String sec,
java.lang.String ptype,
java.util.List<java.util.List<java.lang.String>> rules)
updateForAddPolicies calls the update callback of other instances to synchronize their policy.
|
void |
updateForAddPolicy(java.lang.String sec,
java.lang.String ptype,
java.lang.String... params)
updateForAddPolicy calls the update callback of other instances to synchronize their policy.
|
void |
updateForRemoveFilteredPolicy(java.lang.String sec,
java.lang.String ptype,
int fieldIndex,
java.lang.String... fieldValues)
updateForRemoveFilteredPolicy calls the update callback of other instances to synchronize their policy.
|
void |
updateForRemovePolicies(java.lang.String sec,
java.lang.String ptype,
java.util.List<java.util.List<java.lang.String>> rules)
updateForRemovePolicies calls the update callback of other instances to synchronize their policy.
|
void |
updateForRemovePolicy(java.lang.String sec,
java.lang.String ptype,
java.lang.String... params)
updateForRemovePolicy calls the update callback of other instances to synchronize their policy.
|
void |
updateForSavePolicy(Model model)
updateForSavePolicy calls the update callback of other instances to synchronize their policy.
|
setUpdateCallback, setUpdateCallback, updatevoid updateForAddPolicy(java.lang.String sec,
java.lang.String ptype,
java.lang.String... params)
sec - the section, "p" or "g".ptype - the policy type, "p", "p2", .. or "g", "g2", ..params - the policyvoid updateForRemovePolicy(java.lang.String sec,
java.lang.String ptype,
java.lang.String... params)
sec - the section, "p" or "g".ptype - the policy type, "p", "p2", .. or "g", "g2", ..params - the policyvoid updateForRemoveFilteredPolicy(java.lang.String sec,
java.lang.String ptype,
int fieldIndex,
java.lang.String... fieldValues)
sec - the section, "p" or "g".ptype - the policy type, "p", "p2", .. or "g", "g2", ..fieldIndex - the policy rule's start index to be matched.fieldValues - the field values to be matched, value "" means not to match this field.void updateForSavePolicy(Model model)
model - represents the whole access control model.void updateForAddPolicies(java.lang.String sec,
java.lang.String ptype,
java.util.List<java.util.List<java.lang.String>> rules)
sec - the section, "p" or "g".ptype - the policy type, "p", "p2", .. or "g", "g2", ..rules - the policiesvoid updateForRemovePolicies(java.lang.String sec,
java.lang.String ptype,
java.util.List<java.util.List<java.lang.String>> rules)
sec - the section, "p" or "g".ptype - the policy type, "p", "p2", .. or "g", "g2", ..rules - the policiesCopyright © 2017–2023. All rights reserved.