| Package | Description |
|---|---|
| org.casbin.jcasbin.main | |
| org.casbin.jcasbin.persist | |
| org.casbin.jcasbin.persist.file_adapter |
| Modifier and Type | Method and Description |
|---|---|
Adapter |
CoreEnforcer.getAdapter()
getAdapter gets the current adapter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CoreEnforcer.setAdapter(Adapter adapter)
setAdapter sets the current adapter.
|
| Constructor and Description |
|---|
Enforcer(Model m,
Adapter adapter)
Enforcer 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.
|
SyncedEnforcer(Model m,
Adapter adapter)
SyncedEnforcer 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.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
BatchAdapter |
interface |
FilteredAdapter
FilteredAdapter is the interface for Casbin adapters supporting filtered policies.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileAdapter
FileAdapter is the file adapter for Casbin.
|
class |
FilteredAdapter
FilteredAdapter is the filtered file adapter for Casbin.
|
Copyright © 2017-2020. All Rights Reserved.