| Package | Description |
|---|---|
| org.casbin.jcasbin.main | |
| 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)
CoreEnforcer initializes an enforcer with a model and a database adapter.
|
Enforcer(java.lang.String modelPath,
Adapter adapter)
CoreEnforcer initializes an enforcer with a database adapter.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileAdapter
FileAdapter is the file adapter for Casbin.
|
Copyright © 2018. All Rights Reserved.