Uses of Interface
org.casbin.jcasbin.persist.Adapter
-
Packages that use Adapter Package Description org.casbin.jcasbin.main org.casbin.jcasbin.persist org.casbin.jcasbin.persist.file_adapter -
-
Uses of Adapter in org.casbin.jcasbin.main
Fields in org.casbin.jcasbin.main declared as Adapter Modifier and Type Field Description (package private) Adapter
CoreEnforcer. adapter
Methods in org.casbin.jcasbin.main that return Adapter Modifier and Type Method Description Adapter
CoreEnforcer. getAdapter()
getAdapter gets the current adapter.Methods in org.casbin.jcasbin.main with parameters of type Adapter Modifier and Type Method Description void
CoreEnforcer. setAdapter(Adapter adapter)
setAdapter sets the current adapter.Constructors in org.casbin.jcasbin.main with parameters of type Adapter Constructor Description CachedEnforcer(java.lang.String modelPath, Adapter adapter)
Initializes an enforcer with a model file and a database adapter.CachedEnforcer(Model m, Adapter adapter)
Initializes an enforcer with a model and a database adapter.DistributedEnforcer(java.lang.String modelPath, Adapter adapter)
DistributedEnforcer initializes an enforcer with a database adapter.DistributedEnforcer(Model m, Adapter adapter)
DistributedEnforcer initializes an enforcer with a model and a database adapter.Enforcer(java.lang.String modelPath, Adapter adapter)
Enforcer initializes an enforcer with a database adapter.Enforcer(Model m, Adapter adapter)
Enforcer initializes an enforcer with a model and a database adapter.Enforcer(Model m, Adapter adapter, boolean enableLog)
Enforcer initializes an enforcer with a model, a database adapter and an enable log flag.SyncedCachedEnforcer(java.lang.String modelPath, Adapter adapter)
Initializes an enforcer with a model file and a database adapter.SyncedCachedEnforcer(Model m, Adapter adapter)
Initializes an enforcer with a model and a database adapter.SyncedEnforcer(java.lang.String modelPath, Adapter adapter)
SyncedEnforcer initializes an enforcer with a database adapter.SyncedEnforcer(Model m, Adapter adapter)
SyncedEnforcer initializes an enforcer with a model and a database adapter. -
Uses of Adapter in org.casbin.jcasbin.persist
Subinterfaces of Adapter in org.casbin.jcasbin.persist Modifier and Type Interface Description interface
BatchAdapter
interface
FilteredAdapter
FilteredAdapter is the interface for Casbin adapters supporting filtered policies.interface
UpdatableAdapter
UpdatableAdapter is the interface for Casbin adapters with add update policy function. -
Uses of Adapter in org.casbin.jcasbin.persist.file_adapter
Classes in org.casbin.jcasbin.persist.file_adapter that implement Adapter Modifier and Type Class Description class
AdapterMock
class
FileAdapter
FileAdapter is the file adapter for Casbin.class
FilteredAdapter
FilteredAdapter is the filtered file adapter for Casbin.Fields in org.casbin.jcasbin.persist.file_adapter declared as Adapter Modifier and Type Field Description private Adapter
FilteredAdapter. adapter
-