public interface FilteredAdapter extends Adapter
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFiltered()
IsFiltered returns true if the loaded policy has been filtered.
|
void |
loadFilteredPolicy(Model model,
java.lang.Object filter)
loadFilteredPolicy loads only policy rules that match the filter.
|
addPolicy, loadPolicy, removeFilteredPolicy, removePolicy, savePolicyvoid loadFilteredPolicy(Model model, java.lang.Object filter) throws CasbinAdapterException
model - the model.filter - the filter used to specify which type of policy should be loaded.CasbinAdapterException - if the file path or the type of the filter is incorrect.boolean isFiltered()
Copyright © 2017–2023. All rights reserved.