loadFilteredPolicy abstract method

void loadFilteredPolicy(
  1. Model model,
  2. Object filter
)

loadFilteredPolicy loads only policy rules that match the filter. model the model. filter the filter used to specify which type of policy should be loaded. throws CasbinAdapterException if the file path or the type of the filter is incorrect.

Implementation

void loadFilteredPolicy(Model model, Object filter);