new ShiroAuth()
- Source:
Methods
authenticate(arg0, arg1)
Parameters:
Name | Type | Description |
---|---|---|
arg0 |
Object | |
arg1 |
function |
- Source:
setRolePrefix(rolePrefix) → {ShiroAuth}
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
Parameters:
Name | Type | Description |
---|---|---|
rolePrefix |
string | a Prefix e.g.: "role:" |
- Source:
Returns:
a reference to this for fluency
- Type
- ShiroAuth